parameters for service checks from outside nag ios

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Thu Jan 2 17:45:03 CET 2003


I'm not entirely sure how you're retrieving the datfiles, but it might make
sense to run a plugin locally on the remote systems in question.  This
plugin would scrub the datfile (eg, with grep); the result of this plugin
would be returned to Nagios.

Of course, I'm making some wild assumptions about your environment, such as
the system that hosts your datfiles is a *nix host.  If it's Windows, I'm
not entirely certain how you'd do it.  Still, you could install OpenSSH and
Perl on your Windows servers to facilitate this sleight of hand.

In case I haven't been clear, you would be best off to write your own plugin
to do this.

jc

> -----Original Message-----
> From: Lennard Bakker [mailto:bakkerl at lamp.xs4all.nl]
> Sent: Tuesday, December 31, 2002 4:26 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] parameters for service checks from outside
> nagios
> 
> 
> 
> Is it possible to import variable date to use with a service check?
> 
> My problem:
> I want to let nagios to check anti virus datfiles on remote 
> systems. Now
> i do this dat each remote system fetch the latest version info (800k)
> and verifies the version info, to the installed version (no update is
> done). The plugin reports OK if datfile is uptodate, warning when 1
> version behind and ERROR if more than 1 version behind (or installed
> version is newer then the official downloadable).
> 
> The problem is that every client fetches the 800k just for verify the
> version number (4 bytes number).
> 
> I have the lastest version info on the nagios host system (in a file,
> just 4 bytes in size). Is it possible to add this info from a file to
> the service check, so that the version number is given to te 
> remote host
> (by nrpe or chack_by_ssh). The remote host doesn't have to access a
> remote host (internet) for the current information.
> 
> Lennard
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list