Hello Sir,
I tried to install ndoutils using the readme file. I was able to follow the steps
But when I start the nagios service placing the below parameters in nagios.cfg
event_broker_options=-1
broker_module=/usr/local/nagios/bin/ndomod.o
cfg_file=/usr/local/nagios/etc/ndomod.cfg
It gives the below error
-----------------------------------------------------------------------------------------------------------------------------------
Website:
http://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Unexpected token or statement in file '/usr/local/nagios/etc/ndomod.cfg' on line 26.
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
---------------------------------------------------------------------------------------------------------------------------------------------------
Line no 26 under ndomod.cfg is
24 #output_type=file
25 #output_type=tcpsocket
26 output_type=unixsocket
Please help...
And also one more question. Once I install the ndoutils how will I verify that the Nagios is storing all the logs in the mysql database. Any specific table in Nagios database where I can check?