>From your previous message I was given the impression that you have installed Nagios
from an RPM package. If you did then you have the wrong cfg_file statements in your
nagios.cfg which should be in /etc/nagios. The statements should be along the lines of

cfg_file=/etc/nagios/minimal.cfg
cfg_file=/etc/nagios/contactgroups.cfg
cfg_file=/etc/nagios/contacts.cfg
cfg_file=/etc/nagios/dependencies.cfg
cfg_file=/etc/nagios/escalations.cfg
cfg_file=/etc/nagios/hosts.cfg
cfg_file=/etc/nagios/services.cfg
cfg_file=/etc/nagios/timeperiods.cfg

If you want more info on the RPM install you can visit my Nagios-notes page at
http://www.kasenides.org/nagios/nagios-notes.php. These are preliminary notes
and they are likely to contain errors!!


Mehmet Fatih AKBULUT wrote:
problem solved.
thanks anyway.
now i can see cgi or pl files on apache but still have difficulties in starting nagios :)
can see error messages when click on a cgi file listed on the left side of the nagios main page.

when i try to execute

#nagios -v  nagios.cfg command :

it says me that :

cfg_file=/usr/local/etc/nagios/contactgroups.cfg
cfg_file=/usr/local/etc/nagios/contacts.cfg
cfg_file=/usr/local/etc/nagios/dependencies.cfg
cfg_file=/usr/local/etc/nagios/escalations.cfg
cfg_file=/usr/local/etc/nagios/hostgroups.cfg
cfg_file=/usr/local/etc/nagios/hosts.cfg
cfg_file=/usr/local/etc/nagios/services.cfg
cfg_file=/usr/local/etc/nagios/timeperiods.cfg

the abowe files missing :(

i installed everything but dunno why these files are missing :(


--
Untitled Document ----------------------------------------------------------------------
Andreas Kasenides
Tel: +357 - 22892714
e-mail: Andreas.Kasenides%at%cs.ucy.ac.cy
(replace the %at% above with @)

Reply via email to