Nagios plugin for checking if a USB device is till connected to a SX3000GB Device server


nagios plugin for checking silex technology SX-3000GB Gigabit-Ethernet USB Device Server -

Copyright (C) 2015 Jürgen Steinblock

Report bugs to:

14.04.2015 Version 1.0


This script fetches the webpage from a SX-3000GB Device Server (may or may not work with other silex device servers). The purpose is to check if a license dongle is still connected and (optionally) if it's connected to the right host. You need to specify the hostadress and either the device name shown in the web interface or the device id (a zero based value) for the port This script either outputs OK (device still conntected) or CRITICAL (device disconnected or connected to wrong host).


./ -H -i 0 checks if device is still connected

./ -H -n "HASP HL 2.16" -C checks if device is connected to IP


The script outputs the duration from the web server response. However, for the devices I testet it only contains a time value shorter 24h so you can't tell the total connection time.