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

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
jpdonnelly
Posts: 3
Joined: Thu Jan 24, 2013 6:12 pm

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

Post 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
jpdonnelly
Posts: 3
Joined: Thu Jan 24, 2013 6:12 pm

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

Post by jpdonnelly »

Solved.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

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

Post 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.
Locked