Import MIBs in Zenoss
If you are using Zenoss as a monitoring solution, chances are you are sending snmp traps to it, right? In that case you should always remember to import the MIBs for the devices you are monitoring. Because if you don’t it can be a real pain in the ass to figure what it is wrong when all you see is a “warning snmp trap enterprises.2.6.211.4.11”. Sadly there is no way to import MIBs using the gui in Zenoss, you have to use the cli. So here’s a short guide: First you need to download the MIBs. The easiest way to do that is to google the oid that is sent to Zenoss, there are a bunch of sites that provide MIBs for download. One example being oidview Next you need to copy the MIB to the server running Zenoss. If you are experienced with Linux that shouldn’t be a problem…
Nifty Debian packages
A little list of some nifty packages for Debian: sudo Oddly enough this isn’t installed by default. Well known for most Linux users, but it enables regular users to perform commands as root without actually logging in as root. molly-guard Protects you from shutting down wrong server when using ssh to a server. What it does is ask you which server you want to shutdown when you run the command shutdown. If you type in wrong hostname it won’t run the command. Handy if you have a bunch of ssh sessions open and you type shutdown in the wrong session. pwgen Generates random passwords. Configurable what kind of passwords you want, for example high complexity and so on. hdparm Can be used to check the performance of harddrives dovecot Widely used imap/pop server postfix Widely used smtp server. Often used in conjunction with dovecot roundcube A package for webmail. Requires…