Creating New plugin

Started by reply2MK, January 19, 2022, 06:27:08 AM

Previous topic - Next topic
Hi,

I am trying to make a new plugin for opnsense where I want to check the status of files in a specific folder. If the files exist in the folder the status should show green if the files do not exist the status should be red. It should also keep on checking the status every 5 seconds.

Please advise how can I do so, or if there is any plugin that does the same.

Thanks in advance
MK

You can use monit to check content of a folder and send an alert

Hi,

Thanks for your reply.

I have created a new page (plugin) in the Menu on which I would like the status to be shown. The point is to show all relevant information on one page only.

Thanks
MK