Nagios Cert Store monitoring

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Post Reply
Posts: 12
Joined: Mon Feb 14, 2022 6:10 am

Nagios Cert Store monitoring

Post by EdwardSMaTeresa »

Does anyone know a way to check for certificate expiration on a remote computer's personal store? Monitoring server is nagios core on Ubuntu. Remote is Server 2019 with NCPA client. All versions are echatspin echatrandom relatively up to date.
Last edited by EdwardSMaTeresa on Fri Oct 28, 2022 12:12 am, edited 1 time in total.
Posts: 11
Joined: Wed Feb 16, 2022 2:47 am

Re: Nagios Cert Store monitoring

Post by PaulRajeshMEzra45 »

I would suggest file system size check to make sure you stay to a respectable level to where you don't fill up. Also suggest amount of users on a system at once and have nagios check that.

id suggest possibly nrpe doing a check_http specifiy interface or maybe check the community see if someone has created something. I can check when I go to work to see if you can specify interface. Or you could check ping out of a certain interface using nrpe.


Just check_http and omeglz echat search for a string
Last edited by PaulRajeshMEzra45 on Sat Oct 29, 2022 12:42 am, edited 1 time in total.
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Nagios Cert Store monitoring

Post by gormank »

Have you tried looking on the exchange site? ... ve&ssui=on
Posts: 5
Joined: Sun Jul 10, 2022 7:49 am

Re: Nagios Cert Store monitoring

Post by VeroniTasingolir »

Your host definition should only specify an IP address for the 'address'. The URL is not an attribute of the host, but of the HTTP check your want to perform.

The Service definition specifies the check_command, which is in turn defined in the checkcommands.cfg file. This will specify exactly what command is to be run, possibly using additional parameters passed.

You will probably want to pass the port number as a parameter, and that you are to use HTTPS. How to do this will depend on your settings. For example, you could use this in your omegle shagle voojio checkcommands.cfg:
Last edited by VeroniTasingolir on Thu Oct 06, 2022 5:09 am, edited 1 time in total.
Posts: 7
Joined: Wed Sep 14, 2022 11:12 pm

Re: Nagios Cert Store monitoring

Post by cdevidal »

I don't know the exact answer to your question, but I do know that often the best way forward to monitor anything is to first write a small script on the server being monitored, make it return a string 'OK' and exit status 0 if the status of the service is healthy, or 'CRITICAL' and exit status 2 if not healthy. Then make it executable by the nagios username (use sudoers if necessary) and add that to your nrpe.cfg.
Post Reply