lazy_cat

Install a lot of software with a few clicks

If you have a new computer you always must install the same tools. There is an very nice installation tool that automate this process. All the crap with the installers is deselected by default. Go to: https://ninite.com/ Select the apps Click “Get installer” Run the installer The software will be download and installed

May 19, 2014 · 1 min · thomasf
network slow

Build your own speedtest with iperf

When you have network performance issue’s you often use speed test websites to check the network bandwidth. But mostly of the time you want to monitor the network bandwidth between two specific servers. There is a cross platform speed test utility you can use to monitor the bandwidth. The name of the tool is iperf How it works: Download the tool: http://iperf.fr/ Extract the tool in a folder and jump to the folder with the command line start the tool on the server with this command: iperf -s ...

May 8, 2014 · 1 min · thomasf

Windows 2012 R2 unstable internet connection

I had 2x HP DL 380 G6 servers with Windows 2012 R2 whit the same problem. When I start a download (I try a lot of different sites) the download drops and fluctuate. When I connect my laptop or another server on the same cable the download is stable. So my conclusion was the onboard nic. What I tried: Update latest HP SSP (2014_2) Update firmware NIC Update driver NIC Update Windows (patches) change all the default nic settings like disable tcp offload for example Try another switch Bandwidth during download: ...

April 24, 2014 · 2 min · thomasf
xi-logo-large

Nagios xi remove host and services

Run each of the following scripts from: /usr/local/nagiosxi/scripts cd /usr/local/nagiosxi/scripts/ ./nagiosql_delete_service.php –-config=LOC_MASShost_1 After the services have successfully been deleted, the host can be removed as well: ./nagiosql_delete_host.php –-host=LOC_MASShost_1 Once the host is removed, the new configuration can be applied and verified by running the reconfigure_nagios.sh ./reconfigure_nagios.sh

April 23, 2014 · 1 min · thomasf

Centos Configure time to Europe/Amsterdam

I always have some time issues in Linux. Here the howto: Check the time # date Fri Mar 18 21:50:43 CET 2011 Install and configure NTP # yum install ntp # service ntpd stop # ntpdate pool.ntp.org # /etc/init.d/ntpd start # chkconfig ntpd on Configure the localtime # cd /etc/ # ls -la |grep localtime # /etc/localtime -> /usr/share/zoneinfo/Europe/Amsterdam # ln -sf /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime Configure the shell time export TZ=CET

April 18, 2014 · 1 min · thomasf
xi-logo-large

Nagios Webinject errors

I installed a fresh copy of Nagios XI but the web transaction didn’t work very well. I made some changes to fix the problems The first status information error I had was: (null) To fix this I installed perl-suidperl yum install perl-suidperl After that I get I new error: Return code of 255 is out of bounds To fix this I changed the permissions of the webinject folder and its files: ...

April 18, 2014 · 1 min · thomasf
dialog-question

Linux find out what a process is doing

start top lsof -p strace -p ltrace -p Happy debugging :D

April 8, 2014 · 1 min · thomasf

Zenoss reverse proxy with Pound (CentOS)

Zenoss don’t support SSL certificates out-of-the-box. If you want to use an SSL connection to your zenoss monitor server the only thing you can do is use an reverse proxy. You can use this howto to install and configure a pound reverse proxy. Install pound with the EPEL Install the EPEL (more info about EPEL) repository with these commands: su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm' yum update Install pound yum install pound Install pound without the EPEL ...

February 27, 2014 · 2 min · thomasf

How to change a Wordpress site URL

Sometimes you may need to change the URL of your WordPress site. For example, it is a common practice to develop the new version of your site in a subfolder and when it is ready to move it into your root directory. WordPress, however, relies on its URL settings to work correctly. This means that if you simply move your files and database it will not work properly. The URL settings are located in the application database. Fortunately, direct database modification can be avoided by using a nice function provided by the WordPress developers named “update_option”. ...

February 7, 2014 · 1 min · thomasf

Zenoss: Performance issues with too many events

When you have too many events in your zenoss environment the zenoss webinterface will be very sloooooooow. And you get all kind of errors: Script don’t respond Connection refused. Check zeneventserver status on deamons A zenoss error has occurred When you start top you see alot of java executables when you click on the Infrastructure zenoss button. Java sometimes take 350% CPU. java -Djetty.host=localhost -server -XX:+HeapDumpOnOutOfMemoryError -DZENOSS_COMMAND=zeneventserver -DZENHOME=/opt/zenoss -Djetty.home=/opt/zenoss -Djetty.logs=/opt/zenoss/log -Dlogback.configurationFile=/opt/zenoss/etc/zeneventserver/logback.xml -Xmx1024m -DZENOSS_DAEMON=y -jar /opt/zenoss/lib/jetty-start-7.5.3.v20111011.jar --config=/opt/zenoss/etc/zeneventserver/jetty/start.config --ini=/opt/zenoss/etc/zeneventserver/jetty/jetty.ini --pre=etc/zeneventserver/jetty/jetty-logging.xml ...

February 3, 2014 · 3 min · thomasf