qpage doesn't work through nagios, help!!

Stanley.G.Martin at mail.sprint.com Stanley.G.Martin at mail.sprint.com
Tue Jan 21 19:55:14 CET 2003


Here's what my device looks like:

crw-rw-rw-    1 root     uucp       4,  68 Apr 11  2002 /dev/ttyS4

Stanley G. Martin
Sprint - ISS Enterprise App/Decision Support Services 

Stanley.G.Martin at mail.sprint.com


-----Original Message-----
From: ryan.henry [mailto:ryan.henry at EPSIIA.com]
Sent: Tuesday, January 21, 2003 12:20 PM
To: nagios-users
Subject: Re: [Nagios-users] qpage doesn't work through nagios, help!!


make sure the nagios user has permissions to write to the modem device -

/dev/cua/b or whatever it is.

-Ryan

Mike Cochran wrote:

>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
>_______________________________________________
>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
_______________________________________________
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