Change pre-flight checks from warning to error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dsharperb
Posts: 2
Joined: Fri Nov 10, 2017 3:59 am

Change pre-flight checks from warning to error

Post by dsharperb »

Hi there,

We are running Nagios XI 5.4.8 on CentOS 7.3.1611 x64, and I have a need to change part of the configuration check when applying a config from warning to critical.

Basically I want an error to be produced if there are no contacts or contactgroups applied, rather than just a warning. This is because everything should send a notification to someone, otherwise we won't know if there are issues. People have a habit of ignoring warnings unfortunately!

Is this possible at all?

Thanks
bolson

Re: Change pre-flight checks from warning to error

Post by bolson »

Hello dsarperb,

Although I do understand your point, the functionality in question is hard coded in the nagios binary, as opposed to a configuration file or shell script. Basically, if a misconfiguration will prevent the program from running, it throws an error where if the program will run in spite of the misconfiguration, it throws a warning. I could put it in as a feature request but it likely wouldn't be implemented given the complexity of determining which configuration issues should throw errors and which should generate warnings. Probably best to look upon this as a training issue. Thank you.
dsharperb
Posts: 2
Joined: Fri Nov 10, 2017 3:59 am

Re: Change pre-flight checks from warning to error

Post by dsharperb »

Fair enough, thought that may be the case but wasn't sure if it could be customised in some way.

Thanks all the same for the confirmation!
kyang

Re: Change pre-flight checks from warning to error

Post by kyang »

Sounds good! I'll be closing this thread!

If you have any more questions, feel free to create another thread.

Thanks for using the Nagios Support Forum!
Locked