Good morning list
I would like to run a check_sipsak check from the nagios-server to the a sip
server.
Running the command from cli, without arguments, gives
./check_sipsak
ERROR: Sorry, but a hostname or full URI must be given.
check_sipsak -H host [-c contact] [-P proxy] [-p port] [-u user] [-U uri] [-v]
so, adding arguments, gives:
# ./check_sipsak -H <sip.server.name> -u <username>
SIP OK: SIP ok
In the checkcommands.cfg I have
# 'check_sipsak' command definition
define command{
command_name check_sipsak
command_line $USER1$/check_sipsak -H $ARG1$ -u $ARG2$
}
And in the servername.cfg, I have
define service{
use generic-service
host_name servername
service_description SIP REGISTRATION
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 3
retry_check_interval 1
contact_groups unix-admins,voip-admins
notification_interval 60
notification_period 24x7
notification_options w,u,c,r
check_command check_sipsak!servername!username
}
However, when nagios runs, it returns
SIP CRITICAL: SIP failure ("...")
Any kicks in the right direction would be appreciated.
Thanks
Tom
This electronic communication and the attached file(s) are subject to a
disclaimer which can be accessed on the following link: Disclaimer - or copy
the following URL into your browser - http://www.mweb.co.za/disclaimer. If you
are unable to view the disclaimer, please contact [email protected] for a copy.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
[email protected]
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