This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | local usbWatcher = nil | |
| -- This is our usbWatcher function | |
| -- lock when yubikey is removed | |
| function usbDeviceCallback(data) | |
| -- this line will let you know the name of each usb device you connect, useful for the string match below | |
| hs.notify.show("USB", "You just connected", data["productName"]) | |
| -- Replace "Yubikey" with the name of the usb device you want to use. | |
| if string.match(data["productName"], "Yubikey") then | |
| if (data["eventType"] == "added") then | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| // quick and dirty argument parsing | |
| foreach ($argv as $arg) { | |
| if ($arg == '-f') { | |
| define('FOLLOW', true); | |
| } | |
| if ($arg == '-h') { | |
| define('HISTOGRAM', true); | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/usr/bin/perl | |
| # icinga: -epn | |
| # check_ilo2_health.pl | |
| # based on check_stuff.pl and locfg.pl | |
| # | |
| # Nagios plugin using the Nagios::Plugin module and the | |
| # HP Lights-Out XML PERL Scripting Sample from | |
| # ftp://ftp.hp.com/pub/softlib2/software1/pubsw-linux/p391992567/v60711/linux-LOsamplescripts3.00.0-2.tgz | |
| # checks if all sensors are ok, returns warning on high temperatures and |