I am having the problem of installing a plump plugin on the centos operating system I tried all the possibilities and did not find any correct tutorial to help me.
You need to install the nagios-plugins-all package and edit your config.php adding this:
$config['show_services'] = 1;
$config['nagios_plugins'] = "/usr/lib64/nagios/plugins";
Also, ensure all the plugins are executable with:
chmod +x /usr/lib64/nagios/plugins/*
And you should be done with that.
All I said comes from the docs: https://docs.librenms.org/Extensions/Services/
The only change is the directory, as in centos is different from the documentation.
thanks I solved, I want to ask one more thing monitoring-plugins.org what function it has? where it should be installed or not installed as we have seen it has several monitoring functions
In LibreNMS, none.
I didnt even know about that site.
I managed to add http service but I do not understand where I can add alert if the status of the service changes.
In Alerts->Alert Rules
Create rule from collection and search for service
how can I change the alert to be much faster to be a 30 second check for services
Last Changed | Description | Message | ||
---|---|---|---|---|
31 minutes 8 seconds | HTTPS | CRITICAL - Cannot make SSL connection. | ||
139991931291568:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:s23_clnt.c:769: |
how could I use the service description messages and Last Changed information in the message.
If you are using cronjob, just change the check-services.php one to the desired time
Create a template Templates - LibreNMS Docs and attach to your alert rule