Hi ,
I have a requirement to monitor a Dynamically changing log file on a linux server . How can we do it through check_xi_by_ssh plugin .
Im pasting the screenshot of the Log which is dynamically changing .
How to monitor Dynamic log file for a linux server
How to monitor Dynamic log file for a linux server
You do not have the required permissions to view the files attached to this post.
-
SteveBeauchemin
- Posts: 524
- Joined: Mon Oct 14, 2013 7:19 pm
Re: How to monitor Dynamic log file for a linux server
I found a nice plugin created by Consol Labs that does log file scrape. Dynamic or otherwise.
Very well written. Been using it for many years. On Linux and MS both.
The cfg file is actually in perl and as such you can add your own selection code for dynamic file names.
Steve B
Very well written. Been using it for many years. On Linux and MS both.
The cfg file is actually in perl and as such you can add your own selection code for dynamic file names.
Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: How to monitor Dynamic log file for a linux server
Thanks Steve B.
Besides that plugin, there are few dedicated log file plugins available on the Ngaios Exchange.
https://exchange.nagios.org/directory/Plugins/Log-Files
To use one of those plugins with ssh, please see the following guide.
https://assets.nagios.com/downloads/nag ... ng_SSH.pdf
Also, take a look at the following page on our KB for example log checks.
https://support.nagios.com/kb/article/l ... s-787.html
Hope that helps answer your questions, let us know if you need further assistance.
Regards,
Benjamin
Besides that plugin, there are few dedicated log file plugins available on the Ngaios Exchange.
https://exchange.nagios.org/directory/Plugins/Log-Files
To use one of those plugins with ssh, please see the following guide.
https://assets.nagios.com/downloads/nag ... ng_SSH.pdf
Also, take a look at the following page on our KB for example log checks.
https://support.nagios.com/kb/article/l ... s-787.html
Hope that helps answer your questions, let us know if you need further assistance.
Regards,
Benjamin
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!