Just a little side note: I don't think you need to maintain the hostgroup<-> host relationship in both the hostgroup and host definitions. Keep the definition in one of the two to get a cleaner code. Someone please correct me if I'm wrong. :)<br>
<br>
<div><span class="gmail_quote">On 12/22/08, <b class="gmail_sendername">Rahul Nabar</b> <<a href="mailto:rpnabar@gmail.com">rpnabar@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I just installed Nagios and I can monitor my localhost all right. I<br>tried to start with one of my remote compute-nodes but this does not<br>
seem to work so well.<br><br>I see my new group "compute-nodes" on the web interface but it does<br>not list the remote machine I tried adding. I'm stumped as to what I<br>am doing wrong!<br><br>To my "nagios.cfg" I added this line :cfg_file=/usr/local/nagios/etc/hosts.cfg<br>
<br>And made a new "/usr/local/nagios/etc/hosts.cfg" like so:<br><br>define hostgroup{<br> hostgroup_name compute-nodes<br> alias compute-nodes<br> members star01<br>
}<br><br>define host{<br> host_name star01<br> alias star01<br> address 11.0.0.1<br> hostgroups &n
bsp; compute-nodes<br>
check_command check-host-alive<br> max_check_attempts 5<br> check_period 24x7<br> process_perf_data 0<br> retain_nonstatus_information 0<br>
contact_groups admins<br> notification_interval 30<br> notification_period 24x7<br> notification_options d,u,r<br> }<br><br><br>Shouldn't this be a basic template to get me started up? What else do<br>
I need to do? Any debug suggestions? A ping to 11.0.0.1 is successful.<br><br>--<br>Rahul<br><br>------------------------------------------------------------------------------<br>_______________________________________________<br>
Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>