Multiple SNMP Communities with NAGIOS
Multiple SNMP Communities with NAGIOS
Hi everyone, hope you can help me, i need monitoring deices (routers, switch, hosts) with different SNMP communities, if that possible on nagios core?.
Re: Multiple SNMP Communities with NAGIOS
Certainly. Most SNMP plugins use the -C switch to define the community string. You will just need to define that (or whatever switch the plugin may use) per-service when setting up your checks.
Former Nagios employee
Re: Multiple SNMP Communities with NAGIOS
Thanks for your help, i understand that, i use check_snmp and i use "-C public" and works fine but some of my hosts use public, others public2, and some switch and routers use public3. In my check_snmp expression i use "check_snmp!-C public, public2, public3 -o snmpEngineTime.0" and that not work for my.
Re: Multiple SNMP Communities with NAGIOS
Here's the usage for check_snmp:
https://nagios-plugins.org/doc/man/check_snmp.html
The plugin is not able to accept multiple SNMP community strings as an argument. You will need to know what the SNMP community string is for a given device and account for that in your command and service definitions.
https://nagios-plugins.org/doc/man/check_snmp.html
The plugin is not able to accept multiple SNMP community strings as an argument. You will need to know what the SNMP community string is for a given device and account for that in your command and service definitions.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Multiple SNMP Communities with NAGIOS
Thanks a lot man, now i am in troubles jejejejejeje.mcapra wrote:Here's the usage for check_snmp:
https://nagios-plugins.org/doc/man/check_snmp.html
The plugin is not able to accept multiple SNMP community strings as an argument. You will need to know what the SNMP community string is for a given device and account for that in your command and service definitions.
Re: Multiple SNMP Communities with NAGIOS
Did you need any further help or are we okay to lock the thread?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Multiple SNMP Communities with NAGIOS
I am fine, thanks for your help....