[Nagiosplug-checkins] nagiosplug/plugins check_snmp.c,1.68,1.69
Thomas Guyot
dermoth at users.sourceforge.net
Fri Feb 2 10:10:25 CET 2007
- Previous message: [Nagiosplug-checkins] nagiosplug/plugins/t check_jabber.t,1.2,1.3
- Next message: [Nagiosplug-checkins] nagiosplug BUGS, 1.4, 1.5 NEWS, 1.6, 1.7 configure.in, 1.205, 1.206 package.def, 1.10, 1.11 ChangeLog, 1.14, 1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv4386/plugins
Modified Files:
check_snmp.c
Log Message:
Fix parsing of multiple OIDs sets needmibs = TRUE
Index: check_snmp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_snmp.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- check_snmp.c 28 Jan 2007 21:46:40 -0000 1.68
+++ check_snmp.c 2 Feb 2007 09:10:22 -0000 1.69
@@ -527,11 +527,11 @@
retries = atoi(optarg);
break;
case 'o': /* object identifier */
- if ( strspn( optarg, "0123456789." ) != strlen( optarg ) ) {
+ if ( strspn( optarg, "0123456789.," ) != strlen( optarg ) ) {
/*
- * we have something other than digits and periods, so we
- * have a mib variable, rather than just an SNMP OID, so
- * we have to actually read the mib files
+ * we have something other than digits, periods and comas,
+ * so we have a mib variable, rather than just an SNMP OID,
+ * so we have to actually read the mib files
*/
needmibs = TRUE;
}
- Previous message: [Nagiosplug-checkins] nagiosplug/plugins/t check_jabber.t,1.2,1.3
- Next message: [Nagiosplug-checkins] nagiosplug BUGS, 1.4, 1.5 NEWS, 1.6, 1.7 configure.in, 1.205, 1.206 package.def, 1.10, 1.11 ChangeLog, 1.14, 1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commits
mailing list