[asterisk-users] Nagios asterisk monitoring

Alex Balashov abalashov at evaristesys.com
Wed Apr 11 07:18:32 MST 2007


You might have to be a little more specific about what you mean when you 
say that it "doesn't run" from the web interface.  Also, such errors might
show up in /var/log/nagios.log.  But all other things being equal, it
sounds like it might be an execution permissions issue.

More information would help!


-- Alex

On Wed, 11 Apr 2007, voip crazy said something to this effect:

> 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
> 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
>      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
>      }

Alex Balashov <sasha at presidium.org>

More information about the asterisk-users mailing list