Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Making Monit package

    pfSense Packages
    1
    2
    819
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      indgy
      last edited by indgy

      I am putting together a Monit package (https://mmonit.com/monit)

      I have a minimal UI which is simply a large textarea for the config file, but this is my first time creating a pkg and dealing with the sharp end of ports.

      I have a couple of issues I could do with some pointers on:

      1. When saving the config from the textarea the new lines are stripped out which clobbers the config. How can I get the raw field input?

      2. I have based my package on node_exporter which requires the underlying pkg. my monit package also requires the underlying monit pkg which provides the binary and rc file. How can I ensure that the monit pkg is installed with my pkg?

      Progress here:

      https://github.com/indgy/pfSense-pkg-monit

      Thanks

      I 1 Reply Last reply Reply Quote 0
      • I
        indgy @indgy
        last edited by

        Update

        I have added an installable package which manually fetches and installs monit from the mmonit.com website, this gets around the missing monit package issue (2)

        However issue (1) remains, but this package can be added and if you're comfortable manually editing your monitrc file via SSH then the package should work for you, I am running it now.

        https://github.com/indgy/pfSense-pkg-monit/releases/tag/5.30.0_5-alpha

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.