Open ghost opened 7 years ago
What’s your version? Can you copy line 3761 here?
Gerhard
Von: nbesson42 [mailto:notifications@github.com] Gesendet: Dienstag, 27. Dezember 2016 09:29 An: lausser/check_sap_health check_sap_health@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Betreff: [lausser/check_sap_health] Not a HASH reference error (#5)
Hi,
I check 3 SAP systems with the plugin, since yesterday I've the following error in nagios on all systems :
UNKNOWN - Not a HASH reference at /srv/eyesofnetwork/nagios/plugins/check_sap_health line 3761.
This is my check :
check_sap_health --ashost='/H/172.16.10.1' --mode=exceeded-failed-jobs --sysnr=00 --client=100 --username=nagios --password=$USER8$
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lausser/check_sap_health/issues/5 , or mute the thread https://github.com/notifications/unsubscribe-auth/AAMJONq2Fxg4z-w6jSVWidK7pbbkVBGCks5rMMxdgaJpZM4LWHe3 .
Hi Gerhard,
I've version 1.9 from 22/07/2016.
This is line 3761 : my $from = $self->opts->lookback ? $now - $self->opts->lookback : $self->load_state( name => "to" ) ? $self->load_state( name => "to" )->{to} : $now - 3600;
Can you try https://labs.consol.de/nagios/check_sap_health/index.html I'm not sure if it helps, but then i can fix the most current Version.
Ah, and run the plugin with extra -vvvvvvvvvvv, then we'll seewhat is written to and read from the statefiles.
Hi,
I check 3 SAP systems with the plugin, since yesterday I've the following error in nagios on all systems :
UNKNOWN - Not a HASH reference at /srv/eyesofnetwork/nagios/plugins/check_sap_health line 3761.
This is my check :
check_sap_health --ashost='/H/172.16.10.1' --mode=exceeded-failed-jobs --sysnr=00 --client=100 --username=nagios --password=$USER8$