cmd/bat file help plz...running it viacheck_nrpe
HP Geeza
getbacktome3 at hotmail.com
Mon Aug 8 21:01:19 CEST 2005
hi Chris
Yes i am still having problems. Which other command from Cygwin do you
mean?? i have never come accross cygwin. I dont mind trying another other
method/shutdown command....aslong as i dont hopefully have to install lots
off different utilites/3rd party software....
>From: Chris Wilson <chris at aidworld.org>
>To: HP Geeza <getbacktome3 at hotmail.com>
>CC: Nagios Users <nagios-users at lists.sourceforge.net>
>Subject: Re: [Nagios-users] cmd/bat file help plz...running it
>viacheck_nrpe
>Date: Mon, 08 Aug 2005 19:41:50 +0100
>
>Hi,
>
> > Can somebody help me write a cmd/bat file please....
>
>I assume that you have already written it, and are still getting this
>error:
>
> > >./check_nrpe -H 10.30.128.254 -c reboot_server
> > >
> > >BUT i then get a message saying:
> > >
> > ><remote windows server machine name>: The system could not find the
> > >environment option that was entered.(203)
>
>This sounds like the Windows user that NRPE runs as does not have
>permissions to shut down the machine, or is not set up correctly.
>
>I've never used NRPE on Windows, but I assume it runs as a system
>service. If not, this advice won't help you.
>
> >From the services control panel, go to properties for the NRPE service.
>Find the option for "run as user". Try changing it to either LocalSystem
>or an account in the Administrators group. (if one doesn't work, try the
>other, they are not the same).
>
>If that doesn't help, you might want to try an alternative shutdown
>command, like the one that comes with Cygwin.
>
>Cheers, Chris.
>--
>(aidworld) chris wilson | chief engineer (chris at aidworld.org)
>
_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters!
http://www.msn.co.uk/newsletters
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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