Sendpage doesn't work with nagios
Russell Adams
RLAdams at AdamsInfoServ.Com
Wed Nov 2 17:44:59 CET 2005
FYI, I have two nagios systems using sendpage for paging.
Could it be environmental? Does the nagios user have access to
/etc/snpp.conf?
Russell
On Wed, Nov 02, 2005 at 11:15:30AM -0500, Tao Yaoning wrote:
> Hi, all
>
> I configured nagios 2.0b4 to monitor my network. It works very fine. So I
> try to configure sendpage to send me pager information.
> I installed sendpage on my nagios server, and I can use command to send
> pager by manually.
> /usr/bin/snpp -n -m "test information" testpager
> and receive the message "test information"
>
> I defined testpager information on sendpage.cf <http://sendpage.cf>, so here
> I just use character alias "testpager" to instead my really pager number
>
>
> So, I configure nagios contact information and set pager as "testpager",
> notify command is notify-by-sendpage
> notifi-by-sendpage looks like
> /usr/bin/snpp -n -m "$SERVICEOUTPUT$\n$LONGDATE$" $CONTACTPAGER$
>
> I think when nagios notify me with sendpage should use command like
> /usr/bin/snpp -n -m "whatever information" testpager
>
> But my nagios never send pager information out. I check the log files, I
> seems nagios never run the command?
> the permission of /usr/bin/snpp is 755
>
> Anybody can give me some ideas?
------------------------------------------------------------------
Russell Adams RLAdams at AdamsInfoServ.com
PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/
Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list