On Jun 2, 2008, at 3:23 AM, Tim Van Caeyzeele wrote: > > When I did a test (as instructed by the manual) I get the underneath > error: > > [EMAIL PROTECTED]:/usr/local/nan# echo "TESTVARIABLE:successful" | /usr/ > local/nan/nanc -t TEST -m test -d test > [EMAIL PROTECTED]:/usr/local/nan# Use of uninitialized value in pattern > match (m//) at /usr/local/nan/nand line 593. > Use of uninitialized value in pattern match (m//) at /usr/local/nan/ > nand line 593. > Use of uninitialized value in pattern match (m//) at /usr/local/nan/ > nand line 606. > Use of uninitialized value in pattern match (m//) at /usr/local/nan/ > nand line 606. > Use of uninitialized value in concatenation (.) or string at /usr/ > local/nan/nand line 422. > Use of uninitialized value in concatenation (.) or string at /usr/ > local/nan/nand line 422. > > Unfortunately I cannot contact the script creator. Would anyone have > an idea what to do or how to troubleshoot ? >
I don't use NAN but looking at the nand script, those might be normal for a test command. Does /tmp/nan_test exist and contain the text 'NAN Test command - successful'? From the INSTALL file, step 10 looks extremely useful if not. What's shown there? If it does exist, you'll need to manually delete it before testing again. 9. Try sending a test notification. Should write "NAN Test command - successful" in /tmp/nan_test echo "TESTVARIABLE:successful" | /usr/local/nan/nanc -t TEST -m test -d test 10. if the test file doesn't show up, check the log file (/var/log/ nand.log by default). You may need to increase the log level in the conf file to see the error. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users@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