Re: 2 questions
Posted: Wed Apr 25, 2012 4:11 am
Bumping this one since the websites part of my question isn't resolved yet. Anyone have an idea what to try?
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
define host {
host_name www.website.nu
use xiwizard_website_host
address www.website.nu
_xiwizard website
register 1
}
define service {
service_description avail-content
use xiwizard_website_http_content_service
hostgroup_name web_sites
check_command check_xi_service_http!-s "html" -f ok!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
notification_interval 60
contacts nagiosadmin
register 1
}
define service {
host_name null
service_description avail-ping
use generic-service
hostgroup_name web_sites
check_command check_xi_service_ping!3000.0!80%!5000.0!100%!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
notification_interval 60
contacts nagiosadmin
register 1
}
define service {
host_name null
service_description avail-ping
use generic-service
hostgroup_name web_sites_dummy
check_command check_dummy!0!Dummy PING OK!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
notification_interval 60
contacts nagiosadmin
register 1
}
define service {
service_description perf-response
use xiwizard_website_http_service
hostgroup_name web_sites
check_command check_xi_service_http!-f ok!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
notification_interval 60
contacts nagiosadmin
_xiwizard website
register 1
}
Code: Select all
check_command check_xi_service_http!-s "html" -f ok -S!!!!!!!Code: Select all
check_command check_xi_service_http!-f ok -S!!!!!!!Code: Select all
HTTP CRITICAL - Unable to open TCP socket.Code: Select all
nc -z <host address> 1-10000