Friday 30 January 2015

Did someone say Mouse !?

Contrary to rumours, I'd just like to confirm I fixed the iMac to capture VHS video, not the cat. I did get help, a lot of help.

Tuesday 20 January 2015

DrayTek Vigor 2820 ADSL monitoring with SNMP, whats the line speed OID

One client with a DrayTek Vigor 2820n internet router has a problem with the ADSL upload speed slowing down to around 40-50% of normal on occasion. It has a big impact because there are staff out in the field needing to VPN in to the office to update the main database.

To keep an eye on performance we added SNMP monitoring to the Centrastage console for that client, with an alert to trigger if it fell below 80%. The upload line speed is typically just under 1.2Mbps with the Annex M fast upload option we have on that line. It seems to fluctuate 5-10% in normal operation anyway - possibly some dodgy wiring or just being quite a way from the exchange.

The key element of SNMP monitoring is knowing what object identifier (OID) to monitor. We used snmpwalk to dump them all out to CSV. Then matched the known line speed values to the relevant OIDs:
 .1.3.6.1.2.1.2.2.1.5.4  --- ADSL download line speed
 .1.3.6.1.2.1.10.94.1.1.5.1.2.4  --- ADSL upload line speed

DrayTek have a list of some useful Vigor router OIDs

Have you got any other useful parameters or OIDs to monitor on a DrayTek router ?


Saturday 10 January 2015

MODx Evolution 'Access Denied' to directory in assets\files

Moved a MODX Evo website to a new server, which went pretty smoothly with the standard instructions. However any user trying to access one of the directories under assets/files where all the reports etc are stored constantly got an Access Denied error.

This occurred when going into Elements >  Manage Files

If you're looking closely, you can see the directory 'Test' in this image has been truncated to 'est'. Interesting.

Tracked the fault down to an extra slash in the File Manager path. Go into Tools > Configuration > File Manager and look at the first field, titled File Manager path, see pic.

I had to remove the slash between the [(base_path)] and assets, so the entry should read [(base_path)]assets/files

HTH



Trust 1&1 Internet for your domain name registration, from only £1.99/year!. Check now!