how to edit commands.cfg file

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hybrid01
Posts: 1
Joined: Sat Sep 03, 2011 1:56 am

how to edit commands.cfg file

Post by hybrid01 »

Please can someone tell me how to add commands to the cfg file. I am not sure which files I need to update in for commands to be properly add to the commands.cfg file? thanks
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: how to edit commands.cfg file

Post by mguthrie »

In Nagios XI you shouldn't edit the object configuration files in the nagios/etc directory by hand, they are managed by the Core Config Manager and will be overwritten if you do. Use the Configure->Core Config Manager->Commands page to add or edit command definitions, then "Apply Configuration."
Locked