The Pink and Black Attack are Back! This time in Calculator form. Try out the calculator that is the best there is, the best there was and the best there ever will be! YOU KNOW IT! Now with support for duodecillion numbers! This was made using the Corona SDK. If you’re interested, check out the… Continue reading Pink Calculator Now on the Google Play Store
Category: Software
Software
FreeIPA Password Expiry Notification Script for Red Hat Identity Management
Hey there friends, I’ve got a quick’n’sloppy bash shell script that’s fairly useful, if you’re using a FreeIPA identity management domain on CentOS/RHEL/Scientific Linux and want to notify people via email of when their password is going to expire. The script assumes it’s being run on an IDM server system with access to the following… Continue reading FreeIPA Password Expiry Notification Script for Red Hat Identity Management
Incron, Watcher Python PyInotify Alternative. Recursively Watch A File System for Change Events using inotifywait, inotify
If you have a folder in your home directory called “/root/FilestoWatch” and in there you have a bunch of files and folders that you want to constantly be checked for changes. There are a few options out there for this type of thing: – crond (limited to every minute) – incrond (cannot recursively watch a… Continue reading Incron, Watcher Python PyInotify Alternative. Recursively Watch A File System for Change Events using inotifywait, inotify
PowerShell csv Reports for VMware vSphere Info via vSphere API/PowerCLI
PowerShell Script Lightning Round! This will give you reports of your vSphere VMs, Hosts and Datastores in csv files. You’ll need to have PowerCLI installed and have your Get-ExecutionPolicy set to Unrestricted. (Set-ExecutionPolicy unrestricted). Also this will need a modern Windows OS because it uses PowerShell 2.0 $VCServerName = “Your vCenter Server’s IP Address Or Hostname”… Continue reading PowerShell csv Reports for VMware vSphere Info via vSphere API/PowerCLI
Nagios CPU Average Checker for Linux and NRPE
Yo, so check out this script. It is pretty simple and basically just uses sar to check for overall CPU utilization on the system. It’s setup to work with Nagios and can be called via NRPE. Here is the syntax, which should look familiar to you, as a Nagios user: ./check_avg -w 30 -c 50… Continue reading Nagios CPU Average Checker for Linux and NRPE
Simple ARP Poisoning Check Shell Script
Note that this doesn’t really work for servers using alias IP address on a parent interface since the MAC address will be used more than once by design. Put it in cron and make sure to change the EMAIL variable: #!/bin/sh # Simple ARP Poisoning Check currentmonth=`date “+%Y-%m-%d %H:%M:%S”` logpath=”/var/log” EMAIL=me@email.com logname=”arpwatch.log” echo “ARP Poisoning… Continue reading Simple ARP Poisoning Check Shell Script