Skip to main content

Posts

Showing posts from 2009

UUID conflict and iclassify

If you noticed that iclassify node is overwritten when updating facts using icagent, this is because icagent UUID is conflicting. At first, I thought it's VMware's BIOS UUID. Download and install a fresh copy of iclassify (with icagent), and run to initialize a fresh icagent UUID.

You might encounter:

agent.rb:26:in `initialize': undefined method `random_create' for UUID:Class (NoMethodError)

Fix: use uuidtools (1.0.3)

iClassify sv errors

Problem:

5000: false: warning: /etc/sv/mongrel-iclassify-5000: unable to open supervise/status: file does not exist
5001: false: warning: /etc/sv/mongrel-iclassify-5001: unable to open supervise/ok: file does not exist
5002: false: warning: /etc/sv/mongrel-iclassify-5002: unable to open supervise/ok: file does not exist
5003: false: warning: /etc/sv/mongrel-iclassify-5003: unable to open supervise/ok: file does not exist
5004: false: warning: /etc/sv/mongrel-iclassify-5004: unable to open supervise/ok: file does not exist

Fix: I am not sure if this is the correct combination:
aptitude install svtools
Reboot machine.

Ebay scammer

+639056538210
09056538210

Gene Paminiano
Claiming to be his wife: Ramona Carmen Paminiano
City States savings account# 011-22-001124-3

TIP: Do not push with the transaction without hearing the seller/buyer's voice on the phone. Record the conversation for publicity purposes.

Zenoss: monitor free VMWare ESXi version

We confirmed that the free ESXi version does not allow SNMP gets, only traps.

The original script was taken from here:
http://communities.vmware.com/docs/DOC-7170

Modified script:
http://mirakulo.com/pub/esxi/check_esx_wbmem.py

We added Fan and power supply, hinted from this page:
http://www.stephenjc.com/2009/01/whatsup-vmware-esxi-monitor-these.html

Use this guide to add the Data source:
http://www.zenoss.com/community/docs/howtos/create-modify-nagios-templates

Added as template under:
/Devices /Server /VMWare /ESXi /Templates /esxi-monitor /check_esx_wbmem

Name: check_esx_wbmem
Source Type: Command
Enable true
Use SSH false
Component: blank
Event class: /VMWare/ESXi
Severity: Error
Cycle time: 60
Parser: auto
Command template:
/usr/local/zenoss/python/bin/python /opt/zenoss/libexec/check_esx_wbmem.py https://${dev/manageIp}:5989 root passwd

To bind this template to ESXi nodes, go to the device:
Example: /Devices /Server /VMWare /ESXi /esxi-01.prod.corp.org

then to its templates:
http://site/zpor…