qpage doesn't work through nagios, help!!

Mike Cochran mcochra at remc7.k12.mi.us
Tue Jan 21 19:05:43 CET 2003


I'm having a similar problem, but I'm using yaps (yet another pager
software) instead of qpage.  When I run it (from the command line) using
under root, it all works fine.  Then when I try it using user nagios it
doesn't work...  it gives me the following output: 

<<
> /usr/local/bin/yaps -vvvvv -t mike 'test'
Found service D1 for 616xxxxxxx
Sending following message:
mike         (D1, 616xxxxxxx): test -nagios
Trying to open /dev/cua/b for modem standard
Unable to dial D1
>>

Has anybody had a similar problem or know what it might be?  I would
assume that it would be a permissions problem, but I'm not sure which
permissions to check.  The yaps permissions seem fine, since the program
starts up fine.  Thanks for any help...

-mike

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Evan Mann
Sent: Tuesday, January 21, 2003 12:02 PM
To: 'nagios-users at lists.sourceforge.net'
Subject: [Nagios-users] qpage doesn't work through nagios, help!!

I can't figure out why qpage doesn't actually SEND the page when it's
run
through nagios.  This is what /var/log/syslog says:

Jan 21 11:57:10 linux qpage[25317]: connection from
[anonymous]@localhost
Jan 21 11:57:10 linux qpage[25317]: disconnect from
[anonymous]@localhost
Jan 21 11:57:10 linux qpage[21486]: processing the page queue

This is what happens when I run qpage manually as root:

Jan 21 11:58:10 linux qpage[25433]: connection from
[anonymous]@localhost
Jan 21 11:58:10 linux qpage[25433]: page submitted, id=AUQ60070,
from=root
Jan 21 11:58:10 linux qpage[21486]: processing the page queue
Jan 21 11:58:10 linux qpage[25433]: disconnect from
[anonymous]@localhost

/usr/local/bin/qpage was set user/group as root/root so I changed it to
root/nagios but still no luck.




-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users



-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp




More information about the Users mailing list