Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_usb

Rating
0 votes
Favoured:
0
Current Version
1.1
Last Release Date
2018-08-30
Owner
Hits
6322
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
NRPE Plugin - Check if a USB is plug-in to a computer or server.
NRPE Plugin - Check if a USB is plug-in to a computer or server.

To use this plugin it's necessary to have 'lsusb' installed on the machine where this script will be executed.

The USB ID can be found by executing 'lsusb' on the command line. The TAG can be anything that allows you to remember what USB device it's (must not contain blanks or dashes).

The plugin will return CRITICAL status if one of the USB identifiers isn't found.

Syntax:
check_usb usbID[-TAG] [usbID[-TAG]]

Examples:
check_usb 016e:0423
check_usb 016e:0423 03ab:2312
check_usb 016e:0423 03ab:2312 01cb:2116 31ab:2812
check_usb 016e:0423-Micro 03ab:2312-Webcam 31ab:2812