Page 1 of 1

Have /usr/sbin/nagios -v /etc/nagios/nagios.cfg PRINT A MES

Posted: Thu Jan 24, 2013 6:17 pm
by jpdonnelly
this is useless :


Starting nagios:+ /usr/sbin/nagios -v /etc/nagios/nagios.cfg
+ '[' 254 -eq 0 ']'
+ echo 'CONFIG ERROR! Start aborted. Check your Nagios configuration.'
CONFIG ERROR! Start abort

Re: Have /usr/sbin/nagios -v /etc/nagios/nagios.cfg PRINT A

Posted: Fri Jan 25, 2013 10:00 am
by jpdonnelly
Solved.

Re: Have /usr/sbin/nagios -v /etc/nagios/nagios.cfg PRINT A

Posted: Fri Jan 25, 2013 10:44 am
by mguthrie
Yeah, some packaged installations of Nagios hijacked the -v flag to bypass all of the useful information. I generally recommend always using a source install of Nagios if you can, that way the commands will reflect the documentation.