In addition can someone clarify something.

Shouldn't the "cmdfile" file be the .cmd file? I peeked at the Nagios 
module and there's a list of files but they all point to the nagios.cfg 
file. 

On Wednesday, September 16, 2015 at 4:59:04 PM UTC-4, Samnang Sen wrote:
>
> 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/fc09a702-a03c-404e-b1d6-9deb4dd74023%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to