Check PRI

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
donnyforbes
Posts: 357
Joined: Tue Jun 13, 2017 2:17 pm

Check PRI

Post 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?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Check PRI

Post 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
Former Nagios employee
donnyforbes
Posts: 357
Joined: Tue Jun 13, 2017 2:17 pm

Re: Check PRI

Post 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
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Check PRI

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
donnyforbes
Posts: 357
Joined: Tue Jun 13, 2017 2:17 pm

Re: Check PRI

Post 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
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Check PRI

Post 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.
Former Nagios employee
https://www.mcapra.com/
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Check PRI

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked