Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
If I run the information in command_line on the server itself (as root and nagios users), it generates an alert in the chat room. However when Nagios triggers a genuine alert, nothing appears.
I've tried various things like adding the full path of the hipsaint application to the command_line in commands.cfg and making sure the $PATH variable is set correctly, but nothing seems to work.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
It could be a permissions issue. Can you test the command from the command line, but do so as the nagios user?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
I had tried that before I posted as I thought it may have been a PATH issue, and it does work from both root and the nagios user on the command line without a problem. The problem seems to be relating to actually making the alerts use the info in commands.cfg to send a chat message.
Can you post the contact config you created for the hipchat notifications?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.