using qpage

Jeff McKeon jsm at inpro.net
Thu Apr 17 20:06:20 CEST 2003


Thanks Lonny, I'll give that a try!

On Thu, 2003-04-17 at 13:51, Lonny Selinger wrote:
> Just as an example:
> 
> define command {
> command_name                   page_whoever
> command_line                   /bin/echo -e 'Host: $HOSTNAME$\nInfo: $OUTPUT$' |
> /usr/local/bin/qpage -f Nagios whoever
> }
> 
> something like the above added to misccommands is what I use to use qpage. I have
> entries for individuals and groups each with their own comand name.
> 
> --
> Lonny
> 
> > Ok, I've got qpage installed and working on my RH8.0 box... sort of.
> >
> > If I type..
> >
> > #qpage -p admin hello
> >
> > I get a message saying that it cannot connect to the SNPP server on
> > "localhost": connection refused
> >
> > However if I do...
> >
> > #qpage -i -p admin hello
> >
> > the page goes through.
> >
> > Also I had to modify the permission on my /var/lock dir to 777 to get it
> > to work (shotgun approach).  I'm a little concerned that this may be a
> > bad thing to do.
> >
> > Now assuming that I get all the glitches worked out of qpage, how do I
> > then begin sending nagios notification using qpage?  I suppose I need to
> > add some code to misccommands.cfg?
> >
> > thanks,
> >
> > Jeff
> > --
> > Jeff McKeon <jsm at inpro.net>
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > 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
> >
-- 
Jeff McKeon <jsm at inpro.net>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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