RES: I'm needing a Nagios for Dummies ;-)

Sandro Vaz (UOL) sandromergvaz at uol.com.br
Thu May 22 22:33:15 CEST 2003


Fernando:

Maybe if you replace the second "bin" to a "etc" it works (CFG files are
normally located at /usr/local/nagios/etc directory). Or it was a mistype? 

HTH,

Sandro Vaz

-----Mensagem original-----
De: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Fernando Gomes
Lima
Enviada em: quinta-feira, 22 de maio de 2003 15:41
Para: Nagios
Assunto: [Nagios-users] I'm needing a Nagios for Dummies ;-)



    Hi guys,

I'm trying Nagios, and after set all files following the manual carefully,
I'm having troubles to start it.

I had used the template files and when I try to run
/usr/local/nagios/bin/nagios -v /usr/local/nagios/bin/nagios.cfg to check if
parameters are right I'm receiving errors:

The error is saying that has a problem on my main config (nagios.cfg) on
line 18 (the real first one because before this, it's only comments),

the line 18 is:

log_file=/usr/local/nagios/var/nagios.log

it's exactly like this.

So, my first idea was:

create the file - doesn't work
change the owner of file (it was root for all files that are under
/usr/local/nagios/*) - doesn't work
comment the line - work until the line 30 (second line) that was
cfg_file=/usr/local/nagios/etc/hosts.cfg

I used the manual downloaded from Nagios Home page (Nagios_1_0_Docs.pdf)
<http://nagios.sourceforge.net/download/contrib/documentation/english/Nagios
_1_0_Docs.pdf>

What I did wrong? Has anyone a tip to send me?

Best Regards,
Fernando Gomes
SchlumbergerSema
Network & Infrastructure Solutions
Security Engineer
flima at slb.com

Trab: +55 21 3824 6954
Cel. : +55 21 9888 9046
(GMT: -03:00)



-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore. Now part
of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date: 19/5/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date: 19/5/2003
 



-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
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