ramagla
(usa Ubuntu)
Enviado em 09/08/2013 - 17:51h
Desculpe sou iniciante no nagios e tenho muitas duvidas abaixo segue o scrip que utilizo hoje no nagios.
no caso eu teria que acrescentar o -p 12489 em todas as linhas ?
define host{
use windows-server
host_name empresa.dnsalias.com
alias SRV-1
address empresa.dnsalias.com
}
define service{
use generic-service
host_name empresa.dnsalias.com
service_description NSClient++ Version
check_command check_nt!CLIENTVERSION
}
define service{
use generic-service
host_name alborgheti.dnsalias.com
service_description Uptime
check_command check_nt!UPTIME
}
define service{
use generic-service
host_name alborgheti.dnsalias.com
service_description CPU Load
check_command check_nt!CPULOAD!-l 5,80,90
}
define service{
use generic-service
host_name empresa.dnsalias.com
service_description Memory Usage
check_command check_nt!MEMUSE!-w 80 -c 90
}
define service{
use generic-service
host_name empresa.dnsalias.com
service_description C:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90
}
define service{
use generic-service
host_name empresa.dnsalias.com
service_description E:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90
}
define service{
use generic-service
host_name empresa.dnsalias.com
service_description Explorer
check_command check_nt!PROCSTATE!-d SHOWALL -l Explorer.exe
}