Closed (fixed)
Project:
Nagios Monitoring
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Feb 2012 at 14:42 UTC
Updated:
21 Mar 2012 at 13:20 UTC
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
Comment #1
greg.harveyNo, the docs are correct.
Comment #2
marty2081 commentedI'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 dodrush -r . nagios cronit says: CRON CRITICAL - cron not running 60 mins. So I'm pretty sure README.txt is not correct...Comment #3
greg.harveyThat means you haven't installed nrpe - http://nagios.sourceforge.net/docs/3_0/addons.html
Comment #4
greg.harveyWhat am I talking about? Apologies - I think you're right.
Edit: confirmed - I am eating humble pie. Thanks for the bug report. ;-)
Comment #5
greg.harveyComment #6
greg.harveyFixed in both branches:
http://drupalcode.org/project/nagios.git/commit/b300254
http://drupalcode.org/project/nagios.git/commit/612f457
Thanks!
Comment #7
marty2081 commentedNo problem. Thanks for fixing this minor thing. Hope it saves others some time when getting nrpe to work ;).