Yes, you are right, I was using an incompetent approach to the issue and following those instructions got me to install nagios.
I got to run nagios and accessed its web-iface from an external host.
Yet, problems arose afterwards, with the:
Configuring global access with password required
which includes the commands:
config set nagios service Name Nagios PublicAccess global-pw
expand-template /etc/httpd/conf/httpd.conf
service httpd-e-smith restart
service nagios restart
The nagios stops ok, but doesn't start anymore. Not even at system reboot (in which
crond and
killall also fail).
I even checked the nagios configuration with the command:
nagios -v /etc/nagios/nagios.cfg
That has shown no problems either.
The log file had this error repeated (due to the series of failed attempts to start nagios)
[1289355381] Nagios 3.2.3 starting... (PID=5633)
[1289355381] Local time is Wed Nov 10 02:16:21 WET 2010
[1289355381] LOG VERSION: 2.0
[1289355381] Failed to obtain lock on file /var/run/nagios.pid: Permission denied
[1289355381] Bailing out due to errors encountered while attempting to daemonize... (PID=5633)
I don't mean to be a pain in the ass, but I'm getting desperate here.
Thank you so much for your attention and replies.