Change default config file for pynag

Create a shell function in your ~/.profile like:


function pn() { pynag "$@" --cfg_file=/etc/icinga/icinga.cfg ;}

If you use icinga instead of nagios

Leave a Reply

Your email address will not be published. Required fields are marked *