As for plugins, I don't think there is any reason to port the existing
plugins, as these can run fine on the nagios host itself.
(Keeping firewalling between the machines out of scope for now...).
Personally I think the reason to build a windows based plugin should be,
that the check can't be reasonably done from then nagios host itself. This
would mostly be, because a special client or APIs is only available on
windows. (Such as the Windows network/service/process APIs as an example,
ADS or Printqueue stuff may be another).
My #1 plugin would be one to check nt-services on a given remote host. This
can be done already with nagios, but always includes installing either
nsclient or snmp on the monitored machines.
When run from a windows host, I can very nicely perform these checks
remotely via Win APIs, without ANY configuration on the monitored hosts.
Technically speaking it can be anything, you can launch as a process.
Currently I test with two check commands, one a compiled exe, the other is
just a cmd script. Others like Perl should be fine also, given the nrpe host
has it available.
cheers
MiWi
> > -----Original Message-----
> > From: Carroll, Jim P [Contractor]
> [mailto:[email protected]]
> > Sent: Montag, 28. April 2003 17:34
> > To: [email protected]
> > Subject: RE: [Nagios-devel] NRPE on Windows Host?
> >
> >
> > It does sound interesting. Let us know what you have in mind
> > as far as plugins.
> >
> > jc
> >
> >
> > > -----Original Message-----
> > > From: [email protected]
> > [mailto:[email protected]]
> > > Sent: Sunday, April 27, 2003 5:23 PM
> > > To: [email protected]
> > > Subject: RE: [Nagios-devel] NRPE on Windows Host?
> > >
> > >
> > > I think I hit the thread you are mentioning. Too sad no one
> > > followed up on
> > > this, could have saved me some hours...
> > >
> > > However I got my fingers dirty, and have nrpe running on
> > > windows based on
> > > nrpe-2.0b3.
> > > It's not doing ssl connections and command arguments yet, but
> > > it's a start.
> > >
> > > If there has any interest in it, I think I can have something
> > > available for
> > > a peek during next week.
> > >
> > > cheers
> > > MiWi
> > >
> > > -----Original Message-----
> > > From: Carroll, Jim P [Contractor]
> > [mailto:[email protected]]
> > > Sent: Donnerstag, 24. April 2003 17:25
> > > To: [email protected];
> [email protected]
> > > Subject: RE: [Nagios-devel] NRPE on Windows Host?
> > >
> > >
> > > For some reason this sounds familiar. I'm tempted to say
> > > that someone on
> > > the nagios-users mailing list suggested this 2-3 months
> ago, and was
> > > planning to take a crack at it. I've not heard anything since.
> > >
> > > jc
> > >
> > >
> > > > -----Original Message-----
> > > > From: [email protected]
> > > [mailto:[email protected]]
> > > > Sent: Thursday, April 24, 2003 6:00 AM
> > > > To: [email protected]
> > > > Subject: [Nagios-devel] NRPE on Windows Host?
> > > >
> > > >
> > > > Dear list,
> > > >
> > > > at my site, the boxes to monitor are ~70% Windows based, some
> > > > with custom
> > > > applications running.
> > > > After looking at SNMP and nsclient, I'm not totally happy
> > with them.
> > > >
> > > > I imagine something like nrpe running on a single windows box
> > > > could be the
> > > > way to go for us.
> > > >
> > > > The setup I'd like most, would be a single nt box performing
> > > > all "special"
> > > > (windows-specific) checks
> > > > for all windows machines, communicating with the main
> > > nagios host via
> > > > check_nrpe.
> > > >
> > > > Yes, this would also mean, you need to build the plugins
> > > > running on windows,
> > > >
> > > > but for the services in question, a custom plugin would be
> > > > necessary anyway.
> > > >
> > > > Plus you would not need to have an agent installed on every
> > > box to be
> > > > monitored, which is not an option here.
> > > > (In fact, this is the main reason we ruled out nsclient).
> > > >
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]