Thanks Max, that helped. I needed the quotes because I was looking for a specific match with escaped characters. I've removed them from around the token and instead supply them as the value.
I also found an incorrect path specified in the check_snmp_win.pl file, I'd copied it from another install. Fixed , thanks. Matthew Joyce 02 9382 0051 | 0412 309745 | IT Manager | Children's Cancer Institute Australia for Medical Research > -----Original Message----- > From: Max H. [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 25 October 2006 11:05 AM > To: Matthew Joyce > Cc: Nagios Users mailinglist > Subject: Re: [Nagios-users] Problems with plugins for V2.5 > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Matthew Joyce wrote: > > Does anyone else use the check_snmp_win.pl plugin succesfully with > > v2.5 ? > I'm guessing it's not liking one of your arguments > > I'm using version 0.5, I'm not sure if that's the newest or not. > > I think maybe the single quotes you have around your > command_line statement are messing you up. > > Make your command_line look like this by deleting the single > qoutes around $ARG1$. > > define command{ > command_name check_win_services_by_snmp > command_line $USER1$/check_snmp_win.pl -H $HOSTADDRESS$ -C > $USER5$ -n > $ARG1$ -N $ARG2$ > } > > Max > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org > > iD8DBQFFPrgiHoeeepPau2ERAsYCAJ9IxeCaBnEIS7jUoiSc6H5ZNXDgUgCfeq+i > KqJg0om1cNs1YzbSORtg5Jg= > =EVUa > -----END PGP SIGNATURE----- > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ 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
