Nagios - Additional output
Re: Nagios - Additional output
Hi Supports!
For the output of nagios.
I had set config in the "global config" for our file server but I can't see it on the output.
After applying the config, do I need to manually apply it to the logstash config file (logstash/etc/conf.d0?
looking forward hearing from you!
Best Regards,
TCSDI
For the output of nagios.
I had set config in the "global config" for our file server but I can't see it on the output.
After applying the config, do I need to manually apply it to the logstash config file (logstash/etc/conf.d0?
looking forward hearing from you!
Best Regards,
TCSDI
Re: Nagios - Additional output
Code: Select all
I had set config in the "global config" for our file server but I can't see it on the output.
Nothing needs to be done to logstash/etc/conf.d0.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios - Additional output
Hi Support,
what should be the config here for logstash?
For example, I would like to receive logs from my fileserver and also output those logs to another server.
How would I do that?
Regards,
Christian
what should be the config here for logstash?
For example, I would like to receive logs from my fileserver and also output those logs to another server.
How would I do that?
Regards,
Christian
Re: Nagios - Additional output
You would need to create an input for the files to come in on and an output for NLS to send data to. You should only be doing this in the web UI and not making any changes directly to the configuration files.
Most of the time the default inputs are sufficient but there are many more - https://www.elastic.co/guide/en/logstas ... ugins.html. You can also add other output methods - https://www.elastic.co/guide/en/logstas ... ugins.html.
Most of the time the default inputs are sufficient but there are many more - https://www.elastic.co/guide/en/logstas ... ugins.html. You can also add other output methods - https://www.elastic.co/guide/en/logstas ... ugins.html.
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.
Re: Nagios - Additional output
Hi Support,
Thank you for your reply. After doing these changes and saving, should I see it on the configuration files also?
Regards
Thank you for your reply. After doing these changes and saving, should I see it on the configuration files also?
Regards
Re: Nagios - Additional output
Yes, the files should get updated with the config you see in the web UI.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios - Additional output
Hi @cdienger,cdienger wrote:Yes, the files should get updated with the config you see in the web UI.
Thank you very much for helping us out.
After configuring the settings in the UI, it does not edit the conf.d once we check the file. So how can we verify if our setup is correct or do we need additional config files in order to check the setup?
Re: Nagios - Additional output
Perhaps I need to clarify - simply clicking the Save button will not write to the files. You must click "Save & Apply" to write to the files. Can you confirm if you're doing this?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios - Additional output
Hi @cdienger,cdienger wrote:Perhaps I need to clarify - simply clicking the Save button will not write to the files. You must click "Save & Apply" to write to the files. Can you confirm if you're doing this?
I am clicking the "Save & Apply" but the conf.d is still not updating. I have some questions though:
1. What might be the cause why the conf.d is not updating even if I press "Save & Apply"?
2. What is the correct way of updating the conf.d, should it be done via the GUI or is it ok if I edit the conf.d file directly?
Re: Nagios - Additional output
1. What do the permission look like on the folder and the files in there? These are the permissions on my lab machine:
2. Through the GUI.
If the above doesn't help resolve the issue, please try saving and applying the changes again and then gather a profile from the system. It can be gathered under Admin > System > System Status > Download System Profile or from the command line with:
/usr/local/nagioslogserver/scripts/profile.sh
This will create /tmp/system-profile.tar.gz.
Please PM me the file but note that this file can be very large and may not be able to be uploaded. This is usually due to the logs in the logstash and/or elasticseach directories found in it. If it is too large, please open the profile, extract these directories/files and send them separately.
Code: Select all
drwxrwxr-x 2 nagios nagios 74 Jul 3 11:46 .
drwxrwxr-x 3 nagios nagios 19 Jul 2 10:26 ..
-rw-rw-r-- 1 apache apache 592 Jul 2 11:53 000_inputs.conf
-rw-rw-r-- 1 apache apache 1.1K Jul 2 11:53 500_filters.conf
-rw-rw-r-- 1 apache apache 390 Jul 2 11:53 999_outputs.conf
If the above doesn't help resolve the issue, please try saving and applying the changes again and then gather a profile from the system. It can be gathered under Admin > System > System Status > Download System Profile or from the command line with:
/usr/local/nagioslogserver/scripts/profile.sh
This will create /tmp/system-profile.tar.gz.
Please PM me the file but note that this file can be very large and may not be able to be uploaded. This is usually due to the logs in the logstash and/or elasticseach directories found in it. If it is too large, please open the profile, extract these directories/files and send them separately.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.