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

--warn option doesn't work, -w works fine #54

Closed
karaluh opened this issue May 29, 2020 · 0 comments · Fixed by #56
Closed

--warn option doesn't work, -w works fine #54

karaluh opened this issue May 29, 2020 · 0 comments · Fixed by #56
Assignees
Labels

Comments

@karaluh
Copy link

karaluh commented May 29, 2020

sudo /usr/lib/nagios/plugins/check_smart.pl --global '/dev/sd[a-b]' --interface sat -w 'Reallocated_Sector_Ct=2,Reallocated_Event_Count=2'
OK: [/dev/sda] - Device is clean --- [/dev/sdb] - Device is clean|
sudo /usr/lib/nagios/plugins/check_smart.pl --global '/dev/sd[a-b]' --interface sat --warn 'Reallocated_Sector_Ct=2,Reallocated_Event_Count=2'
check_smart.pl v6.7.0
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 self-assigned this Jun 2, 2020
@Napsty Napsty added the bug label Jun 2, 2020
@Napsty Napsty closed this as completed in #56 Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants