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

Use of uninitialized value $device in string eq #31

Closed
Napsty opened this Issue Jan 8, 2019 · 2 comments

Comments

Projects
None yet
1 participant
@Napsty
Copy link
Owner

Napsty commented Jan 8, 2019

When running the plugin without any parameters it will show a perl warning:

# /usr/lib/nagios/plugins/check_smart
Use of uninitialized value $device in string eq at /usr/lib/nagios/plugins/check_smart line 143.
must specify a device!

check_smart v$Revision: 5.11 $ (monitoring-plugins 2.2)

The Monitoring Plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
[...]

@Napsty Napsty changed the title se of uninitialized value $device in string eq Use of uninitialized value $device in string eq Jan 8, 2019

@Napsty

This comment has been minimized.

Copy link
Owner

Napsty commented Jan 8, 2019

Will be fixed in 5.11.1.

@Napsty Napsty self-assigned this Jan 8, 2019

@Napsty Napsty added the bug label Jan 8, 2019

@Napsty

This comment has been minimized.

Copy link
Owner

Napsty commented Jan 8, 2019

Fixed in 5.11.1.

@Napsty Napsty closed this Jan 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment