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
#!/bin/bash | |
# Command paths | |
CMDNMAP=/usr/bin/nmap | |
CMDGREP=/bin/grep | |
# Return codes: | |
STATE_OK=0 | |
STATE_WARNING=1 | |
STATE_CRITICAL=2 |
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
#!/bin/sh | |
sDate=$(date +%m%d%Y) | |
sScriptName=`basename $0` | |
sScriptName=${sScriptName%.*} | |
sDownloadFolder=${sScriptName}_${sDate} | |
sDriversListingURL="http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4063&lc=en&cc=us&dlc=en&sw_lang=&product=5180698#N788" | |
sWgetParams="--random-wait --timeout=360 --no-check-certificate --directory-prefix=${sDownloadFolder} --limit-rate=500k --user-agent=Mozilla/5.0 " |
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
#!/bin/sh | |
sDate=$(date +%m%d%Y) | |
sScriptName=`basename $0` | |
sScriptName=${sScriptName%.*} | |
sDownloadFolder=${sScriptName}_${sDate} | |
#sDriversListingURL="http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4063&lc=en&cc=us&dlc=en&sw_lang=&product=5180698#N788" | |
sDriversListingURL="http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4063&lc=en&cc=us&dlc=en&sw_lang=&product=5278233" |