I keep getting the following error when I attempt to disable alerts for a
particular host. Not sure what the heck is going on!
failed: [127.0.0.1 -> nagios.xyz.net] => {"cmdfile":
"/var/spool/nagios/cmd/nagios.cmd", "failed": true}
msg: unable to write to nagios command file
Permissions to file (My user is in the "nagios" group):
prwxrwx---. 1 nagios nagios 0 Sep 4 15:47 nagios.cmd
pre_tasks:
- name: disable nagios alerts for this host webserver service
nagios: action=disable_alerts host=qcweb001 service=all
cmdfile=/var/spool/nagios/cmd/nagios.cmd
delegate_to: nagios.xyz.net
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/612f5d40-d26c-4cb7-93fb-6d8bd6988128%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.