<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 27/07/2013 10:38, Kaushal Shriyan
wrote:<br>
</div>
<blockquote
cite="mid:CAD7Ssm8R2RhRv=My6hLMjtNREvc+7-XYwdxkJ3Z9DomsaUKeZQ@mail.gmail.com"
type="cite"><br>
<br>
<div class="gmail_quote">On Fri, Jul 26, 2013 at 8:03 PM, Kaushal
Shriyan <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:kaushalshriyan@gmail.com" target="_blank">kaushalshriyan@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<p
style="line-height:18px;color:rgb(51,51,51);font-size:14px;font-family:Helvetica,Arial,sans-serif;margin:0px
0px 15px;padding:0px">Hi,</p>
<p
style="line-height:18px;color:rgb(51,51,51);font-size:14px;font-family:Helvetica,Arial,sans-serif;margin:0px
0px 15px;padding:0px">
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.</p>
<p
style="line-height:18px;color:rgb(51,51,51);font-size:14px;font-family:Helvetica,Arial,sans-serif;margin:0px
0px 15px;padding:0px">
define command { <br>
command_name notify-host-by-hipchat <br>
command_line /usr/bin/hipsaint <br>
--token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307
--type=host <br>
--inputs="$HOSTNAME$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$HOSTSTATE$|$HOSTOUTPUT$" <br>
-n <br>
} <br>
define command { <br>
command_name notify-service-by-hipchat <br>
command_line /usr/bin/hipsaint <br>
--token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307
--type=service <br>
--inputs="$SERVICEDESC$|$HOSTALIAS$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$SERVICESTATE$|$SERVICEOUTPUT$" <br>
-n <br>
}</p>
<p
style="line-height:18px;color:rgb(51,51,51);font-size:14px;font-family:Helvetica,Arial,sans-serif;margin:0px
0px 15px;padding:0px">I am unable to see any nagios alert
messages in hipchat window. Please let me know if anyone
needs more information.</p>
<p
style="line-height:18px;color:rgb(51,51,51);font-size:14px;font-family:Helvetica,Arial,sans-serif;margin:0px
0px 15px;padding:0px">Regards,</p>
<p
style="line-height:18px;color:rgb(51,51,51);font-size:14px;font-family:Helvetica,Arial,sans-serif;margin:0px
0px 15px;padding:0px">
Kaushal</p>
</blockquote>
</div>
<br>
<div>Hi,</div>
<div><br>
</div>
<div>Checking in again for my earlier post to this mailing list.
Any suggestions please?</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Kaushal</div>
<br>
</blockquote>
Have you tried running the command manually on the command line as
the nagios user?<br>
<pre class="moz-signature" cols="72">--
Regards,
Giles Coochey, CCNP, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 8444 780677
+44 (0) 7983 877438
<a class="moz-txt-link-freetext" href="http://www.coochey.net">http://www.coochey.net</a>
<a class="moz-txt-link-freetext" href="http://www.netsecspec.co.uk">http://www.netsecspec.co.uk</a>
<a class="moz-txt-link-abbreviated" href="mailto:giles@coochey.net">giles@coochey.net</a>
</pre>
</body>
</html>