nagios alert messages not appearing in hipchat chat window.

Giles Coochey giles at coochey.net
Sun Jul 28 09:57:49 CEST 2013


On 27/07/2013 10:38, Kaushal Shriyan wrote:
>
>
> On Fri, Jul 26, 2013 at 8:03 PM, Kaushal Shriyan 
> <kaushalshriyan at gmail.com <mailto:kaushalshriyan at gmail.com>> wrote:
>
>     Hi,
>
>     Thanks for the reply. I have put the below entries in nagios
>     commands.cfg file I am running Nagios 3.4.4 on CentOS 6.4.
>
>     define command {
>     command_name notify-host-by-hipchat
>     command_line /usr/bin/hipsaint
>     --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=host
>     --inputs="$HOSTNAME$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$HOSTSTATE$|$HOSTOUTPUT$"
>
>     -n
>     }
>     define command {
>     command_name notify-service-by-hipchat
>     command_line /usr/bin/hipsaint
>     --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=service
>     --inputs="$SERVICEDESC$|$HOSTALIAS$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$SERVICESTATE$|$SERVICEOUTPUT$"
>
>     -n
>     }
>
>     I am unable to see any nagios alert messages in hipchat window.
>     Please let me know if anyone needs more information.
>
>     Regards,
>
>     Kaushal
>
>
> Hi,
>
> Checking in again for my earlier post to this mailing list. Any 
> suggestions please?
>
> Regards,
>
> Kaushal
>
Have you tried running the command manually on the command line as the 
nagios user?

-- 
Regards,

Giles Coochey, CCNP, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 8444 780677
+44 (0) 7983 877438
http://www.coochey.net
http://www.netsecspec.co.uk
giles at coochey.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20130728/545933bc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4755 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://www.monitoring-lists.org/archive/users/attachments/20130728/545933bc/attachment.bin>
-------------- next part --------------
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list