Reading status for Nagios
Petrucci, Joseph
Joseph.Petrucci at ddiworld.com
Mon Jun 27 22:29:54 CEST 2005
It has been a while since I played with Asterisk but If I am not mistaken you can change the route by command line interface. I would look into use a ping plugin if alloud on the provider and then setup an event hanlder in nagios to change the route on Warnings of failures. Look up event handlers in the documentation and try that. when you have specific problems post them and either I or someone else on the list will try to help out.
Good luck, hope thats a start
Joe
>-----Original Message-----
>From: nagios-users-admin at lists.sourceforge.net
>[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Chris
>Mason (Lists)
>Sent: Monday, June 27, 2005 4:18 PM
>To: nagios-users at lists.sourceforge.net
>Subject: [Nagios-users] Reading status for Nagios
>
>
>I want to connect our Asterisk PBX to Nagios to allow the PBX
>to decide
>what way to route calls based on the status of the route in
>Nagios. For
>example, we have two internet providers, and two voip
>providers, one on
>each internet connection. If route A has packet loss or is down, that
>is, Nagios flags as WARN or FAIL, I wold like Asterisk to route the
>calls to the other, and if both are down, thrugh PSTN. How can I have
>the Asterisk server query Nagios for a specific service?
>
>--
>Chris Mason
>NetConcepts
>(264) 497-5670 Fax: (264) 497-8463
>Int: (305) 704-7249 Fax: (815)301-9759
>Cell: 264-235-5670
>Yahoo IM: netconcepts_anguilla at yahoo.com
>
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>from IBM. Find simple to follow Roadmaps, straightforward articles,
>informative Webcasts and more! Get everything you need to get up to
>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
>_______________________________________________
>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
>
>
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
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