<div>Hi, </div>
<div> </div>
<div>From the info you provided (particularly the solution) </div>
<div>it sounds like a problem with the windows "RIGHTS" required by the VB script being run rather than a bug with NRPE <br></div>
<div>A few months ago I had a Windows Security Update that forced me to change a service from LocalSystem to NEtwork Service to get it running (maybe due to a similar Windows Subsystem issue)</div>
<div> </div>
<div>TOny (Author of NC_Net - Windows Monitorin Client)<br></div>
<div class="gmail_quote">On Wed, Nov 26, 2008 at 8:20 AM, Felipe Ferreira <span dir="ltr"><<a href="mailto:fferreira@osiatis.es">fferreira@osiatis.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div text="#000000" bgcolor="#ffffff">Hello all Nagios people,<br><br>I believe to have found a problem/bug running the Nagios Plugins Service under Windows 2003.<br>Its a strange problem, but I found the solution, by just change the NRPE_NT Service Account to something else then LocalSystem<br>
with ADministrator permissions.<br>Here is what happens<br>root@S:/usr/local/nagios/libexec# ./check_nrpe -H SERVER -t 90 -u -c get_top_mbox -a SERVER 3 2000 4000<br><b>c:\nrpe_nt\plugins\v2\check_mboxsize.wsf(87, 3) Microsoft VBScript runtime error: Subscript out of range: '0'<br>
</b><i><br>After changing the Service user Account :</i><b><br></b>root@S:/usr/local/nagios/libexec# ./check_nrpe -H SERVER -t 90 -u -c get_top_mbox -a SERVER 3 2000 4000<br><b>OK - Alaisso Binco, Sona , 512.00 MB - Johni Amient , 512.00 MB - Punot d'Informa Juve , 379.00 MB<br>
<br>The script is quite complex, and I have tried to spit output as wscript.echo , wscript.stdout.write (no help)<br><br>More details here:<br><a href="http://felipeferreira.net/?p=101" target="_blank">http://felipeferreira.net/?p=101</a><br>
</b><br>Anyone knows if a new version will be released?<br><br>Cheers,<br>Felipe Ferreira<br></div><br>-------------------------------------------------------------------------<br>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<br>
Build the coolest Linux based applications with Moblin SDK & win great prizes<br>Grand prize is a trip for two to an Open Source event anywhere in the world<br><a href="http://moblin-contest.org/redirect.php?banner_id=100&url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a><br>
_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>