• 0
Sign in to follow this  
Greg L

Monitor checkpoint firewall security services expiration

Question

I'm looking to figure out how to get days until from a SNMP string to monitor subscription expiration for security services on our Checkpoint firewalls

The SNMP OID outputs the expiration date as a string in this format: Fri May 21 00:00:00 2021

I'm thinking the best approach would be to create a complex datapoint and pull the snmp data via groovy script, then compare it against the current date, and have it calculate the difference in days.  Similar to monitoring SSL certificate expiration.  Does anyone have an example of this type of script?

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this