I have installed NLS for POC, and don't know how to configure for /var/log/secure monitoring?
is it use "bash setup-linux.sh -s IP Address -p 5544 -f /var/log/secure -t ????" for "-t"option, what should i input?
Please advise. Thanks.
Alan
NLS Setup
Re: NLS Setup
The -t option is just used to provide a label or a type for the incoming data. You can call it "secure" or "security" or just about anything you want. Otherwise the command looks fine.
Former Nagios employee
Re: NLS Setup
You can call it what ever you want, but you will be stuck with this later. If you start writing custom filters and dashboard components, you may need to access your data using that tag so just be aware that you will want to make it meaningful.
As an example, we send Apache access_log files as "apache_access" and Apache error_log files as "apache_error" and Asterisk log files as "asterisk_log" and Asterisk CDR files as "asterisk_cdr" etc. This way, we can pull Web reports based on access versus errors, and Asterisk reports based on log files versus calls. You may want to consider something similar in your approach.
As an example, we send Apache access_log files as "apache_access" and Apache error_log files as "apache_error" and Asterisk log files as "asterisk_log" and Asterisk CDR files as "asterisk_cdr" etc. This way, we can pull Web reports based on access versus errors, and Asterisk reports based on log files versus calls. You may want to consider something similar in your approach.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: NLS Setup
Excellent starter tips Eloyd, that is a very good point. The sooner you decide on a schema/naming convention and copy it down, the better, it will make things 10x easier once you get into customizing your NLS a bit more.
-
- Posts: 10
- Joined: Mon Nov 24, 2014 1:51 am
Re: NLS Setup
Thanks, but after executed the script, nothing show in Nagios log server dashboard, i expect it will show all Login activities in dashboard... please advise.
Alan
Alan
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: NLS Setup
Have you tried filtering for that specific tag or host and allowing more than a 24 hour window? If you systems time are not synced NLS will accept the remote system time and respect that when entering into your database. This can cause logs that you think should be showing to display well before or after the time they would correctly be displayed at. You can also take a look at the admin->index status page and see what shards are growing. If an older or newer shard is growing, time is likely the culprit.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: NLS Setup
Time isn't holding up. Time isn't after us. Same as it ever was. Same as it ever was. Same as it ever was.time is likely the culprit.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: NLS Setup
Next you're going to start on relativity and times effect on quantum mechanics. We have a forum for that called Nagios Ideas.
Alan-kl_tam if you could let us know after you check time settings, how things are working please.
Alan-kl_tam if you could let us know after you check time settings, how things are working please.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
- Posts: 10
- Joined: Mon Nov 24, 2014 1:51 am
Re: NLS Setup
Thanks, both NLS and target system time are sync..
I have creage a program tab called "LOGIN", it show correctly in dashboard, but when i try to type wrong password, nothing show in dashboard..
Please advise.
Alan
I have creage a program tab called "LOGIN", it show correctly in dashboard, but when i try to type wrong password, nothing show in dashboard..
Please advise.
Alan
-
- Posts: 10
- Joined: Mon Nov 24, 2014 1:51 am
Re: NLS Setup
I have uploaded screenshot for reference, as i found that the time in "message" are showing the last day time and different with "@timestamp" (see Atttachement)
Please advise.
Please advise.
You do not have the required permissions to view the files attached to this post.