parameters for service checks from outside nagios

Lennard Bakker bakkerl at lamp.xs4all.nl
Tue Dec 31 23:25:49 CET 2002


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




More information about the Users mailing list