Page 1 of 1

setting default read only community for all hosts

Posted: Wed Nov 19, 2014 1:09 pm
by tbyrne
Is there a way to set in the service template a default read only community string that can be used in the snmp checks? I see I can add it to the host templates but for a large site setting it for all hosts would be time consuming.

Re: setting default read only community for all hosts

Posted: Wed Nov 19, 2014 2:01 pm
by slansing
Sure, you can create a service template the exact same way you would with a host, just think of it as creating one service, with a few options that will be inherited on your services you assign it to:

http://nagios.sourceforge.net/docs/3_0/ ... tance.html

Re: setting default read only community for all hosts

Posted: Thu Nov 20, 2014 10:34 am
by tbyrne
slansing,

Thanks for the reply.