Re: [Nagios-users] nagios/opsview with qpage

2010-06-22 Thread Darren Hill
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

Re: [Nagios-users] nagios/opsview with qpage

2010-05-27 Thread Andreas Ericsson
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

Re: [Nagios-users] nagios/opsview with qpage

2010-05-26 Thread Darren Hill
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

[Nagios-users] nagios/opsview with qpage

2010-05-25 Thread Darren Hill
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

Re: [Nagios-users] nagios/opsview with qpage

2010-05-25 Thread Jayson Broughton
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