Sorry to be such a newb with a question like this but I hate when things do not work like I know they should.
I have nagios running and most of the bugs worked out the problems I am running into at this point are, I am sure, pretty simple to you guys/ladies but making me insane.
-
as another post commented if I click on 3-D status map i get a cgi statuswrl.cgi uploaded into me. I am certain that this should be parsed and viewed on the web page but I can not seem to make it do it.
-
Also no matter what I do all my hosts say pending and for some of them it has been almost a month. When I go to host detail only a couple of the hosts actually go green. Is there something I am supposed to do to make them actually activate?
Here is an ecample of the .cfg
define host{
use generic-host ; Inherit default values from a template
host_name apps ; The name we’re giving to this host
alias apps ; A longer name associated with the host
address Ip address of server here here ; IP address of the host
max_check_attempts 3
retry_interval 1
}
define service{
use generic-service ; Inherit default values from a template
host_name beacon-apps ;
service_description Web Svc 200 Beacon Apps ;
check_command check_http!-u someserver.com/index.html ;
}
define service{
use generic-service
host_name beacon-apps
service_description PING
check_command check_ping!3000.0,80%!5000.0,100%
normal_check_interval 10
retry_check_interval 1
}
On several others I created the host file by hand like this.
*define host
host_name srv01
alias Network Operations Center
address 127.0.0.1
max_check_attempts 3;
check_period 24x7;
contact_groups admins;
notification_interval 120;
notification_period 24x7;
notification_options d,u,r,f;
} *
All that being said is there something in the host definition or the services I need to enter to have it actually update the host to green?