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

NRPE custom command problem

Scheduled Pinned Locked Moved pfSense Packages
1 Posts 1 Posters 1.1k Views
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 Apr 20, 2015, 2:19 PM

    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
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
      This community forum collects and processes your personal information.
      consent.not_received