Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Creating New plugin
« previous
next »
Print
Pages: [
1
]
Author
Topic: Creating New plugin (Read 3746 times)
reply2MK
Newbie
Posts: 12
Karma: 0
Creating New plugin
«
on:
January 19, 2022, 06:27:08 am »
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
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Creating New plugin
«
Reply #1 on:
January 19, 2022, 07:19:30 am »
You can use monit to check content of a folder and send an alert
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
reply2MK
Newbie
Posts: 12
Karma: 0
Re: Creating New plugin
«
Reply #2 on:
January 19, 2022, 08:21:18 am »
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
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Creating New plugin
«
Reply #3 on:
January 19, 2022, 12:31:31 pm »
Then you need to start here:
https://docs.opnsense.org/develop.html
Or here:
https://www.routerperformance.net/opnsense/plugin-development/
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Creating New plugin