Sebastian Mogilowskis Blog

Just another blog about administration, linux and other stuff

Allgemein

Happy SysAdmin Day! 2015

July 31, 2015 – 16th Annual System Administrator Appreciation Day http://sysadminday.com http://www.sys-admin-day.de http://de.wikipedia.org/wiki/System_Administrator_Appreciation_Day

System Administrator Appreciation Day – 2013

To all other system adminstrators “HAPPY SYSADMIN DAY !”

Happy Birthday!

This Blog today runs for 5 years. It now has about 125 entries and 380 comments. It get’s about 200 visits per day mostly on weekdays 🙂 The busiest day had 1100 visits. Thank’s a lot to all my followers 🙂

Racktables has problems with NDOUtils from Nagios

Small script reads nagios problems from ndo database and set has_problems flag in racktables: Works with plain Nagios and NDOUtils Setup or an Centreon installation. But you have to use the same name of a server in both system ! #!/usr/bin/perl use strict; use DBI; # NDO Database Settings my $ndoHost = ‘localhost’; my $ndoUser […]

,

New year new theme

Happy new year ! A new theme is online. It’s a modified version of black-with-orange. Now with a little bit more colors and more cats. I hope everything works for you. If not please let me know !

Convert PDF to Image

Using “convert” from “imagemagick” to convert a PDF to Image. Example: convert -geometry 1024×768 -density 200 -colorspace RGB input.pdf output.jpg Or use a other geometry, quality and no color: convert -geometry 2048×1536 -density 400 -colorspace gray input.pdf output.jpg Links: * http://www.imagemagick.org/script/convert.php

, , ,

Resize images (folder) with imagemagick (mogrify)

Before upload pictures to my online gallery i want to resize them to a smaller size. I don’t want to open all with a tool or something. I want to run a small script on my netbook without GUI. First install imagemagick: aptitude install imagemagick Now “cd” into the directory with your images and execute: […]

, , , ,

Firmware Update HP Procurve

1. Download firmware Download the latest firmware from http://www.hp.com/rnd/software/switches.htm 2. TFTP Server Extract the downloaded file and use a TFTP Server http://www.mogilowski.net/2010/10/25/setting-up-tftp-server-on-ubuntu Example: mv 2800-Software-I1077/I_* /srv/tftp/ 3. Install new firmware Create a telnet connection to the switch: telnet SWITCH_IP and copy the firmware to the switch: copy tftp flash TFTP_SERVER_IP I_10_77.swi Restart the switch with […]

, ,

Factory reset HP Procurve

1. Serial console Connect your PC to the switch via serial console. Use “GtkTerm” for example on Ubuntu. 2. Reset the switch Push “Reset” AND “Clear” on the front of the switch. Release “Reset” Button. If the “Test” LED blinks release the “Clear” button and wait. 2. Save the new configuration After the switch rebooted […]

, ,