Dec 172015
 

Our Cacti installation was not showing our complete “data source” title length under the “Graph Management” menu. But instead trimmed the title with three dots at the end (…) . Which made it impossible to select the right datasource to use.

cacit-title-length

This is not a value you can change in the GUI. If you want to change this you need to dive into the PHP code instead. Let’s just do that.
Continue reading »

Dec 102012
 

Nagios-authentication
We moved our Nagios installation to a new (High performance) server. Some users started complaining that with every refresh of their browser screen the http password box appeared and asked for the login and password of the secure site.

After some searching around in log files it hit me:

10.248.2.198 – blaat [05/Dec/2012:16:00:13 +0100] “GET /nagios/media/hostdown.wav HTTP/1.1” 401 493 “-” “NSPlayer/12.00.7601.17514 WMFSDK/12.00.7601.17514”
10.248.2.198 – blaat [05/Dec/2012:16:00:15 +0100] “GET /nagios/media/hostdown.wav HTTP/1.1” 401 493 “-” “NSPlayer/12.00.7601.17514 WMFSDK/12.00.7601.17514”

The browser (IE 9.x in this case) loads the “status.cgi”. Because there is a hostdown, I wants to play the according media file. IE apparently don’t has any build in decoder for .wav files. And it uses the NSplayer embedded within IE for this. Problem is that somewhere between parsing and remembering the L&P for this site/file there goes something wrong. Because with every refresh (and thus every get of the .wav file) the password box pop-ups.

Highly annoying. Not want to lose to much time to fix this, I decided that the easiest way was to make all *.wav free files.
Continue reading »

Mar 192012
 

putty_ssh_proxy_error_403I was trying to setup (SSH) Internet access to github.com on some servers wich don’t have any Internet connectivity.

I wanted to use SSH instead of HTTP because this way you can use encryption keys instead of username and password authentication for github.

There are some excellent guides out there how to do this with corkscrew. I used one of those and almost got it working …… :
[martin@dhcp3b.hgl-pv ~]$ corkscrew 10.255.248.131 8080 github.com 22
Proxy could not open connnection to github.com: Forbidden

putty displayed the same error so the problem was probably with the proxy. If you need to fix this allow the (Squid) proxy to be able to open a connection to port 22.

Continue reading »