Skip to main content
Question

Check output/lines inside a Linux file

  • January 10, 2025
  • 3 replies
  • 39 views

Forum|alt.badge.img+9

Hi,

Is there a plugin that I can use to monitor linux file? I need to check if the output that cronjob writes in a file is correct or not. I tried to find it, but failed.

3 replies

ltirand
Centreonian
Forum|alt.badge.img+10
  • Centreonian
  • February 24, 2025

Hello :)

I’m not sure to understand what you want to monitor. We have a Linux SNMP connector, if you want to check whether it contains anything that might meet your needs. If it’s not the case, you can try doing something custom with SNMP collections.

Kind regards.


Forum|alt.badge.img+9
  • Author
  • Steward ***
  • February 25, 2025

Basically what I need, it to check from inside any log file if word error or warning exists. I will re-check Linux connector, maybe I missed something.


sdouce
Forum|alt.badge.img+12
  • Builder **
  • February 27, 2025

Hello, 

For me , i prefer to use : https://labs.consol.de/nagios/check_logfiles/index.html 

It’s very complete