Navigation

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

    NRPE custom command problem

    pfSense Packages
    1
    1
    744
    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.
    • R
      rct last edited by

      Hello,

      Back in pfSense 2.1 I manage to setup a custom command for NRPE that allowed me to check the status of pfsense services (like apinger, ntpd, squid, …). You can see my mini howto here : https://forum.pfsense.org/index.php?topic=88616.msg494601#msg494601

      We manage to update our pfsense version to 2.2.x and since this update I can't get it to work.

      I will explain it assuming I want to test the apinger service.
      The NRPE script launch the command "/usr/local/sbin/pfSsh.php playback svc status apinger", parse the result and send a Nagios understandable return.
      When I launch my NRPE script from my pfsense boxes the result is OK. When I launch the NRPE test from my Nagios box I get "NRPE: Unable to read output"
      If I launch a classic NRPE test (like check_load) the result is OK.

      Does someone has an idea on how to make this work again?

      Thanks

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Products

      • Platform Overview
      • TNSR
      • pfSense Plus
      • Appliances

      Services

      • Training
      • Professional Services

      Support

      • Subscription Plans
      • Contact Support
      • Product Lifecycle
      • Documentation

      News

      • Media Coverage
      • Press
      • Events

      Resources

      • Blog
      • FAQ
      • Find a Partner
      • Resource Library
      • Security Information

      Company

      • About Us
      • Careers
      • Partners
      • Contact Us
      • Legal
      Our Mission

      We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

      Subscribe to our Newsletter

      Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

      © 2021 Rubicon Communications, LLC | Privacy Policy