In my Nagios command definitions I always escape quote anything like this. IE,
check_snmp <options> \'OID"b"\' -Gius > -----Original Message----- > From: Joseph L. Casale [mailto:[email protected]] > Sent: Tuesday, March 23, 2010 3:36 PM > To: '[email protected]' > Subject: [Nagios-users] check_snmp and quoted oid's > > Seems this is an old issue fixed in some distros and shod full of > creative quoting suggestions but I can't get it to work. > > Anyone know how to pass an oid such as: > REDHAT-CLUSTER-MIB::rhcServiceRunningOnNode."service" > to the check_snmp plugin? > > Thanks! > jlc > > ----------------------------------------------------------------------- > ------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
