Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • About

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up

Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More

  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4401Themes and Skins13Add-ons756Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
Other Tutorials And HOWTOs SNMPTT For Trap Monitoring With Nagios
0.0 (0)
69.8K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Yoann LAMY (7)Julien DESMAREST (4)deskwork_itunes142 (4)Sam N (3)Davide Lemma (3)
See More
Newest Contributors
signalgrid (1)Sanna Glue (2)fisherrs (1)smolinux (1)juanfertor (1)
See More

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home > Jacco Logtenberg
JL

Jacco Logtenberg

@jacco

User Stats

Member Since: January 14, 2015

Favorites0

Views

Projects0

No Projects Found
check_smart_attributes

Added drive detection

Plugin autodetects just mounted drives of 'hd*' type. I made some changes to autodetect hda|sda|vda drives, and they don't have to be mounted too: ]# diff check_smart_attributes check_smart_attributes.new 27c27,30 # 0.91 - jacco > # - added detection of more kinds of drives (hdx,sdx,vdx) > # - drives don't need to be mounted for autodetection (using blkid instead of mount) > # 56c59 my $BLKID = "/usr/sbin/blkid"; 61d63 use lib '/usr/lib64/nagios/plugins'; 77c80 " [--drive=/dev/hda [--drive=/dev/sdb [...]]] n"; 132c135 sub detect_all_drives { 135c138 open CMD, $BLKID."|" 139c142 if(m#^(/dev/[hvs]dw)d*:s+#) { 216c219 @DRIVE = detect_all_drives();

Reviewed 11 years ago

No Favorites Found

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile