Closed rayholtz closed 6 years ago
I think I forgot to remove the dumper After debugging ;-)
I‘ll fix that tomorrow - thanks ;-)
Am 27.02.2018 um 21:53 schrieb rayholtz notifications@github.com:
I ran check_cdot_clusterlinks.pl and received the following error:
user@server1:/usr/lib/nagios/plugins$ ./check_cdot_clusterlinks.pl --hostname netapp --username monitoruser --password pw Undefined subroutine &main::Dumper called at ./check_cdot_clusterlinks.pl line 117.
after a little digging and a hint from http://www.perlmonks.org/bare/?node_id=430132 I added
use Data::Dumper;
after the other use statements, and it corrected the issue:
user@server1:/usr/lib/nagios/plugins$ ./check_cdot_clusterlinks.pl --hostname netapp --username monitoruser --password pw OK: all clusterlinks up
Should the Data::Dumper be included there, or is there something wrong somewhere else in my install?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Wow thats quick. I'll check back in a couple days for an updated file. Thanks @aleex42!
Fixed :)
I replaced the file and it works great. Thanks @aleex42 !!
I ran check_cdot_clusterlinks.pl and received the following error:
user@server1:/usr/lib/nagios/plugins$ ./check_cdot_clusterlinks.pl --hostname netapp --username monitoruser --password pw Undefined subroutine &main::Dumper called at ./check_cdot_clusterlinks.pl line 117.
after a little digging and a hint from http://www.perlmonks.org/bare/?node_id=430132 I added
use Data::Dumper;
after the other use statements, and it corrected the issue:
user@server1:/usr/lib/nagios/plugins$ ./check_cdot_clusterlinks.pl --hostname netapp --username monitoruser --password pw OK: all clusterlinks up
Should the Data::Dumper be included there, or is there something wrong somewhere else in my install?