upgraded ESXI to 6.5 U1 which is version 6.5.0 build 5969303

You are running HPE Customized Image ESXi 6.5.0 version 650.10.1.0.47 released on July 2017 and based on ESXi 6.5.0 Vmkernel Release Build 5310538

unfortunately the HP Microserserver Gen8 is than running with: HPE_bootbank_scsi-hpvsa_5.5.0.102-1OEM.550.0.0.1331820

As I was (and still am but as of writing I am in maintenance mode) seeing spikes in my CPU usages. It might be caused by the bad performance

checking with:
cd /vmfs/volumes/datastore1
time dd if=/dev/zero of=tempfile bs=8k count=1000000

It took a very long time to see some output. (Very long time!)

than I tried to downgrade to the hpvsa-5.5.0-88.zip driver

guidelines:

  1. enter maintenance mode
  2. I do a reboot, but you can do it probably without
  3. copy the downloaded driver to /tmp/ and run the following command
  4. esxcli software vib install -d /tmp/hpvsa-5.5.0-88.zip
  5. the old driver will be removed and the 5.5.0-88 driver installed
  6. Now important: if you do reboot this way: you will not see your DataStores anymore, only your NFS datastores (in my situation) this is caused by VMWARE ESXI as it will be using vmw_ahci driver for the datastore.
  7. so disable the usage of this ‘default’ driver: esxcli system module set –enabled=false –module=vmw_ahci
  8. now you can reboot and your device will be using the 5.5.0-88 driver
  9. you can see this by using; cat /proc/driver/hpvsa/hpvsa0

the speed should have been returned.

 

I am using Weewx to read data from my weatherstation

But once in a while I have issues:

  • starting the driver / python app
  • after x days no data is being collected (and not being ftp-ed) and a restart does not function

I used the standard release of Weewx 3.5.0

Lucky there is a fanbase and group on google groups where  you can ask questions.

This weekend I upgraded my TE923 driver to  version: 0.18rc8. (meanwhile (22/7) this version is released as 0.18) This version can be found in the github repository and it seems to me that this version is solving some issues I had, but at time of writing I am still testing.

With this new driver I had also to make some changes to that driver and to my Raspberry Pi.

  1. I modified the TE923 Python driver: I commented this line out:
     self.devh.reset()

    (somewhere around line 1530, this caused the message that the USB part was not being claimed by python. (in previous driver versions this was not being reported, so it has to be something in the driver causing this. By commenting this line out, it is making sure that there is no ‘fake reset’ of the usb part. (Note: I did not test what will happen if I am using this line again in combination with the 2nd modification / addition I made).

  2.  and I found a special line for the Raspberry Pi to init the USB for usage with the TE923 driver:

sudo nano -w /etc/udev/rules.d/99-te923.rules

add this line:

ATTRS{idVendor}=="1130", ATTRS{idProduct}=="6801", MODE="0660", GROUP="plugdev", RUN="/bin/sh -c 'echo -n $id:1.0 > /sys/bus/usb/drivers/usbhid/unbind'"

and save it
with

udevadm control --reload-rules
you reload the settings

now stop / start weewx again (/etc/init.d/weewx start / stop / start etc..

Update: 1 week after I wrote this the weatherstation stopped responding again ..
Cause: the SD card had no space left.
here a tip: if you use raspbian, make sure your whole SD card is being used. My Linux install was not extended with the option in the raspbian config. This options allows you to use the whole SD card size

use raspi-config and use the option to expand the filesystem

 

Update 2:

Server has more than 51 days of uptime… and still running smooth

Update 3:

Server is now up for 147 days. Due to some own power stuff and relocations I had to stop it for a while
but still happy that it is running smootly

 

For many years I am using PGOffline, a tool to get all the content from yahoogroups.

PGOffline was using up to version 3 an Access Database but with the release of version  4 they went to an SQLite database.  Here came my problem.

For years I was inserting the data from the Access Database into an MySQL database so that with an PHP script I could search through more than 100.00 messages.

But after PGOffline went to SQLite I had an issue cause my ODBC connection was not working anymore. Due to some change in PC’s and notebooks I lost my access database with the ODBC and Queries as well (damn .. )

Altough the mailinglist is not that active anymore, there were some 6000 messages submitted in around 1,5 to 2 years. and I want to have them inserted in the MySQL database still ..

The issue I had was that the SQLite database of PGOffline contains a BLOB (Binary Object)  with the message and is not ‘simply’ readable.

for months I was trying and there was no solution for me to fix that. Until last weekend. And actually it was pretty easy. And I fixed it ..

1. Microsoft Access

2. Make sure you have access to your MySQL database and able to connect to it (do check my.cnf for the bind address (if you are on Linux) make sure you can connect to it from other machines) and make sure the firewall does not block its port (which I noticed after 15 minutes of trying or so)

3. install MySQL ODBC drivers in your environment

4. install SQLite ODBC drivers in your environment

In Access make sure you link to the database with linked tables.

the SQLite database is just the file. In my example its on the same computer as the Access database

The issue I had with the SQLite database and its linked tables was that the ODBC driver did not allow me to search with wildcards (select * from person  where person is like ‘a%’) . To make sure I have all subscribers I made an update query to a local table with all the persons, but in fact that is not needed.

Than I made sure I could read the messages

with this query: ‘StrConv([content],64)’ I was able to decode the BLOB.  and with some other InStr queries I removed the beginning and end of the start of the message as this is ‘garbage’ not needed, I added some HTML breaks.

Finally I created an update query inserting all the new messages from the SQL database not in the MySQL database, I even found that very old messages were not imported at all they were forgotten, now they were inserted as my Query statement request to insert all YahooMessageID’s not in the MySQL database ..

 

 

 

[nerd mode] this article includes the update with solution ;-)

Does someone know how to configure Munin to change or rename graph titles of a smart switch with SNMP?

I have a smart Ethernet switch and I get my SNMP data, but the interface ports are called: interface port 1, interface port 2, interface port 3 etc.. But I want to have this renamed so that I can identify the various interface ports as: router, NAS, uplink, wireless, server1, server 2 etc.

Is it possible to configure this with munin?

I’ve looked in the docs, but cannot find anything about how to rename something.

Update, after long searching and looking through manuals/guides/how-to I have found what does the job [this was the entry telling me: hey that could be the solution]

in munin.conf select the config part where the device / node is configured

[highway1]
address 127.0.0.1
use_node_name no

Under use_node_name no you can put your manual ‘overrides’

Port one of my smart switch is called:

  • snmp_highway1_if_err_1 (for errors)
  • snmp_highway1_if_1.graph_title (for traffic)

So here I define the names of the interfaces:

snmp_highway1_if_err_1.graph_title [P1] Cable/Router Errors
snmp_highway1_if_1.graph_title [P1] Cable/Router Traffic
snmp_highway1_if_err_2.graph_title [P2] Smart Switch Boven Errors
snmp_highway1_if_2.graph_title [P2] Smart Switch Boven Traffic
snmp_highway1_if_err_3.graph_title [P3] AccessPoint/Switch Kamer Errors
snmp_highway1_if_3.graph_title [P3] AccessPoint/Switch Kamer Traffic

etc.

The magic is done with .graph_title, per interface you can define the graph title.

After 5 minutes of waiting my graphs are being updated and generated with the correct interface names so that you can remember what you have connected to which port of your smart switch (in my case).

networktraffic

  • Effeweg.nl
  • Van nood (Oostenrijk)
  • Arke
  • Oad
  • Slangenreizen
  • Onafhankelijke busmaatschappijen die bijv. naar festivals gaan
  • en alle die ik vergeten ben

(hierbij uitgezonderd natuurlijk de buurtbus en de bussen die passagiers van treinen moet vervoeren als er treinen uitvallen).

 

  1. Vertrek: alle dagen rondom 7.30 (soms eerder)
  2. Aankomst: alle dagen mogelijk tussen 17.00 ~ in de nacht

Overlast:

  • Ronkende motoren van de bussen
  • Aircos van de bussen
  • Parkerende weg en ophalers
  • Plassende mensen in de bosjes, aanbellen om te mogen plassen
  • Parkeren op parkeerplekken van bewoners ipv bij het station
  • Parkeren in de berm,
  • Lichten in de woningen
  • Schreeuwende mensen
  • Toeterende autos
  • Versperren van de weg want: parkerende auto’s (terwijl het een doorgaande weg is en het dus gevaarlijk kan zijn

Buslus wordt illegaal gebruikt: er staat zelfs een stopverbod.

Op sommige dagen staat P&R de Maten geheel vol waardoor autos op de buslus parkeren.  In een jaar tijd totaal geen handhaving gezien.

Oorzaak is wel bekend: voor 2013 was er nog geen woonwijk maar alleen een toegangsweg met weiland naar Station de maten, nu in 2014 staan er woningen richting het station, echter houden de busmaatschappijen hier geen rekening mee

Hebben ze een vergunning om deze plek als opstap en uitstapplaats te gebruiken?  Er is vanuit de buurt verschillende malen via Sociale Media en E-mail gevraagd om actie / terugkoppeling van het gevraagde, maar de maatschappijen communiceren niet of willen niet communiceren.

Gemeente Apeldoorn, de project ontwikkelaar (want die wil fase 2 bouwen) en zie maar eens de woning verkocht te krijgen als nieuwe bewoners het bovenstaande weten ..

Oplossing simpel: verkassen naar de gigantische parkeerplaats bij het Omnisport Centrum (De Voorwaarts)

Iedereen blij. Makkelijk toch? Hier en daar wat websites aanpassen en wellicht wat folders, maar dat zal het dan wel zijn.

Wanneer? Liever gisteren dan morgen want ik zie de bussen voor de kerstmarkten al verschijnen ..

Update: we staan in de krant

 

Last week I received an e-mail about a request to remove a weblog post from 2002 !

The post, about: ZigBee and Bluetooth was referring to Click Consult. Analysing it I saw that the PDF file it was linking to was receiving an Error 404 (it does not exist anymore).

So I removed it. One day later again the girl in the mail cause they found that I had it still on my MovableType export weblog. Damn I had to edit HTML now ..

So to have Click Consult to be in compliance with Google Webmaster guidelines I had to remove it .. uhmm Should I have charge them?

I use a number of ‘open’ directories on my server for years, but I switched servers and updated Plesk to version 11.

Suddenly my open directories where not open anymore and no content was visible. In my error.log I find this error:

Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/domain.com/httpdocs/index.pl

I searched the internet and I could not find a good solution other than that I had to change my dir.conf where is stated: DirectoryIndex at_domains_index.html index.php index.html index.cgi index.pl index.xhtml index.htm index.shtml index.cfm

I even changed my vhost configuration what did not work either, it might helped finding the solution, so I will check if my changed vhost.conf is necessary.

in the end: changing dir.conf with the line about the indexes was the solution. I had to remove to remove at least the perl (.pl) one.

I now have:

DirectoryIndex at_domains_index.html index.php index.html index.htm

restarted apache with: service apache2 restart and issue was resolved

zo, vandaag weer eens een oud spelletje gespeeld met spammers. Wat scripts waren op de een of andere manier aangetast.
Beestje lastig uitzoeken wat, maar ik denk te weten wat het was ..
helaas pindakaas voor de rotating banners..

 

Gezocht: Onderstaand gedeelte moet gebruik gaan maken van een proxy (IP adres en Port) maar wat ik ook probeer, ik krijg alleen maar een negatieve response terug. Dus ergens gaat er wat mis als ik er een ProxyHandler erbij wil voegen. Iemand een idee?

self.req = None
self.req = urllib2.Request(url)
self.req.add_header(“User-agent”, programma.USERAGENT)
self.connect()

elif autosub.Helpers.checkAPICalls(use=True):
self.req = None
self.req = urllib2.Request(url)
self.req.add_header(“User-agent”, programma.USERAGENT)
self.connect()

else:
log.error(“API: out of api calls”)
 
def connect(self):
import socket
socket.setdefaulttimeout(programma.TIMEOUT)
self.resp = urllib2.urlopen(self.req)
time.sleep(5) #Max 2 connections each second

Van de week kocht Lilian van die mooie wasdroger balletjes die ervoor zouden moeten zorgen dat de was sneller droog is.. Heel mooi, … Ze vond wel dat de was erg heet was en vond ook de geur niet echt vertrouwd.

Vandaag weer de was, maar de wasdroger werd maar niet meer warm. Nu hebben we (vonden we) een hele goede wasdroger: de Siemens TXL 2500.

Dus zoeken op het internet, maar echt verder dan druk het resetknopje in kwamen we niet ..
Dus we zoeken verder … en nadat we de bovenkap en de rechterzijkant los hadden gemaakt en geen resetknopje zagen zag ik toch donkere wolken voorbij drijven ..

Maar gelukkig is het zoeken op Google toch een van die dingen wat ik waanzinnig vind en dus eigenlijk ook alles wel kan vinden wat ik zoek. Toch op een iets andere manier gezocht en ja hoor: de resetknop zit bij het warmte element. Warmte element? ahhhh .. De achterkant losgeschroeft en ja hoor dat zag ik het ronde rode knopje. En die kon ik indrukken .. en als ik hem ingedrukt had kon ik hem niet nog een keer indrukken.. Jahooeee !!..

Alles weer in elkaar gezet en het programma opnieuw gestart.. Tadahhh: warmte !!

Goed, dus heb je een probleem met de wasdroger die geen warmte meer geeft: haal de bescherming aan de achterkant van de wasdroger weg en je ziet het verwarmingsgedeelte, Bovenin zit een knopje (rood) die je kan indrukken.