Can I setup Nagios web interface and Nagios co re programs on different servers?

Tedman Eng teng at dataway.com
Wed Sep 8 22:14:20 CEST 2004


What about nfs sharing the var and cfg directories (maybe others) on the
monitoring machine and connecting to those shares via the web interface
machine?


-----Original Message-----
From: Sean Dilda [mailto:agrajag at dragaera.net]
Sent: Wednesday, September 08, 2004 10:15 AM
To: Kelvin Wu
Cc: Nagios
Subject: Re: [Nagios-users] Can I setup Nagios web interface and Nagios
core programs on different servers?


On Tue, 2004-09-07 at 23:10, Kelvin Wu wrote:
> hello,
> 
> my nagios has 5000+ services running and the web interface is very
> slow, takes long time to load a page, i am thinking of a solution to
> setup the web interface on another server, how can i do that? use
> mysql, save status data into mysql database and the web interface
> connects to mysql remotely?

If you use the interactive commands on the interface (scheduling
downtimes, enabling/disabling notices, acknowledgments, etc), then you
really need to keep the web interface and the nagios server on the same
machine.  Otherwise those commands won't work.

There are a couple options to do it otherwise, without having to resort
to mysql.  The CGIs check the nagios configs (the contents of
/etc/nagios/) as well as the nagios status.log, and maybe some other
files in /var/log/nagios.   So, what you'd have to do is keep a copy of
the configs on the web interface box, and make sure they're kept up to
date.  Then rig something so that the log files are copied over
regularly (every 2 minutes or something).  You wouldn't get
instantaneous updates, but it would spread out the load between the two
machines.



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&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


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&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