<div id="RTEContent">As of 2.0b6 I started seeing lots of duplicate definition warnings such as:<br><br> Warning: Duplicate definition found for service 'loadave' (config file '/opt/hptc/nagios/etc/nj12n16.cfg', starting on line 632)<br>Warning: Duplicate definition found for service 'loadave' (config file '/opt/hptc/nagios/etc/nj12n16.cfg', starting on line 1031)<br>Warning: Duplicate definition found for service 'loadave' (config file '/opt/hptc/nagios/etc/nj12n16.cfg', starting on line 1430)<br>Warning: Duplicate definition found for service 'loadave' (config file '/opt/hptc/nagios/etc/nj12n16.cfg', starting on line 1829)<br>Warning: Duplicate definition found for service 'loadave' (config file '/opt/hptc/nagios/etc/nj12n16.cfg', starting on line 2574)<br><br>These files are autogenerated by a script. There are indeed service definitions<br>at these locations that are nearly identical except for the node name. <br>(I know I should use hostgroups but I haven't
gotten there yet). <br><br># Service definition<br>define service{<br> use nrpe ; Name of service template to
use<br> <br> host_name nj12n11<br>
name loadave<br> service_description Load Average<br> is_volatile 0<br> check_period 24x7<br> max_check_attempts 3<br> normal_check_interval
60<br> contact_groups admins<br> active_checks_enabled 0<br> passive_checks_enabled 1<br># check_load_average is not called here since we are passive<br># Called from check_metrics<br> check_command check_dummy!1!"load average data is stale"<br> register 1<br> }<br><br>#
Service definition<br>define service{<br> use nrpe ; Name of service template to
use<br> <br> host_name nj12n12<br>
name loadave<br> service_description Load Average<br> is_volatile 0<br> check_period 24x7<br> max_check_attempts 3<br> normal_check_interval
60<br> contact_groups admins<br> active_checks_enabled 0<br> passive_checks_enabled 1<br># check_load_average is not called here since we are passive<br># Called from check_metrics<br> check_command check_dummy!1!"load average data is stale"<br> register 1<br> }<br><br><br>Is
this really a problem or is it harmless? <br><br>Thanx<br>-FredC<br><br></div><BR><BR><P><IMG style="WIDTH: 59px; HEIGHT: 58px" height=45 src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys/4.gif" width=56><IMG height=40 src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys/3.gif" width=47><IMG style="WIDTH: 51px; HEIGHT: 42px" height=60 src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys/j.gif" width=67><IMG style="WIDTH: 51px; HEIGHT: 40px" height=56 src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys/8.gif" width=68></P>