qpage doesn't work through nagios, help!! (and yaps)

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


I found the answer to my problem on some german message board... thank
the good Lord for free online translators!! :)  even if they do get half
of the words backwards. :)

Basically all I had to do was a chmod 4755 yaps
Which changed
-rwxr-xr-x   to  
-rwsr-xr-x

thanks a lot to everyone who gave suggestions, because odds are some of
those other permissions weren't right either...

-mike



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

Here's what my permissions look like:

/dev/cua/b:
lrwxrwxrwx   1 root     nagios        55 Jan 30  2002 b ->
../../devices/pci at 1f,0/pci at 1,1/ebus at 1/se at 14,400000:b,cu

/devices/pci at 1f,0/pci at 1,1/ebus at 1/se at 14,400000:b,cu:
crw-rw-rw-   1 uucp     nagios    20,131073 Jan 21 13:50
/devices/pci at 1f,0/pci at 1,1/ebus at 1/se at 14,400000:b,cu

/usr/local/bin/yaps:
-rwxr-xr-x   1 root     other     359184 Jan 15 09:44 yaps

/etc/yaps.rc:
-rw-r--r--   1 root     other       8805 Jan 20 16:03 yaps.rc

do these look ok?  Is there anything else I should be checking??

Thanks for the replies :)

-mike

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of
Stanley.G.Martin at mail.sprint.com
Sent: Tuesday, January 21, 2003 1:55 PM
To: nagios-users at lists.sourceforge.net; ryan.henry at EPSIIA.com
Subject: RE: [Nagios-users] qpage doesn't work through nagios, help!!

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