[Asterisk-Dev] checking if asterisk is alive?

Andy Powell andy at beagles-den.demon.co.uk
Thu Feb 19 10:49:08 MST 2004


Roy,

If you have a pluging that logs into the manager interface then use that, you can use commands like:

action: command
command: sip show channels

Response: Follows
Peer             User/ANR    Call ID      Seq (Tx/Rx)  Lag      Jitter  Format
                                                                              0 active SIP channel(s)
                     --END COMMAND--

I don;t know much about nagios, but I assume you could give the user options for the
channel types to check...

HTH

Andy


*********** REPLY SEPARATOR  ***********

On 17/02/2004 at 16:31 Roy Sigurd Karlsbakk wrote:

>hi all
>
>I want to write a nagios plugin that checks if asterisk is alive and
>running. For me, this will need to check mgcp,sip,zap and the manager.
>
>Any ideas how I can do this the best way? Would it be best to build a
>separate plugin for each of them? I already have the one for the manager
>(just logs in and out)
>
>roy
>
>_______________________________________________
>Asterisk-Dev mailing list
>Asterisk-Dev at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-dev
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev





More information about the asterisk-dev mailing list