Page 1 of 1 - How to

PostPosted: Tue Aug 03, 2021 2:59 am
by Hij4ck
Hello everybody,
For my project, i need to install a plugins/scripts who can check the signature of the file (SHA 256).

I'm using Nagios Core 4, on a centOs 8.

I have found this "" who seems to be perfect for my need, but i'm a trainee and i don't understand how this plugin work.

Can someone explain me how to use it ? My goal is to compare file's checksum against an expected value.

Thanks in advance !

Re: - How to

PostPosted: Tue Aug 03, 2021 8:05 am
by mcapra
It would be helpful to know where you got that script from.

This is a pretty comprehensive tutorial for how to leverage custom plugins/scripts in Nagios Core: ... ck-plugin/

Re: - How to

PostPosted: Tue Aug 03, 2021 9:37 am
by Hij4ck
Hello, thanks for your answer.

I get this plugins from

Then, i follow this installation guide (at the bottom)

I managed to install it, i can now execute the plugin and it's working perfectly.

Now my question is : How do i define a command to use this check ?


Re: - How to

PostPosted: Fri Aug 06, 2021 1:38 am
by Hij4ck
Hello everyone, if someone already used a plugins like this (check_files, check_file_sha256), can you help me for defining my command.cfg ?