The Nagios view displays a dialog containing a Nagios configuration script.

Example:

############# Commands #############

define command {
command_name check_fileserver_proc
command_line $USER1$/check_tcp -p 5660
}

define command {
command_name check_cldb_proc
command_line $USER1$/check_tcp -p 7222
}

define command {
command_name check_jobtracker_proc
command_line $USER1$/check_tcp -p 50030
}

define command {
command_name check_tasktracker_proc
command_line $USER1$/check_tcp -p 50060
}

define command {
command_name check_nfs_proc
command_line $USER1$/check_tcp -p 2049
}

define command {
command_name check_hbmaster_proc
command_line $USER1$/check_tcp -p 60000
}

define command {
command_name check_hbregionserver_proc
command_line $USER1$/check_tcp -p 60020
}

define command {
command_name check_webserver_proc
command_line $USER1$/check_tcp -p 8443
}

################# HOST: perfnode51.perf.lab ###############

define host {
use linux-server
host_name perfnode51.perf.lab
address 10.10.30.51
check_command check-host-alive
}

################# HOST: perfnode52.perf.lab ###############

define host {
use linux-server
host_name perfnode52.perf.lab
address 10.10.30.52
check_command check-host-alive
}

################# HOST: perfnode53.perf.lab ###############

define host {
use linux-server
host_name perfnode53.perf.lab
address 10.10.30.53
check_command check-host-alive
}

################# HOST: perfnode54.perf.lab ###############

define host {
use linux-server
host_name perfnode54.perf.lab
address 10.10.30.54
check_command check-host-alive
}

################# HOST: perfnode55.perf.lab ###############

define host {
use linux-server
host_name perfnode55.perf.lab
address 10.10.30.55
check_command check-host-alive
}

################# HOST: perfnode56.perf.lab ###############

define host {
use linux-server
host_name perfnode56.perf.lab
address 10.10.30.56
check_command check-host-alive
}

Attachments:

Nagios.png (image/png)