[Nagios-users] Hosts randomly disappearing

2008-12-08 Thread Thomas Donnelly
Hello All,

I have about 115 hosts in my nagios pool and I recently added a group of 
7 UPSs. I made my own check using the check_snmp to check the load 
percentage. Funny thing is, some times they show up in the host detail 
and some times they do not. Refreshing a few times will get them to 
show, then another refresh usually causes them to disappear. Opening one 
of the hosts usually results in the message: Error: Host Status 
Information Not Found! a few refreshes gets the host state to become 
viewable. I find this behavior only with the 7 hosts i just added. The 
config file is:

#cat ups.cfg

#UPS1
define host{
host_name   ups-r1.hou.example.com
alias   UPS Rack 1
address 192.168.96.8
check_command   check-host-alive
max_check_attempts  10
process_perf_data   1
retain_status_information   1
retain_nonstatus_information0
contact_groups  web-admins
notification_optionsd,r
notification_interval   30
notification_period 24x7
parents co1.hou.example.com
}
define hostextinfo{
host_name   ups-r1.hou.example.com
icon_image  www.jpg
statusmap_image www.gd2
}


define service{
host_name   ups-r1.hou.example.com
service_description check_ping
check_command   check_ping!140,25%!180,50%
max_check_attempts  10
normal_check_interval   5
retry_check_interval3
check_period24x7
notification_interval   30
notification_period 24x7
notification_optionsw,c,r
contact_groups  web-admins
}

define service{
host_name   ups-r1.hou.example.com
service_description check_ups_load
check_command   check_ups_load!84!89
max_check_attempts  10
normal_check_interval   5
retry_check_interval3
check_period24x7
notification_interval   30
notification_period 24x7
notification_optionsw,c,r
contact_groups  web-admins
}

#UPS2
define host{
host_name   ups-r2.hou.example.com
alias   UPS Rack 2
address 192.168.96.9
check_command   check-host-alive
max_check_attempts  10
process_perf_data   1
retain_status_information   1
retain_nonstatus_information0
contact_groups  web-admins
notification_optionsd,r
notification_interval   30
notification_period 24x7
parents co1.hou.example.com
}
define hostextinfo{
host_name   ups-r2.hou.example.com
icon_image  www.jpg
statusmap_image www.gd2
}


define service{
host_name   ups-r2.hou.example.com
service_description check_ping
check_command   check_ping!140,25%!180,50%
max_check_attempts  10
normal_check_interval   5
retry_check_interval3
check_period24x7
notification_interval   30
notification_period 24x7
notification_optionsw,c,r
contact_groups  web-admins
}

define service{
host_name   ups-r2.hou.example.com
service_description check_ups_load
check_command   check_ups_load!84!89
max_check_attempts  10
normal_check_interval   5
retry_check_interval3
check_period24x7
notification_interval   30
notification_period 24x7
notification_optionsw,c,r
contact_groups  web-admins
}

#UPS3
define host{
host_name   ups-r3.hou.example.com
alias   UPS Rack 3
address 192.168.96.10
check_command   check-host-alive
max_check_attempts  10
process_perf_data   1
retain_status_information   1
retain_nonstatus_information0
contact_groups  web-admins

Re: [Nagios-users] Hosts randomly disappearing

2008-12-08 Thread Marc Powell

On Dec 8, 2008, at 2:39 PM, Thomas Donnelly wrote:

 Hello All,

 I have about 115 hosts in my nagios pool and I recently added a  
 group of
 7 UPSs. I made my own check using the check_snmp to check the load
 percentage. Funny thing is, some times they show up in the host detail
 and some times they do not. Refreshing a few times will get them to
 show, then another refresh usually causes them to disappear.

http://www.nagios.org/faqs/viewfaq.php?faq_id=21

--
Marc

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null