Nagios - Additional output

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
tcsdi
Posts: 46
Joined: Thu Jan 03, 2019 10:07 am

Nagios - Additional output

Post by tcsdi »

Hi Support

We would like to seek assistance for configuring our Nagios Log Server.

We were planning to add additional log sources that our Nagios server can output.

May we have a kb on how to edit the configurations ?

Also I have a question:

1.) Is it possible to reuse an output port that is now already being used as an output from another source?

2.) If I have a source ".90" and it is output to another server via port 1555. ?

3.) Can I used the same port to output another source ".91" ?

Looking forward to hearing from you !

Regards
TCSDI
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Nagios - Additional output

Post by npolovenko »

Hello, @tcsdi. This guide should get you started on adding various Log Sources to the Log Server.
https://assets.nagios.com/downloads/nag ... Server.pdf

To answer your questions, could you clarify if you're trying to send multiple outputs from different types of sources to the same port in the Log Server? That is possible as long as the output from all sources is in the same format.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
tcsdi
Posts: 46
Joined: Thu Jan 03, 2019 10:07 am

Re: Nagios - Additional output

Post by tcsdi »

Hi npolovenko,

Can I also have a document on how to output these log sources.

I think the issue I'm having is we are having new log sources but unable to output these logs to our SOC.

Kindly get the system profile here:
https://we.tl/t-rjoTJwCQ2b

Regards,
Christian
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Nagios - Additional output

Post by npolovenko »

@tcsdi, Here's the document on all available types of outputs in Logstash:
https://www.elastic.co/guide/en/logstas ... ugins.html

In the log server to see the list of outputs or define a new one, you can go to the Configure menu and then click on the "Show Outputs" button in the right corner.
Untitled.png
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
tcsdi
Posts: 46
Joined: Thu Jan 03, 2019 10:07 am

Re: Nagios - Additional output

Post by tcsdi »

Hi @npolovenko,

About the image, I tried adding/configuring outputs but it fails.

After I add the outputs, should it also show on conf.d? Can you also send me the KB/document on how to configure the outputs.

For example:

1. how to configure and output logs from a file server with IP 10.5.99.X.

2. or how to configure and output logs from a proxy server with IP 10.5.98.X
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios - Additional output

Post by ssax »

The output filters are logstash outputs and there isn't currently a guide on this.

What type of output is your SOC expecting?

https://www.elastic.co/guide/en/logstas ... ugins.html
tcsdi
Posts: 46
Joined: Thu Jan 03, 2019 10:07 am

Re: Nagios - Additional output

Post by tcsdi »

Hi Technical Team

I'm referring to this configs:
Image

Also, the outputs I configured on global output doesn't seem to work.

Regards,
Christian
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios - Additional output

Post by ssax »

I don't have any dnslog types but if it change it to syslog it works:

Code: Select all

if [type] =~ /(syslog)/ {
	syslog {
		host => "X.X.X.X"
		port => 1523
		sourcehost => "X.X.X.X"
	}
}
Did you apply configuration after saving?

Can you verify with tcpdump on the remote system?
- Change ens160 to your proper interface (ifconfig or ip address)

Code: Select all

yum install tcpdump
tcpdump -nnXSs 0 -i ens160 dst port 1523
tcsdi
Posts: 46
Joined: Thu Jan 03, 2019 10:07 am

Re: Nagios - Additional output

Post by tcsdi »

Hi Support

For the AD server, we receive event logs but not dns logs.

We did not make any changes on the config, what could possibly be the reason for this?

Regards,
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios - Additional output

Post by ssax »

Because you NEED to make changes to the nxlog config to get the things you want:

https://nxlog.co/documentation/nxlog-us ... erver.html
Locked