nagios check_sip plugin
Marc Powell
marc at ena.com
Tue Sep 9 23:16:15 CEST 2008
On Sep 9, 2008, at 4:07 PM, Robert McNaught wrote:
> Does anyone have a working example of the check_sip plugin working,
> if so could they post the command definition and the service
> definition?
I don't, but can say that nagios doesn't run plugins as root as you
did below. The difference in permissions is frequently a cause of
failures. Try running the plugin as the nagios user to see if you see
more useful output.
> On Mon, Sep 8, 2008 at 3:43 PM, Robert McNaught <asteriskator at gmail.com
> > wrote:
>> Hi, I am using Nagios 3 on CentOS 5.
>>
>> I am not understanding how to set up a service check for SIP (Session
>> Initiation Protocol).
>>
>> I can run the check_sip perl script from the command line and get a
>> valid response, but cannot get it to work under nagios.
>>
>> [root at lab01 libexec]# /usr/local/nagios/libexec/check_sip -u
>> sip:username at server.hostname.com -f sip:username at server.hostname.com
>> -H server.hostname.com
>> SIP/2.0 200 OK, 0.017372 seconds response
>> time|rtt=0.017372s;0.5s;1s;0:10; code=200
--
Marc
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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