check_logfiles
check_logfiles
how to get this done ,,, i need to sniff some pattern in diff log files from diff services... how to install and how can get this run from client and server side? Thanks in advance
Re: check_logfiles
You should be able to do so with the -q option of the check_logs plugin or by downloading and installing the check_logfiles plugin.
You can see the installation instructions here:
https://labs.consol.de/nagios/check_log ... stallation
Look in your libexec folder to see what plugins are present in XI.
check_logfiles on GitHub
check_logfiles on Nagios Exchange
You can see the installation instructions here:
https://labs.consol.de/nagios/check_log ... stallation
Look in your libexec folder to see what plugins are present in XI.
Code: Select all
cd /usr/local/nagios/libexec && ls
check_logfiles on Nagios Exchange
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: check_logfiles
I have the following
Code: Select all
[root@nagios libexec]# ls check_l*
check_last_logs.pl check_ldap check_ldaps check_load check_log
[root@nagios libexec]# ls -al check_l*
-rwxrwxr-x 1 apache nagios 1811 Sep 24 2019 check_last_logs.pl
-rwxrwxr-x 1 apache nagios 227968 Jun 27 10:32 check_ldap
lrwxrwxrwx 1 apache nagios 10 Jun 27 10:32 check_ldaps -> check_ldap
-rwxrwxr-x 1 apache nagios 169704 Jun 27 10:32 check_load
-rwxrwxr-x 1 apache nagios 7068 Jun 27 10:32 check_log
[root@nagios libexec]#
Re: check_logfiles
If i do “configure, make and install” would be this normally for my nagios server without missing with the integrity of the system
and copy it to /usr/local/nagios/libexec and then chmod +x it and also chown nagios:nagios it.
and copy it to /usr/local/nagios/libexec and then chmod +x it and also chown nagios:nagios it.
Re: check_logfiles
Yeah, can run the following commands to configure and then install it.
It will install in the default directory, so I don't think you have to move it there.
Code: Select all
cd /tmp
wget https://labs.consol.de/assets/downloads/nagios/check_logfiles-3.12.tar.gz
tar zxf check_logfiles-3.12.tar.gz
cd check_logfiles-3.12
./configure
make all
make install
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_logfiles
Greatfsodah wrote:Done ... please close it
Locking thread