Lost history...
Christiaan Ehlers
Christiaan.Ehlers at inclarity.co.uk
Fri Feb 20 19:03:57 CET 2004
Hi All
We are currently monitoring a whole bunch of IP phones with nagios. We have
a php scripts that runs and drags the new IP phones off a LDAP DB, it then
formats them and then adds them to files called base_hosts, base_hostgroups
and base_services file. These base files contain the "static" hosts
(servers and other hosts that don't change). Thus base files + ouput from
the php script = *.cfg. The output of the php just gets redirected (>) into
the cfg file.
There is a normal shell script that runs the phps and then restarts the
nagios service (service nagios restart); the script is run by cron every
mid-night.
The problem is that we are not retaining history on anything. I might
understand if the phones don't contain history but not even the machines
specified in the base files have history.
What am I doing wrong? I am running nagios ver 1.1.
Regards
Christiaan Ehlers
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&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