Wednesday, 3 August 2011
Nagios 3.3.1 - revert to classic theme
Nagios classic theme still the BEST
dante@AISCT-NAGIOS:~/downloads/nagios$ sudo make install-classicui
[sudo] password for dante:
cp -rf html/stylesheets/* /usr/local/nagios/share/stylesheets
cp -rf html/images/* /usr/local/nagios/share/images
*** Classic theme installed ***
NOTE: Use 'make install-exfoliation' to use new Nagios theme
dante@AISCT-NAGIOS:~/downloads/nagios$
Verify configuration & restart/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
sudo service nagios restart
dante@AISCT-NAGIOS:~/downloads/nagios$ sudo make install-classicui
[sudo] password for dante:
cp -rf html/stylesheets/* /usr/local/nagios/share/stylesheets
cp -rf html/images/* /usr/local/nagios/share/images
*** Classic theme installed ***
NOTE: Use 'make install-exfoliation' to use new Nagios theme
dante@AISCT-NAGIOS:~/downloads/nagios$
Verify configuration & restart/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
sudo service nagios restart
Tuesday, 2 August 2011
Nagios, Check_all_disks (on windows servers)
/usr/local/nagios/libexec/check_disk
In commands.cfg
# 'check_all_disks' command definition
define command{
command_name check_all_disks
command_line /usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$
}
windows.cfg
define service{
use generic-service
host_name American-Server
service_description Check All Disks
check_command check_all_disks!20%!10%
}
In commands.cfg
# 'check_all_disks' command definition
define command{
command_name check_all_disks
command_line /usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$
}
windows.cfg
define service{
use generic-service
host_name American-Server
service_description Check All Disks
check_command check_all_disks!20%!10%
}
Monday, 25 July 2011
New Nagios Installation - Steps
PLANNING
Plan your Nagios setup
1. What do you need to monitor?
2. What do you want to monitor?
3. Make a quick sketch to layout your monitoring-scheme (trust me it helps with the initial nagios setup) a Logical Network layout helps define the Nagios groups)
INSTALLATION
Install Ubuntu
Install Nagios following the link (below)
http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html
CONFIGURE
Plan your Nagios setup
1. What do you need to monitor?
2. What do you want to monitor?
3. Make a quick sketch to layout your monitoring-scheme (trust me it helps with the initial nagios setup) a Logical Network layout helps define the Nagios groups)
INSTALLATION
Install Ubuntu
Install Nagios following the link (below)
http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html
CONFIGURE
Thursday, 14 July 2011
Subscribe to:
Posts (Atom)