Hi, I was playing around with the NRPE option of the Nagios module and followed the instructions in the README.txt. In one line it mentions putting "/path/to/drupal nrpe cron" in nrpe.cfg. Shouldn't this be "/path/to/drupal nagios cron"?

Comments

greg.harvey’s picture

Status: Active » Closed (works as designed)

No, the docs are correct.

marty2081’s picture

Status: Closed (works as designed) » Active

I'm sorry, but if I enter the following command: drush -r . nrpe cron ("." being my Drupal path), it says: "The drush command 'nrpe cron' could not be found.". Wheras if I do drush -r . nagios cron it says: CRON CRITICAL - cron not running 60 mins. So I'm pretty sure README.txt is not correct...

greg.harvey’s picture

Status: Active » Closed (works as designed)

That means you haven't installed nrpe - http://nagios.sourceforge.net/docs/3_0/addons.html

greg.harvey’s picture

Status: Closed (works as designed) » Active

What am I talking about? Apologies - I think you're right.

Edit: confirmed - I am eating humble pie. Thanks for the bug report. ;-)

greg.harvey’s picture

Version: 7.x-1.2 » 7.x-1.x-dev
Category: support » bug
greg.harvey’s picture

Title: Error in README.txt? » Drush command incorrect in NRPE instructions within README.txt
Status: Active » Fixed
marty2081’s picture

No problem. Thanks for fixing this minor thing. Hope it saves others some time when getting nrpe to work ;).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.