<div>Hi.</div><div><br></div><div>This is a default check nagios has in it's config file for checking link status on a switch.</div><div><br></div><div><div>define service{</div><div>        use                           generic-service</div>
<div>        host_name                DC-6509</div><div>        service_description     Port 1 Link Status</div><div>        check_command        check_snmp!-C onsite -o ifOperStatus.1 -r 1 -m RFC1213-MIB</div><div>        }</div>
</div><div><br></div><div><br></div><div>It works fine</div><div><br></div><div><br></div>Where it says hostname, I would generally have to do this<div><br></div><div><br><div> host_name               DC-6509, Switch-1, Switch-2, Switch-3, Switch-4, switch-5</div>
<div><br></div><div>Now, as you can imagine, if I have multiple services I want to monitor, I would rather have a group with all these hosts, Then I could do something like...</div><div><br></div><div>hostgroups               switches</div>
<div><br></div><div>Then I wouldn't have so much work to do.</div><div><br></div><div>Is this passable? </div><div><br></div><div><br></div><div><br clear="all"><br>-- <br>Jeremy L. Gibbs<br>Systems Administrator<br>Utica College<br>
Integrated Information Technology Services<br>(315) 223-2383<br><br>
</div></div>