Nagios compatibility

Andy Shellam andy-lists at networkmail.eu
Tue Jan 20 09:01:54 CET 2009


Kevin Keane wrote:
> Nagios won't work until you get this running, so it is not really 
> surprising that you can't log in right now.
>   
Nagios will function without the startup script perfectly happily - you 
just start and stop it manually - /usr/local/nagios/bin/nagios -d 
/usr/local/nagios/etc/nagios.cfg.
The init script is just to start/stop Nagios on system start-up and 
shutdown which would be desirable yes, but it's not the only way.

IIRC you can also put the start command in /etc/rc.local on 
Redhat/Fedora systems.  The init script is a much cleaner approach however.
> My recommendation: throw out the nagios you did (just keep the files in 
> the /usr/local/nagios/etc directory), and instead find nagios as an 
> already-compiled RPM. There really is very little reason to ever run 
> your own compiled software except to learn. On a production server, it 
> is outright dangerous to do so because you won't get any software updates.
>   
For the record, I disagree with this statement.  Compiling your own 
software means you can get updates as quick as they come out from the 
people who write it.  Sure you have to keep on top of the updates 
yourself, but that's where a tool such as www.update-scout.com comes in 
extremely handy.

In my experience package repositories (such as those used by Debian's 
"apt-get") are not well maintained - for example the OpenSSL version 
currently in there is 0.9.8c which was released in September 2006.  
There have been 6 security advisories since.  Similarly the Apache2 
package is version 2.2.3 - I'm running 2.2.11 now.

Compiling your own software also allows you to add in extra features 
that the packagers didn't deem necessary, and gives you more control 
over the build.

Regards,
Andy


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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