Home > ESXi, nagios, vSphere > HOWTO: Correct vSphere ESXi "the ramdisk ‘tmp’ is full"

HOWTO: Correct vSphere ESXi "the ramdisk ‘tmp’ is full"

Tonight we came across an odd error on one of the hosts. We use Nagios for monitoring, and only one host was exhibiting an error checking networking on the host:

Can’t call method "network" on an undefined value at ./check_esx3.pl line 865

Checking the host EVENTS tab, did show the following errors:

clip_image001

The following VMware KB article gives details on the issue:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2032824

clip_image002

Following the suggestion from the KB, we see that sure enough, the ramdisk for tmp IS full.

clip_image003

Appears to be the /tmp/scratch/downloads folder in question.

clip_image004

Don’t suppose at 1:25PM the logs were exported by any chance? That’s the only supposition I have at the moment.

clip_image005

I can confirm at the Nagios console that it is having isssues with just that host. Note that the Perl method Nagios uses for checking is horrible, as it logs into the host as root to get its stats. I’d fix it to use SOAP or vSphere API’s, but “Nagios is going away” so it seems like I’d just be wasting effort to invest in Nagios.

clip_image006

After removing the offending file in /tmp/scratch/downloads, Nagios is able to run its checks.

Now – does anyone know how to find out WHY it was full? 

Advertisements
Categories: ESXi, nagios, vSphere
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: