Page 1 of 1

Check PRI

Posted: Wed Aug 02, 2017 10:42 am
by donnyforbes
I have a nagios XI and I just installed the log server. I was told to do the following
Nagios Log Server, send your Asterisk logs over to it, and use NLS to search for your errors and then send back alerts through NRDP to Nagios
Does anyone know how to do this? Or can someone give me instructions on how?

Re: Check PRI

Posted: Wed Aug 02, 2017 1:04 pm
by tmcdonald
To which part are you referring? Sending the logs to Log Server, or integrating with XI using NRDP?

The Asterisk logs can likely be set up using just the scripts/wizards on the home page of your Log Server web interface.

NRDP integration is on page 2 here: https://assets.nagios.com/downloads/nag ... Server.pdf

Re: Check PRI

Posted: Wed Aug 02, 2017 1:13 pm
by donnyforbes
tmcdonald wrote:To which part are you referring? Sending the logs to Log Server, or integrating with XI using NRDP?

The Asterisk logs can likely be set up using just the scripts/wizards on the home page of your Log Server web interface.

NRDP integration is on page 2 here: https://assets.nagios.com/downloads/nag ... Server.pdf
I got the logs going to the server. The part I am talking about is this.
NRDP integration is on page 2 here: https://assets.nagios.com/downloads/nag ... Server.pdf

Thanks

Re: Check PRI

Posted: Wed Aug 02, 2017 1:34 pm
by tgriep
If you are looking for the NRDP server information to fill in on the log server, you would login to the Nagios XI server and go to the Admin > Inbound Transfers menu and use the settings there.
You don't have to look at the config.inc.php file on the XI server, you can get the same data from the GUI.

Re: Check PRI

Posted: Thu Aug 03, 2017 9:09 am
by donnyforbes
tgriep wrote:If you are looking for the NRDP server information to fill in on the log server, you would login to the Nagios XI server and go to the Admin > Inbound Transfers menu and use the settings there.
You don't have to look at the config.inc.php file on the XI server, you can get the same data from the GUI.
Ok got this all setup. @eloyd suggested I do this.
Nagios Log Server, send your Asterisk logs over to it, and use NLS to search for your errors and then send back alerts through NRDP to Nagios
I am not sure what he means and when I try to message him I get no response, anyhow maybe NAGIOS support can help me get this working. Please advise
I really need this working. As I stated before we have a system called dozer and whenever we have issues with are PRI line it kicks off a perl script and sends
an email.... I need the same type of thing in Nagios...

Thanks

Re: Check PRI

Posted: Thu Aug 03, 2017 9:49 am
by mcapra
The last time I helped setup asterisk logs, it was a simple matter of pointing the system's syslog daemon (syslog-ng in this case) to the Asterisk log files.

Under the big green "+ Log Source" button in Nagios Log Server (from the index and Administration pages if memory serves), there should be a guide for configuring Linux files (or Windows files if this runs on Windows). Try running through that guide and see if you encounter any problems.

Do you know where your Asterisk log files are currently being written? Step 1 would be getting those into Nagios Log Server. Then we can worry about the NRDP stuff.

Re: Check PRI

Posted: Thu Aug 03, 2017 12:11 pm
by tgriep
Can you provide more information on the system called dozer?
What is it running?
What versions of software or firmware is it running?
Can you provide a link to the manufacturers web site?