User contributions for Chubbard
Jump to navigation
Jump to search
15 October 2021
- 15:3815:38, 15 October 2021 diff hist +360 N Iwillfearnoevil links Created page with "Random links so I do not have to hunt for them... Most will not be world accessible (unless you ask) # https://grafana.iwillfearnoevil.com/d/gSgl4u8Zk/power-utilization?orgI..."
- 15:3615:36, 15 October 2021 diff hist +1 Random links No edit summary
- 15:3615:36, 15 October 2021 diff hist +290 N Random links Created page with "# https://askubuntu.com/questions/466366/is-there-a-command-to-view-hard-drive-specs # https://talesfromthedatacenter.com/2019/08/how-to-create-a-linux-partition-larger-than-2..."
- 15:3215:32, 15 October 2021 diff hist +68 Nms-existing-tests No edit summary
- 15:3115:31, 15 October 2021 diff hist +10 Nms-existing-tests No edit summary
- 15:3115:31, 15 October 2021 diff hist +321 N Nms-existing-tests Created page with "Local LAN links to different monitoring tests http://192.168.15.249/event?sort=eventSeverity&direction=DESC http://backup01:85/windowDetail.php?id=5d1036d709297 http://backup..."
- 15:2615:26, 15 October 2021 diff hist +248 N Snmp-links Created page with "==Links to external sources of information== # https://oidref.com/ # http://oid-info.com/get/ # http://www.mibdepot.com # http://www.snmplink.org/cgi-bin/nd/m/Standards/RFC%20..." current
- 15:2215:22, 15 October 2021 diff hist +245 N Bash-set-options Created page with "# set -o nounset # Treat unset variables as an error # set -o pipefail # Any non-zero exits in pipes fail # set -e..." current
- 15:2015:20, 15 October 2021 diff hist +394 N Bash-check-redis-replication Created page with "Example of using expect within a bash script This will give you both the hosts as well as an exit code to check for failures. <pre> SLAVED_HOSTS=`exec expect <<EOD set timeou..."
- 15:1815:18, 15 October 2021 diff hist +206 N Bash-check-if-root-user Created page with "<pre> got_root() { if [ "$(id -u)" != "0" ]; then echo "Failure: This script must be run as root or sudo used"; exit 2 else echo "Confirmed: running as root, or sudo used..."
- 15:1715:17, 15 October 2021 diff hist +261 N Bash-check-if-host-pingable Created page with "<pre> check_remote() { local VALIDATE=`ping -c 3 ${IP} >/dev/null 2>&1; echo $?` if [ ${VALIDATE} -eq 0 ];then echo "Failure: IP address ${IP} is still pingable!"; exit 2 el..."
- 15:1615:16, 15 October 2021 diff hist +474 N Bash-check-if-ip-address Created page with "this is a VERY simple check to see if you have an IP address as your variable <pre> function valid_ip() { local ip=$1 local stat=1 if [[ $ip =~ ^[0-9]{1,3}\.[0-..."
- 15:1315:13, 15 October 2021 diff hist +46 Bash-email-with-attachments →Send simple inline email current
- 15:1115:11, 15 October 2021 diff hist +2,821 N Bash-email-with-attachments Created page with "====Mail with attachments==== # Install uuencode and sendmail binaries <pre> function fappend { echo "$2">>$1; } send_email2 () { local EMAIL="${2}" FILE2="/tmp/${RANDOM}..."
- 15:0415:04, 15 October 2021 diff hist +18 Bash-script-framework No edit summary current
- 15:0215:02, 15 October 2021 diff hist +25 Bash-script-framework No edit summary
- 15:0215:02, 15 October 2021 diff hist +77 Bash-script-framework No edit summary
- 14:5814:58, 15 October 2021 diff hist +6 Bash-script-framework No edit summary
- 14:5814:58, 15 October 2021 diff hist +2,142 Bash-script-framework No edit summary
- 14:4714:47, 15 October 2021 diff hist +1,488 N Bash-script-framework Created page with "<pre> #!/bin/bash #=============================================================================== # # FILE: FILENAME.sh # # USAGE: ./FILENAME.sh < options..."
- 14:3814:38, 15 October 2021 diff hist +97 N Snmp-examples Created page with "== SNMP Examples == Anything that is a useful example to reuse somewhere else Category:SNMP" current
- 14:3614:36, 15 October 2021 diff hist +817 Snmp-iwillfearnoevil No edit summary
- 14:2914:29, 15 October 2021 diff hist +109 N Category:SNMP Created page with "Anything pertaining to SNMP should have a category link to here. Your one-stop shop for all your snmp needs." current
- 14:2914:29, 15 October 2021 diff hist +838 N Snmp-iwillfearnoevil Created page with "== Specific to IANA SNMP oid 30911 == Everything dealing specifically with the IANA registered SNMP oid for iwillfearnoevil.com needs to go here. Default path: 1.3.6.1.4.1.30..."
- 14:0614:06, 15 October 2021 diff hist +581 Nms-trapReceiver No edit summary
- 14:0014:00, 15 October 2021 diff hist +516 N Nms-trapReceiver Created page with "This script: trapReceiver.php is not part of the API spec, and is however part of the overall system. This is what snmptrapd calls for all inbound SNMP events. Specifically..."
- 13:5613:56, 15 October 2021 diff hist +18 Nms-api-start-services No edit summary
- 13:5613:56, 15 October 2021 diff hist +263 N Nms-api-start-services Created page with "Currently there is no systemd, so all daemons are actually running via the PHP server command directly. <pre> cd /opt/nmsApi/ php -S 0.0.0.0:8002 -t public & </pre> Nothing..."
- 13:3413:34, 15 October 2021 diff hist +227 N Category:NMS Created page with "Everything pertaining specifically to "The NMS" that is being worked on specifically at iwillfearnoevil.com should fall under this category. Secondary stuff that pertains to..." current
- 13:3313:33, 15 October 2021 diff hist +2,214 N Nms-apiEventReceiver Created page with "Logic: Calling the /trap API is not the same as an snmptrap. This is really more of an Event API living at /trap There is NO logic for inserting the event into the database...."
- 13:3213:32, 15 October 2021 diff hist +67 N Nms-database-schema Created page with "Notes on the NMS that is being built on larvel01. Category:NMS" current
- 11:5511:55, 15 October 2021 diff hist +1,125 N Create-yml-from-bash-include Created page with "[https://stackoverflow.com/questions/41598377/create-bash-script-to-create-yaml-files-from-existing-linux-etc-hosts-files|Source site] This is going to be VERY fragile, but d..." current
- 11:5211:52, 15 October 2021 diff hist −2 Ubuntu-raid-live-os No edit summary current
- 11:5211:52, 15 October 2021 diff hist −1 Ubuntu-raid-live-os No edit summary
- 11:5211:52, 15 October 2021 diff hist +5,696 N Ubuntu-raid-live-os Created page with "[ https://feeding.cloud.geek.nz/posts/setting-up-raid-on-existing/ | Original source site] Tested and works, but is really touchy on getting it right. <pre> Adjust howto for..."
- 11:5011:50, 15 October 2021 diff hist +754 N Bash-rarely-used-options Created page with "Suspect they will be version dependent, but maybe not. [https://stackoverflow.com/questions/4168371/how-can-i-remove-all-text-after-a-character-in-bash | Original link] <p..." current
- 11:4811:48, 15 October 2021 diff hist +46 N Category:Bash Created page with "All bash examples should go into this category"
- 11:4811:48, 15 October 2021 diff hist +1,531 N Bash-sorting-apache Created page with "Category:bash Example of how to sort a logfile for top hits (apache in this case) Why is this useful? Think making a case statement and stuff that is a script kiddie att..." current
- 11:4611:46, 15 October 2021 diff hist +48 N Category:Nmap Created page with "All nmap examples should link into this category" current
- 11:4611:46, 15 October 2021 diff hist +2 Nmap-examples No edit summary
- 11:4511:45, 15 October 2021 diff hist +20,376 N Nmap-examples Created page with "Origional source of these commands: [https://www.cyberciti.biz/networking/nmap-command-examples-tutorials/ | Nmap command examples] <pre> ### Scan a single ip address ### nm..."
- 11:4311:43, 15 October 2021 diff hist +63 N Category:Tcpdump Created page with "All commands that are using tcpdump should be categorized here." current
- 11:4211:42, 15 October 2021 diff hist 0 m Tcpdump find dhcp leased Chubbard moved page Tcpdump to Tcpdump find dhcp leased without leaving a redirect
- 11:4211:42, 15 October 2021 diff hist −1 Tcpdump find dhcp leased No edit summary
- 11:4111:41, 15 October 2021 diff hist 0 Tcpdump find dhcp leased No edit summary
- 11:3911:39, 15 October 2021 diff hist +3 Tcpdump find dhcp leased No edit summary
- 11:3711:37, 15 October 2021 diff hist +2 Tcpdump find dhcp leased No edit summary
- 11:3511:35, 15 October 2021 diff hist +474 N Tcpdump find dhcp leased Created page with "Different examples of useful tcpdump commands. [https://unixhealthcheck.com/blog?id=433 | origional source ] <nowiki> tcpdump -i eth0 port 67 or port 68 -e -n -vv Client-ID..."
- 11:0411:04, 15 October 2021 diff hist +78 N User:Chubbard Created page with "There is nothing interesting to say about me. I am a rather boorish person :)" current
- 11:0311:03, 15 October 2021 diff hist +56 Main Page No edit summary