Hi all. I'm using Ngios 1.3 stable and trying to configure notifications by icq. I have simple ICQ client vICQ.
So, there is a host_notification_commands in contacts.cfg called host-notify-by-icq.
It's description in misccommands.cfg:
command_line echo "msg 123456789/$NOTIFICATIONTYPE$ $HOSTNAME$ is $HOSTSTATE$ ($OUTPUT$)" | /usr/local/bin/vicq
But when host is Down, web Nagios says:
HOST DOWN; 27-01-2006; 09:20:33; dave; host-notify-by-icq; CRITICAL - Plugin timed out after 10 seconds
Interesting, that when host is UP, it says
HOST UP; 26-01-2006; 21:21:20; dave; host-notify-by-icq;
PING OK - Packet loss = 0%, RTA = 8.96 ms
When I log in as Nagios user and try to run this command as Nagios do - all works fine!
ls -la /usr/local/bin/vicq
-r-xr-xr-x 1 root wheel
Seems to me, that nagios dot'n run this command at all!
Tell me, where I go wrong:?: :shock: