Create a shell function in your ~/.profile like:
function pn() { pynag "$@" --cfg_file=/etc/icinga/icinga.cfg ;}
If you use icinga instead of nagios
Create a shell function in your ~/.profile like:
function pn() { pynag "$@" --cfg_file=/etc/icinga/icinga.cfg ;}
If you use icinga instead of nagios