Hi ,rkennedy wrote:The above is an example.Code: Select all
[root@suse11 libexec]# /usr/local/nagios/libexec/check_http -H nagios.com HTTP OK: HTTP/1.1 301 Moved Permanently - 530 bytes in 0.091 second response time |time=0.090966s;;;0.000000 size=530B;;;0
i am getting Error CRITICAL - Plugin timed out after 10 seconds. check_ping plugin already their in nagios server.
below are the .cfg file i have create in nagios.
define host{
use web-url ; Inherit default values from a template
host_name FORD VDI ; The name we're giving to this host
alias FORD VDI ; A longer name associated with the host
address web.vdi.ford.com ; IP address of the host
}
define service{
use generic-service ; Inherit default values from a template
host_name FORD VDI
service_description Check Ping
check_command check_ping!280.0,20%!500.0,60%
}
