Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Just started monitoring my external websites using Nagios3.
I am currently monitoring appx 15 websites, many hosted on the same hosting platform. I am using host available and check_http to check availability of the sites.
5 of the 15 sites show:
What are you setting for the hostname/address portion of your configs?
Are you successfully pinging the hosts from the nagios server?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Can we see the service/command definition for host available and the "website" template?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
# check that web services are running
define service {
hostgroup_name websites
service_description Check Web
check_command check_http
use generic-service
notification_interval 0 ; set > 0 if you want to be renotified
}
Looks like that is the service definition. Could you by chance post the "website" template as well?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
# Generic host definition template - This is NOT a real host, just a template!
define host{
name website ; The name of this host template
parents Ono_Router
notifications_enabled 1 ; Host notifications are enabled
event_handler_enabled 1 ; Host event handler is enabled
flap_detection_enabled 1 ; Flap detection is enabled
failure_prediction_enabled 1 ; Failure prediction is enabled
process_perf_data 1 ; Process performance data
retain_status_information 1 ; Retain status information across program restarts
retain_nonstatus_information 1 ; Retain non-status information across program restarts
check_command check-host-alive
max_check_attempts 10
notification_interval 0
notification_period 24x7
notification_options d,u,r
contact_groups admins
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
}
cd /usr/local/nagios/libexec
./check_ping -H www.machielsen.net -w 200,50% -c 500,100%
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.