Page 2 of 2

Re: How to do checks on PRI lines

Posted: Tue Aug 01, 2017 11:54 am
by eloyd
Please PM me for offline assistance.

Re: How to do checks on PRI lines

Posted: Tue Aug 01, 2017 12:05 pm
by donnyforbes
ok will do... Thanks.

Re: How to do checks on PRI lines

Posted: Tue Aug 01, 2017 3:05 pm
by tgriep
Thanks @eloyd for the help.

Re: How to do checks on PRI lines

Posted: Tue Aug 01, 2017 4:33 pm
by donnyforbes
eloyd wrote:Please PM me for offline assistance.
I did PM you in regards to this, however I did check on the logserver and we don't want to spend any extra money. Is there another way you can recommend doing this?

Re: How to do checks on PRI lines

Posted: Tue Aug 01, 2017 4:41 pm
by donnyforbes
lmiltchev wrote:The first step is to test the script from the command line. If it works, you can create a new command and service check in XI by following the steps, outlined in the document below:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Let us know if you have issues with following the document or if you get stuck on something.
Hi This script does work from the command line it has been tested many times. How and what do I need to do to get this to work with Nagios? I looked at this documents link you placed earlier, however I do not know what plugin to use for this. I am running Nagios XI on a Centos linux box.

Re: How to do checks on PRI lines

Posted: Tue Aug 01, 2017 4:49 pm
by donnyforbes
I found a plugin called "check_asterisk.pl and have downloaded it then uploaded it to Nagios XI. From the server I ran this to locate it.

Code: Select all

[root@nag downloads]# find / -name check_asterisk.pl
/usr/local/nagios/libexec/check_asterisk.pl
/usr/local/nrdp/plugins/AIX/check_asterisk.pl
/usr/local/nrdp/plugins/Generic/check_asterisk.pl
/usr/local/nrdp/plugins/SunOS/check_asterisk.pl
How do I use this with my two server that are running FreePbx? The server are in the XI console with ping check enabled only.

Thanks

Re: How to do checks on PRI lines

Posted: Tue Aug 01, 2017 5:21 pm
by donnyforbes
This can be locked. I am going to open a different ticket.