Forfatterarkiv: mike

PHP Script to parse nagios.dat

Please add your own error-handling:

Udgivet i Nagios, PHP | Skriv en kommentar

Nagios module for monitoring smsdlog for modem-connectivity

Udgivet i Nagios, Uncategorized | Skriv en kommentar

Function to parse contacts from nagios config

Udgivet i Uncategorized | Skriv en kommentar

Tunneling HP ILO5 through SSH

Creates a tunnel to the ilo port, which in this example is 10.0.0.201 through the jumphost, after this you can connect to ILO by typing in https://locahost and accept the security warning, refreshing and logging in with your credentials.

Udgivet i Linux, SSH | Skriv en kommentar

Unmounting an NFS Share that has gone away

On Linux when an NFS share disappears it is not handled very well, to say it nicely, and in order to get a functioning machine again you need to drop that mount, but a simple umount command states that the … Læs resten

Udgivet i Linux | Skriv en kommentar

Fail2ban crash course

Just install fail2ban and the default settings will keep you protected just fine, after five failed login attempts the ip address of the offending login will be blocked for 10 minutes using iptables. If you wish to keep tap on … Læs resten

Udgivet i Linux, Security | Skriv en kommentar

Check TLS Certificate with openssl

Udgivet i Linux | Skriv en kommentar

Running and monitoring rsync with Python

Udgivet i Python | Skriv en kommentar

Printing out a gage in the console with Python

Udgivet i Python | Skriv en kommentar

XCP-NG: Delete default templates

List the templates to get the uuid of the template you wish to delete: And then remove the parameter “is-default-template” by doing this: And finally delete it by:

Udgivet i xcp-ng | Skriv en kommentar