[Wed, 11 Jan 2012 17:02:10 +0000] INFO: Processing service[nagios-nrpe-server] action enable (nagios::client line 63) | |
[Wed, 11 Jan 2012 17:02:10 +0000] INFO: Processing nagios_nrpecheck[check_load] action add (nagios::client line 69) | |
[Wed, 11 Jan 2012 17:02:10 +0000] INFO: Adding check_load to /etc/nagios/nrpe.d/ | |
[Wed, 11 Jan 2012 17:02:10 +0000] INFO: Processing template[/etc/nagios/nrpe.d/check_load.cfg] action create (/var/chef/cache/cookbooks/nagios/providers/nrpecheck.rb line 23) | |
... | |
[Wed, 11 Jan 2012 17:02:10 +0000] INFO: template[/etc/nagios/nrpe.d/check_load.cfg] sending restart action to service[nagios-nrpe-server] (delayed) | |
[Wed, 11 Jan 2012 17:02:10 +0000] ERROR: Running exception handlers | |
[Wed, 11 Jan 2012 17:02:12 +0000] FATAL: Saving node information to /var/chef/cache/failed-run-data.json | |
[Wed, 11 Jan 2012 17:02:12 +0000] ERROR: Exception handlers complete | |
[Wed, 11 Jan 2012 17:02:12 +0000] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
[Wed, 11 Jan 2012 17:02:12 +0000] FATAL: NoMethodError: undefined method `run_action' for "service[nagios-nrpe-server]":String |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
rogernolan
commented
Jan 25, 2012
Hi, did you manage to solve this error, I'm seeing exactly the same. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
ktheory
Jan 25, 2012
Not really. I tried changing the nagios_nrpecheck to use the "old style" notification syntax recommended here: http://www.sharp-tools.net/archives/002187.html
Then this error seemed to happen less, but still happened sometimes. (I don't recall the particular conditions.)
Eventually I just stopped using the nagios_nrpecheck provider altogether; and wrote my own templates that notify nagios-nrpe-server.
Not really. I tried changing the nagios_nrpecheck to use the "old style" notification syntax recommended here: http://www.sharp-tools.net/archives/002187.html Eventually I just stopped using the nagios_nrpecheck provider altogether; and wrote my own templates that notify nagios-nrpe-server. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
rogernolan
commented
Jan 25, 2012
yeah, I tried that fix too :-( |
Hi, did you manage to solve this error, I'm seeing exactly the same.