Agentless Windows monitors
Nathan Oyler
noyler at khimetrics.com
Wed Mar 23 22:34:16 CET 2005
Thanks, we were looking at doing something similar.
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Glenn Meisenheimer
> Sent: Wednesday, March 23, 2005 10:40 AM
> To: nagios-users at lists.sourceforge.net; gmeisenheimer at itgroundwork.com
> Subject: Re: [Nagios-users] Agentless Windows monitors
>
> Hi Andreas
>
>
>
> I can tell you that when you use these scripts you don't need to
> install ANYTHING on the remote hosts - providing that you are using
> Win2k or something more recent. This is because WMI is an integral
> part of Windows these days, and these scripts query WMI for the
> same classes of information that are used to populate perfmon.
>
>
>
> Authentication? We don't need no stinking authentication as long
> as the proxy server (the server running nrpe-nt and hosting these
> scripts) has the same Administrator login as the remote hosts.
> If that isn't the case, you need to call the scripts using the
> -user and -pass command line options in order to authenticate on
> the remote machine. These can be handled the same as any other
> password in nagios - using resources.cfg and the $USERn$ macros.
>
>
>
> Also, it is possible to set up a user account on a remote machine
> which permits nagios to access WMI but does not permit an actual
> login to the remote windows server.
>
>
>
> Andreas, I don't expect these scripts to be the be-all and end-all,
> but they do demonstrate a method for using scripts to perform
agentless
> monitoring of one's Windows infrastructure. I am hoping that they
> will serve as a starting place for further script development.
> I already have need for more of these, and the fact that they
> are scripted makes it easy to roll your own.
>
>
>
> Now to procede? Here is documentation on the WMI classes available:
>
>
>
>
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk
> /wmi/wmi_reference.asp
>
>
>
> And here is a primer on WMI scripting:
>
>
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanch
> or/html/anch_wmi.asp
>
>
>
> And, of course... You could always contact Pham Van Hung in Vietnam
> who wrote these. He is credited in the header, and is an affordable
> resource, and great guy.
>
>
>
> - Glenn Meisenheimer (gmcookie)
>
>
>
> -----------------------
>
> This thread is located in the archive at this URL:
>
>
http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p
i
> 1[showUid]=4392
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon
2005
> Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest
Windows
> Embedded(r) & Windows Mobile(tm) platforms, applications & content.
> Register
> by 3/29 & save $300 http://ads.osdn.com/?ad_idh83&alloc_id149&op=ick
> _______________________________________________
> 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
-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register
by 3/29 & save $300 http://ads.osdn.com/?ad_idh83&alloc_id149&op=click
_______________________________________________
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