"Multi homed hosts", Event history in database

Paul L. Allen pla at softflare.com
Mon Jun 28 12:54:41 CEST 2004


Michael Arndt writes: 

>   Is it possible to modify macros "on the fly" similar
>   to apache rewrite rules ?

Not that I know of (but I haven't gone digging to check).  However, if you
are willing to put up with and ugly hack like that... 

How about making the monitoring machine a primary nameserver for the
machines you want to monitor.  Not really the primary nameserver as far as
the outside world is concerned, purely for Nagios purposes.  A primary
nameserver rather than a seconday so that it does not get updates from
the real primary.  Then you can have a cron job that rewrites the zone
file and restarts named. 

I did say it was ugly... 

-- 
Paul Allen
Softflare Support 




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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