Skip to content
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

Another snapmirror uninitialized value error (similar to closed issues but not quite) #105

Open
kfiresmith opened this issue Jan 23, 2024 · 0 comments

Comments

@kfiresmith
Copy link

Issue Type

Bug report

Issue Detail
snapmirror_health check returns a false OK value after emitting a warning for each of the 10 relationships checked:

Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/plugins/check_netapp_ontap.pl line 1139.
Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/plugins/check_netapp_ontap.pl line 1139.
Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/plugins/check_netapp_ontap.pl line 1139.
Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/plugins/check_netapp_ontap.pl line 1139.
Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/plugins/check_netapp_ontap.pl line 1139.
Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/plugins/check_netapp_ontap.pl line 1139.
Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/plugins/check_netapp_ontap.pl line 1139.
Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/plugins/check_netapp_ontap.pl line 1139.
Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/plugins/check_netapp_ontap.pl line 1139.
Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/plugins/check_netapp_ontap.pl line 1139.
OK - No problem found (10 checked)

I absolutely DO happen to have unhealthy relationships at the moment so the false negative is a bit worrisome.

For example from the trace:

                                                                                            'name' => 'last-transfer-error',
                                                                                            'children' => [],
                                                                                            'content' => 'Transfer for volume "vsphere_redact_01" failed. Reason: Transfer failed. (Volume access error (No space left on device)).
Execute "snapmirror show -destination-vserver vsphere-redact-dr -fields last-transfer-error,unhealthy-reason -expand" to check if the constituent volumes have encountered errors.',
                                                                                            'attrkeys' => [],
                                                                                            'attrvals' => []
                                                                                          }, 'NaElement' ),
  • check_netapp_ontap version: Latest

  • NetApp Ontap version: 9.13.1

  • Monitoring solution: Nagios Core 4x

Expected Behavior
Check should result in critical due to unhealthy snapmirror relationships

Actual Behavior
Perl warnings + false report of OK

How to reproduce Behavior
Monitor an unhealthy snapmirror relationship

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant