> Is there a MIB to get the ARP table of a router? Should be one I would > think but can't find it. Yes, .iso.org.dod.internet.mgmt.mib-2.at.atTable.atEntry.atPhysAddress will do what you want.
Archive for the ‘linux’ Category
SNMP Stuff
Monday, July 28th, 2008Exim 4 CheatSheet
Monday, July 28th, 2008Originally posted HERE
Message-IDs and spool files
The message-IDs that Exim uses to refer to messages in its queue are mixed-case alpha-numeric, and take the form of: XXXXXX-YYYYYY-ZZ. Most commands related to managing the queue and logging use these message-ids.
There are three — count ‘em, THREE — files for each message in the spool directory. If you’re dealing with these files by hand, instead of using the appropriate exim commands as detailed below, make sure you get them all, and don’t leave Exim with remnants of messages in the queue. I used to mess directly with these files when I first started running Exim machines, but thanks to the utilities described below, I haven’t needed to do that in many months.
Cacti and Debian
Tuesday, July 22nd, 2008The patch can fix the issue
sudo pico /usr/share/cacti/site/include/config.php
replace what is under
/* Sanity Check on “Corrupt” PHP_SELF */
with
if ((!is_file($_SERVER["PHP_SELF"])) && (!is_file($config["base_path"] . ‘/’ . $_SERVER["PHP_SELF"]))) {
if (!is_file($_SERVER["DOCUMENT_ROOT"] . $_SERVER["PHP_SELF"])) {
if (!((is_file($_SERVER["SCRIPT_FILENAME"])) && (substr_count($_SERVER["SCRIPT_FILENAME"], $_SERVER["PHP_SELF"])))) {
if (!((is_file($_SERVER["SCRIPT_FILENAME"])))) {
echo “\nInvalid PHP_SELF Path\n”;
exit;
}
VMWare Module Issue
Friday, June 27th, 2008Quick and nasty hack to make vmware modules compile on Debian.
http://communities.vmware.com/thread/110577;jsessionid=7AC47D2F9654000D52C97CB304113AF2?tstart=0
Vmware Server Console crashes when removing snapshot
Tuesday, May 6th, 2008http://www.jeremyroe.net/?p=20
Tonight while doing maintenance on one of my virtual machines I decided it was time to remove a snapshot I created a few days ago while upgrading some software. Shortly after hitting the “remove snapshot” selection my vmware console crashed with a lost pipe error.
Attempting to reconnect yeilded:
There was a problem connecting:
511 Error connecting to /usr/bin/vmware-serverd process
I was almost ready to reboot the machine when painful memories of my last vmware snapshot gone bad experience entered my mind. I investigated further and found that there were .WRITELOCK files in place in my virtual machine folder. After checking my processes on my vmware box I noticed a file called “sdhelper” using a bit of cpu time.
After a brief google search I stumbled across this article which stated that in the event of removing large snapshots it is not unusual for the console to loose connectivity. It is important to simply wait it out and it will eventually finish recombining your disks and restore your connectivity.
I know from prior experience that snapshots are very finicky creatures and rebooting your machine at a time like this could easily lead to data corruption and the loss of your virtual machine.
PHP Template Engines
Wednesday, September 26th, 2007Jaslabs High Performance Software.
Top 25 Template engines.
Installing VMware Server on Gentoo Linux (Version 3) | Diary Products - Hannes Schmidt
Saturday, July 29th, 2006Installing VMware Server on Gentoo Linux (Version 3) | Diary Products - Hannes Schmidt: “Installing VMware Server on Gentoo Linux (Version 3)”
This has the latest instructions on how to install VMware server on Gentoo linux host.
VM Where?
Monday, July 17th, 2006VM Where?: “VM Where?”
Pre-built VMWare machine base on the Gentoo Distro
virtualization.info
Monday, July 3rd, 2006Great site on howto setup virtual machines using various VM servers and software.
Gentoo in a VM
Sunday, June 11th, 2006Gentoo in a VM:
Another awesome site for tips on Gentoo as a guest OS