Firewall monitoring wizard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kgopiramesh

Firewall monitoring wizard

Post by kgopiramesh »

Hi Experts,

I have run the snmp walk monitoring wizard to configure the firewalls using SNMP v3, we are able to list down all the port and gave the warning and critical but with the service check we have received the below output.

Usage:check_snmp -H <ip_address> -o <OID> [-w warn_range] [-c crit_range]
[-C community] [-s string] [-r regex] [-R regexi] [-t timeout] [-e retries]
[-l label] [-u units] [-p port-number] [-d delimiter] [-D output-delimiter]
[-m miblist] [-P snmp version] [-L seclevel] [-U secname] [-a authproto]
[-A authpasswd] [-X privpasswd]

[/usr/local/nagios/libexec/check_snmp: invalid option -- 'x']
technick
Posts: 49
Joined: Tue Feb 04, 2014 10:30 am
Location: Denver, CO

Re: Firewall monitoring wizard

Post by technick »

Check your commands (CCM > Commands > Commands) in CCM, check_snmp could be malformed there.
----------------------
Nagios Jedi in training.
kgopiramesh

Re: Firewall monitoring wizard

Post by kgopiramesh »

Hi,

Thank you for your reply. I am using default SNMPwalk wizard, this is not a custom plugin,

How to make this plugin work for SNMP v3
Stuart Watts
Posts: 40
Joined: Wed Sep 25, 2013 7:01 am

Re: Firewall monitoring wizard

Post by Stuart Watts »

The wizard will eventually end up creating you a service that uses the command "check_snmp", which utilises the plugin "check_snmp".

The error you are seeing is from the plugin (/usr/local/nagios/libexec/ - it doesn't understand an option "x" that it has been passed. If you check the command definition as suggested, you may find the options aren't configured correctly. You should also check the service definition as this can pass additional options to the plugin through the $ARG1$ macro.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Firewall monitoring wizard

Post by slansing »

Locking this as it has not been responded to in <5 days, please PM a moderator to get it unlocked if you return.
Locked