Archive

Archive for the ‘script’ Category

Deploy Weblogic bash script

November 8th, 2017 No comments

This are linux BASH scripts to performs a weblogic deploy using Weblogic WLST API.
I wrote two versions.
They both expect the package a .zip file with all the ear files in it. I couple it with Jenkins to do remote deploys.

Read more…

Categories: HowTo, python Tags: , , , , , ,

check schedulle task nagios

February 3rd, 2017 No comments

Script to get failed schedulle jobs (plugin for Nagios/Centreon)
REQUIRES: schtasks.exe
Tested only Windows 2003

Read more…

Categories: Centreon, Nagios, plugins, script, VbScripts Tags:

vbs to list all local users of Adminisitrator

January 26th, 2017 No comments

VBS Script to list all local users of Adminisitrator and Remote Desktop,id,desctiption,enable/disable, last_login(if local)

Read more…

Windows Enumerate Servers

January 26th, 2017 No comments

Back to some VBS scripting…
This script enumerates all Servers on the current domain and test it with a ping then writes to a server.txt file.

Read more…

Categories: script, VbScripts, Windows Tags: , , , ,

python nagios scrape

December 22nd, 2016 No comments

Wrote a script in python using beautiful soap to scrub a web page.

Categories: python Tags: , , ,

Reverse SSH Tunnel

November 14th, 2016 No comments

The idea is to have my IP autostart connect to my Cloud server,
this way I can remote control my Raspberry PI without having to configure DynDNS and firewall rules.
The only requsisite is that PI has internet and run a simple script on startup to estabilish the SSH tunnel

Read more…

money conversion rate monitoring script

September 29th, 2016 No comments

If you want to easly monitor a money conversion rate, here is the script I wrote long long time ago (default is EURO x REAL)
./ moneyconversioncheck –minwarn 3 –maxwarn 4.0 –mincrit 2.8 –maxcrit 4.5 -v
Verbose Mode ON
EURO is 3.6189 validating
MONEYX OK: Value of EURO is – 3.6189

Read more…

Categories: plugins, script Tags: , , ,