Checking URL on windows-client using NSClient++
Morris, Patrick
patrick.morris at hp.com
Fri Jul 10 00:58:29 CEST 2009
Hi jvc_dvl557!
On Wed, 01 Jul 2009, jvc_dvl557 at hotmail.com wrote:
> Hi Greg,
>
> Thank you very much for the detailed explenation.
>
> I discovered that I even didn't had NRPE installed, now I do.
>
> I got everything running, except for the exit/output code. Nagios runs the script on the client host perfectly but it gives me an error saying: No output available from command (c:\windows\system32\cscript.exe //nologo "c:\nsclient\scripts\check_website.vbs"
>
> This is the vbs script I used and edited a bit with some help of google (i'm not a vbs expert): http://pastebin.com/f6e35c30b
>
> When I run this vbs script via a batch file to debug it's output :
> -------------------TEST.BAT-----------------
> wscript check_website.vbs
> echo wscript returned %errorlevel%
> ------------------------------------------------
> I get the result of 0 or 1 just like it should be.
>
> Do you, or anyone else, have any suggestions on how to finetune this so that i can solve this issue?
Can you modify check_website.vbs so it *does* return a line of output?
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
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