[Nagiosplug-devel] [ nagiosplug-Bugs-3552837 ] check_snmp does not read snmp.conf files
SourceForge.net
noreply at sourceforge.net
Wed Aug 1 01:06:30 CEST 2012
Bugs item #3552837, was opened at 2012-07-31 16:06
Message generated for change (Tracker Item Submitted) made by calestyo
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3552837&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Cálestyo (calestyo)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_snmp does not read snmp.conf files
Initial Comment:
Hi.
This is from the old / soon to be disabled again Nagios Plugins bug tracker that used to be at Nagios itself.
I've just copied this bug over. I'm not the original reporter and have no idea about the thoughts about this bug.
This used to be: http://tracker.nagios.org/view.php?id=220
--------------------------------------------------------------------------------
durist:
--------------------------------------------------------------------------------
check_snmp does not read snmp.conf files (as the standard UCD-SNMP utilities do), which makes it impossible to use SNMP version 3 without passing the password on the commandline and thus exposing the password in the process table.
This is in check_snmp v1.4.14 (nagios-plugins 1.4.14).
--------------------------------------------------------------------------------
wyztix:
--------------------------------------------------------------------------------
I had to implement this feature off nagios-plugins-1.4.15 since we needed that for our monitoring server.
I am unaware of the normal way to provide patches so I attached it to the ticket itself. I left the error validation to the External command. If an invalid etry is provided, we will receive an exit code of 3 and the error message will appear as "External command error: <error>";
This worked on RHEL5 with NET-SNMP 5.3.2.2-9.
--------------------------------------------------------------------------------
wyztix:
--------------------------------------------------------------------------------
Look like I uploaded the wrong file. The first one (nagios-plugins-1.4.15-snmp_conf.patch) should work for SNMP3. At least, it works on our servers. Yet, I forgot the community string on that first one since we don't use SNMP v2 that much anymore: only for windows. This was solved on the second version: nagios-plugins-1.4.15-snmp_conf_final.patch
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3552837&group_id=29880
More information about the Devel
mailing list