-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dumper Undefined #34
Comments
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 ***@***.***>:
I ran check_cdot_clusterlinks.pl and received the following error:
***@***.***:/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:
***@***.***:/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. |
Fixed :) |
I replaced the file and it works great. Thanks @aleex42 !! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
The text was updated successfully, but these errors were encountered: