Hey people,<br><br><br>I created an group called Routers and I inserted my routers on.<br>I don't want to check uptime of five routers, so, I created the exclusion as: host_name !R1,!R2,!R3,!R4,!R5.<br><br>The problem is: <b>nagios only work up to four host</b>, because when I add more one host, I received the error below:<br>
<br>Error: Could not expand hostgroups and/or hosts specified in service (config file '/etc/nagios/objects/router.cfg', starting on line 13)<br> Error processing object config files!<b><br><br></b>if I remove just one host, it worked. I didn't find anything on manual about limitations.<b><br>
</b><br><br>define service{<br> use generic-service<br> <b> hostgroup_name Routers</b><br> service_description Uptime<br> max_check_attempts 5<br>
normal_check_interval 10<br> retry_check_interval 3<br> contact_groups G-Prod<br> check_command check_snmp!-C Mycommunity -o sysUpTime.0<br>
notifications_enabled 0<br><b> host_name !R1,!R2,!R3,!R4,!R5</b><br> }<br><br><br>Can someone help me please ?<br><br>many thanks!<br>