Wednesday, 3 August 2011

Nagios 3.3.1 look and feel comparisson to Nagios 3.2.1


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





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%
        }