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.
Which user were you testing this as? Does the nagios user have access to write to the temp files? Could you also list how it is defined in the service and command definitions?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
sreinhardt wrote:Which user were you testing this as? Does the nagios user have access to write to the temp files? Could you also list how it is defined in the service and command definitions?
I now used the macros $NAGIOS_HOSTSTATE, $NAGIOS_HOSTNAME and now everything works fine.