HOWTO Combine v1 hostextinfo/serviceextinfo into v2 hosts/service files?
Andreas Ericsson
ae at op5.se
Wed Jul 27 11:11:14 CEST 2005
Peter Farrell wrote:
> I am migrating two servers in our DMZ from Nagios v1 to Nagios v2.
>
> As Nagios v2 doesn't use the '*extinfo' config files anymore, where do
> you actually put the
> extinfo? The docs say that it can be combined into the hosts and
> service cfg files, but I was wondering if anyone had an example they
> could post?
>
The simplest way is to create new entries in nagios.cfg, saying
cfg_file=/usr/local/etc/nagios/hostextinfo.cfg
cfg_file=/usr/local/etc/nagios/serviceextinfo.cfg
and remove them from cgi.cfg. The above advice ofcourse assumes you have
installed the extinfo files in /usr/local/etc.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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