[asterisk-users] Nagios asterisk monitoring

Brandon Kruse bkruse at digium.com
Wed Apr 11 12:11:38 MST 2007


I wrote a very extensive plugin for cacti to monitor asterisk.....

It uses the manager interface to poll and get statistics for 1.4 and 1.2.

Let me know if you interested, ill post it, or email me directly.

-bkruse


voip crazy wrote:
> Dear list,
>
>
> I am trying to configure the nagios plugin called check_sip. I just 
> read the README file included with the plugin. I follow the readme 
> steps to configure the plugin, without success. In the  nagios web 
> interface I can see (No output!) In the status information column. If 
> I run the chech_sip plugin from a linux console, I get
> /usr/local/nagios/libexec# ./check_sip -u sip:108 at 192.168.30.10
> SIP 200 OK: 0.00 second response time
>
> I do not know why If I run the plugin from the consle it works ok, but 
> if I run it from Nagios web interface it does not run.
>
> Anyone are using this plugin?
> Could you helpme to solve that?
> Any clue will be appreciated.
>
> Thanks for your time.
>
> VoipCrazy
>
> Here goes my nagios check_sip plugin configuration.
>
> define command{
>        command_name    check_sip
>        command_line    $USER1$/check_sip -u $ARG1$ -H $HOSTADDRESS$ -w 5
>        }
>
>
> define service{
>        use                             generic-service
>        host_name                       -PBX
>        service_description             SIP test
>        check_command                   check_sip!sip:108 at 192.168.30.10
>        contact_groups                  admins
>        max_check_attempts              4
>        normal_check_interval           5
>        retry_check_interval            1
>        notification_interval           240
>        check_period                    24x7
>        notification_period             24x7
>        notification_options            c,r
>        }
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>   



More information about the asterisk-users mailing list