PDA

View Full Version : Comments, downtime, acknol's not working...


fatmcgav
27th March 2008, 18:56
hi there,

I'm trying to use the various features on Centreon. However if i try to comment, schedule downtime, disable service checks from service info page, acknowledge an alert... nothing works...

Have i missed a config section or something?

Any info appreciated.

Cheers
Gavin

naparuba
28th March 2008, 08:52
Check at the rights of the var/nagios.cmd file.

fatmcgav
1st April 2008, 16:40
Check at the rights of the var/nagios.cmd file.

Hi there,

That file exists - however it's in /var/rw/nagios.cmd
Permissions look like this:
ls -l nagios.cmd
-rw-r--r-- 1 apache nagios 67 Apr 1 14:49 nagios.cmd

I can see my comments being added into the file. However they dont make their way into Centreon - Any ideas?

Within the Nagios Cfg screen, there's a few options, not sure if i've got them set right though?

External Command Check Option Default
External Command Check Interval -1
External Command File /opt/nagios/var/rw/nagios.cmd


Any ideas?

Cheers
Gavin

fatmcgav
3rd April 2008, 12:48
Problem sorted.

Just needed to delete teh file and restart nagios in order to create the named pipe rather than a standard file.

Gav