Skip to main content
Question

Check output/lines inside a Linux file

  • Jan 10, 2025 1:41 PM UTC
  • 3 replies
  • 69 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+13
  • Centreonian
  • Feb 24, 2025 2:38 PM UTC

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 ***
  • Feb 25, 2025 8:16 AM UTC

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 **
  • Feb 27, 2025 9:42 AM UTC

Hello, 

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

It’s very complete