Skip to main content
Question

Read a log file

  • October 17, 2023
  • 3 replies
  • 551 views

Forum|alt.badge.img

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

Forum|alt.badge.img+6
  • Steward **
  • 30 replies
  • October 20, 2023

Same question here.


Forum|alt.badge.img+6
  • Steward **
  • 30 replies
  • October 25, 2023

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

 

Everything is working fine.


fgbetokpanou
Centreonian
Forum|alt.badge.img+11
  • Centreonian
  • 189 replies
  • November 17, 2023

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,