Problems with plugins for V2.5

Matthew Joyce MJoyce at ccia.unsw.edu.au
Tue Oct 24 04:20:24 CEST 2006


Hi,

I have v1.3 and am trying v2.5.

The problem which is causing me most frustration is the previously very
useful check_snmp_win.pl from
http://www.manubulon.com/nagios/snmp_windows.html

I have the command setup :

define command{
command_name    check_win_services_by_snmp
command_line    $USER1$/check_snmp_win.pl -H $HOSTADDRESS$ -C $USER5$ -n
'$ARG1$' -N $ARG2$
}

And the service


define service{
        use                             windows-service-template
        name                            win-services-SNMP
        host_name                       MYSERVER
        service_description             MS SNMP Service
        check_command
check_win_services_by_snmp!SNMP!1
        }


Resource.cfg has the correct values for $USER1$ and $USER5$ (I've
replaced them withtheir values as a test, too).

I've checked the command work manually from the Nagios machine :

./check_snmp_win.pl -H xx.xx.xx.xx -C xxxxxxxxxx -n SNMP -N 1
1 services active (matching "SNMP") : OK

>From Nagios, the result is :
[24-10-2006 11:13:05] SERVICE ALERT: xxxxxxxxxx;MS SNMP
Service;CRITICAL;SOFT;2;(No output!)


Permissions are the same as check_http which works fine.


Any ideas, what have I missed ?

Thanks




Matthew Joyce
02 9382 0051 | IT Manager | Children's Cancer Institute Australia for
Medical Research


-------------------------------------------------------------------------
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
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list