Question

Read a log file

  • 17 October 2023
  • 3 replies
  • 156 views

Badge

Good morning,

Sorry my English is a bit bad.

I'm looking for a way to read a log file with centreon. For example if I find the word error, put the service in error.

During my searches, I found check_files, but I can't find the right syntax.

Can you guide me, please.


3 replies

Badge +2

Same question here.

Badge +2

I found the “check_log3.pl” : https://github.com/pmcaulay/nagios-plugins/blob/master/check_log3.pl

 

Everything is working fine.

Userlevel 5
Badge +11

Hi @Benji, did you manage to resolve your issue? If so, please consider marking the solution that helped you as the 'Best Answer' or sharing your feedback with the community. This could be invaluable for someone facing a similar challenge. Thank you,

Reply