Generate alarm is NagiosLogserver license is about to expir

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
strmon
Posts: 31
Joined: Mon Dec 26, 2016 3:42 am

Generate alarm is NagiosLogserver license is about to expir

Post by strmon »

Hi,

Please suggest a way i can monitor NagiosLogserver license and generate alarm if its about to expire (let say warning 2 month to go, and critical 1 month before.)
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Generate alarm is NagiosLogserver license is about to e

Post by gsmith »

Hi,

Currently that information is not accessible without logging into the Log Server web interface.

If you or your team use a calendar - Google, Outlook, etc - you could put reminders in the calendars.

Another option is to create a script that compares today's date to the license expiry date, and have
it send out an email when the difference is 60 days, 30 days, etc. Then create an entry in the crontab
to run the script every 24 hours.

Thanks
Locked