On 27/07/2013 10:38, Kaushal Shriyan wrote:


On Fri, Jul 26, 2013 at 8:03 PM, Kaushal Shriyan <kaushalshri...@gmail.com <mailto:kaushalshri...@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
gi...@coochey.net

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to