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.
grep -r systems-host /etc/nagios/objects/
/etc/nagios/objects/unix.ctx.cfg: name systems-host
/etc/nagios/objects/unix.ctx.cfg: name systems-host-defaults
/etc/nagios/objects/unix.ctx.cfg: use systems-host
/etc/nagios/objects/hosts.cfg: use systems-host
/etc/nagios/objects/hosts.cfg: use systems-host
/etc/nagios/objects/hosts.cfg: use systems-host
/etc/nagios/objects/hosts.cfg: use systems-host
/etc/nagios/objects/hosts.cfg: use systems-host
/etc/nagios/objects/hosts.cfg: use systems-host
/etc/nagios/objects/hosts.cfg: use systems-host
/etc/nagios/objects/hosts.cfg: use systems-host
/etc/nagios/objects/hosts.cfg: use systems-host
/etc/nagios/objects/hosts.cfg: use systems-host
/etc/nagios/objects/hosts.cfg: use systems-host
/etc/nagios/objects/hosts.cfg: use systems-host
Yeah, That was a typo on the post, the filenames were the same...
I found the issue last night.
It seems nagios will not parse the templates if there are existing config issues. In this case it was the empty "contacts" field We used it as a place holder in nagios 3 but apparently being empty in nagios 4 is a nono.
I cleared out all of the contacts errors and then it parsed the cconfig files in their entirety so max_check_attempts would work.
SO, that's it for anyone who is having a similar issue just posting it up here.
jlom wrote:Yeah, That was a typo on the post, the filenames were the same...
I found the issue last night.
It seems nagios will not parse the templates if there are existing config issues. In this case it was the empty "contacts" field We used it as a place holder in nagios 3 but apparently being empty in nagios 4 is a nono.
I cleared out all of the contacts errors and then it parsed the cconfig files in their entirety so max_check_attempts would work.
SO, that's it for anyone who is having a similar issue just posting it up here.
Thanks for coming back and sharing your resolution!