Hi,
I have this contact script for my nagios/opsview to work.
I have qpage paging manually if I just tell it to run qpage, but I don't
want 2 contacts, one for hosts, one for services.
I need a way for it to figure out if it's a host or service page and
then run the command from there.
Any
On 05/26/2010 03:43 PM, Darren Hill wrote:
I have it working now.
I think I'll shorten down the message to fit onto the SMS capacity
limit, but it does work.
I was using $PAGER$ when doing -p $PAGER$ in my command and for some
reason it didn't like that, even if I defined it under my
I have it working now.
I think I'll shorten down the message to fit onto the SMS capacity
limit, but it does work.
I was using $PAGER$ when doing -p $PAGER$ in my command and for some
reason it didn't like that, even if I defined it under my contacts..
On 5/25/2010 4:00 PM, Jayson Broughton
Hi,
I've seen a few examples of qpage working with nagios (I'm using opsview
as a frontend to nagios).
Qpage is working ok manually, but when I try and have nagios send the
page nothing comes out.
I'm using ubuntu 8.04 LTS server running opsview 3.7
Here's my misccommands.cfg, contacts.cfg
Darren,
I don't know if this helps..but I use qpage for nagios and other *nix
alerts. I call qpage directly from /usr/local/bin..here is my info
command.cfg
# 'host-notify-by-sms' command definition
define command{
command_namehost-notify-by-sms
command_line