Hi Guys
Just some quick questions.
- If a mail alert contains some html is there a way to make sure it comes through as proper markup i.e. HEADER1 instead of <h1>HEADER1</h1>
- If I don't want to include the alert/test results i.e. &red cpu 100% in the mail is there a way to do that?
Regards Neil
On Thursday 03 June 2010, Neil Franken wrote:
Hi Guys
Just some quick questions.
- If a mail alert contains some html is there a way to make sure it comes through as proper markup i.e. HEADER1 instead of <h1>HEADER1</h1>
- If I don't want to include the alert/test results i.e. &red cpu 100% in the mail is there a way to do that? I created an alerting.pl perl script that picks up the parameters. In that script I use lynx to remove the html code:
open (TEMP,">/tmp/TEMP") ;
print TEMP "$_\n" foreach @split ;
close TEMP ;
`links -dump /tmp/TEMP > /tmp/TEMP2` ;
open (TEMP,"</tmp/TEMP2") ;
while (<TEMP>) { $mail{MES} .= $_; }
close TEMP ;
If you want more control, create a scripts (shell or perl) and do the alerting yourself.
Stef
This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email
Hey all,
I've been looking around and reading some threads on this subject but I don't see any solutions for monitoring ESX with Hobbit besides just installing the regular client and thereby not being supported fully.
Does anyone know of any solutions?
Thank you, Dan
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited.
This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: postmaster at orlandohealth.com .
If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Health by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Health.
Citerar "Nordquist, Daniel" <Daniel.Nordquist at orlandohealth.com>:
I've been looking around and reading some threads on this subject but I don't see any solutions for monitoring ESX with Hobbit besides just installing the regular client and thereby not being supported fully.
Does anyone know of any solutions?
There is a Nagios test from OP5, check_esx3.pl, which uses the perl sdk from Vmware. It monitors datacenters, hosts and guests and could easily be converted to Hobbit. The license is GPL so doing so is perfectly legal.
Ulric
I have setup some monitoring of our ESX servers using devmon, the VMWare mib on ESX is quite fully featured. At the moment i'm only doing basic stuff with it as I haven't had a chance to increase it as yet. Basic stuff is Model and Kernel version uptime, load avg and also state of the vm's, name, power state also memory, cpu and disk that has been allocated (trying to carve this off into a capacity management bit so I can tell how much free capacity I have per esx server. It's enough to get by but I want to add extra bits to the devmon template when I get a chance.
Regards,
Mike
-----Original Message----- From: Nordquist, Daniel [mailto:Daniel.Nordquist at orlandohealth.com] Sent: 03 June 2010 19:33 To: hobbit at hswn.dk Subject: [hobbit] hobbit monitoring on ESX servers
Hey all,
I've been looking around and reading some threads on this subject but I don't see any solutions for monitoring ESX with Hobbit besides just installing the regular client and thereby not being supported fully.
Does anyone know of any solutions?
Thank you, Dan
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited.
This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: postmaster at orlandohealth.com .
If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Health by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Health.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Friday, 4 June 2010 09:34:08 Mike Rowell wrote:
I have setup some monitoring of our ESX servers using devmon, the VMWare mib on ESX is quite fully featured. At the moment i'm only doing basic stuff with it as I haven't had a chance to increase it as yet. Basic stuff is Model and Kernel version uptime, load avg and also state of the vm's, name, power state also memory, cpu and disk that has been allocated (trying to carve this off into a capacity management bit so I can tell how much free capacity I have per esx server. It's enough to get by but I want to add extra bits to the devmon template when I get a chance.
Some other devmon users have worked on a template. I would recommend that the various users collaborate to create a template, and contribute it back to devmon.
I don't use ESX, but will add a template to devmon svn.
Regards, Buchan
I have been playing with the ESX MIBs and I find the data almost worthless. would very much like to see just what you are capturing from the MIBs.
It has been my experience that despite many data fields existing in their MIBs, they fail to populate many of them. I find memory and CPU usage numbers for each "guest" are all presented as "shares" and there is no place you can get a total shares available. You can't add up the "shares" reported to achieve the total because it shifts depending on the "guests" running on the system and the percentages you derive in no way match those reported by the GUI provided by vmware. Also, they don't provide any good numbers for the ESX host system.
I have found that running the BBWIN client on each "guest" provides much better data for the individual "guest" and am left wanting for data on the overall performance of the "host" ESX system.
Maybe I am missing "the boat." If you can provide a little insight, I would appreciate the guidance.
......Bruce
Bruce White Senior Enterprise Systems Engineer | Phone: 630-671-5169 | Fax: 630-893-1648 | bewhite at fellowes.com | http://www.fellowes.com/ Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc. -----Original Message----- From: Mike Rowell [mailto:MRowell at shopzilla.com] Sent: Friday, June 04, 2010 3:34 AM To: hobbit at hswn.dk Subject: [hobbit] RE: hobbit monitoring on ESX servers
I have setup some monitoring of our ESX servers using devmon, the VMWare mib on ESX is quite fully featured. At the moment i'm only doing basic stuff with it as I haven't had a chance to increase it as yet. Basic stuff is Model and Kernel version uptime, load avg and also state of the vm's, name, power state also memory, cpu and disk that has been allocated (trying to carve this off into a capacity management bit so I can tell how much free capacity I have per esx server. It's enough to get by but I want to add extra bits to the devmon template when I get a chance.
Regards,
Mike
-----Original Message----- From: Nordquist, Daniel [mailto:Daniel.Nordquist at orlandohealth.com] Sent: 03 June 2010 19:33 To: hobbit at hswn.dk Subject: [hobbit] hobbit monitoring on ESX servers
Hey all,
I've been looking around and reading some threads on this subject but I don't see any solutions for monitoring ESX with Hobbit besides just installing the regular client and thereby not being supported fully.
Does anyone know of any solutions?
Thank you, Dan
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited.
This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: postmaster at orlandohealth.com .
If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Health by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Health.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Citerar "White, Bruce" <bewhite at fellowes.com>:
I have been playing with the ESX MIBs and I find the data almost worthless. would very much like to see just what you are capturing from the MIBs.
My experience as well. I wholeheartedly recommend Vmware's sdk: it's free, it's supported and it really is the best way to do scripted remote administration of esx.
Ulric
Citerar "White, Bruce" <bewhite at fellowes.com>:
I have been playing with the ESX MIBs and I find the data almost worthless. would very much like to see just what you are capturing from the MIBs.
My experience as well. I wholeheartedly recommend Vmware's sdk: it's free, it's supported and it really is the best way to do scripted remote administration of esx.
Is this something that you are already working on? I'd love to see if you have been able to tie this in to Xymon.
.vp
I have been using snmpwalk to look at data on active ESX clusters. I have coded nothing for Xymon, but once you get figured out what you want via snmpwalk, adding the hooks for Xymon is a breeze. Like I said in my post, the issue is the data available on the ESX MIBs. It is incomplete, or inaccurate.
I am very interested in finding out what people have been doing with the ESX SDK.
.....Bruce
Bruce White Senior Enterprise Systems Engineer | Phone: 630-671-5169 | Fax: 630-893-1648 | bewhite at fellowes.com | http://www.fellowes.com/ Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
From: wiskbroom at hotmail.com [mailto:wiskbroom at hotmail.com] Sent: Monday, June 07, 2010 8:11 AM To: hobbit at hswn.dk Subject: RE: [hobbit] RE: hobbit monitoring on ESX servers
Citerar "White, Bruce" <bewhite at fellowes.com>:
I have been playing with the ESX MIBs and I find the data almost worthless. would very much like to see just what you are capturing from the MIBs.
My experience as well. I wholeheartedly recommend Vmware's sdk: it's free, it's supported and it really is the best way to do scripted remote administration of esx.
Is this something that you are already working on? I'd love to see if you have been able to tie this in to Xymon.
.vp
Citerar wiskbroom at hotmail.com:
Citerar "White, Bruce" <bewhite at fellowes.com>:
I have been playing with the ESX MIBs and I find the data almost worthless. would very much like to see just what you are capturing from the MIBs.
My experience as well. I wholeheartedly recommend Vmware's sdk: it's free, it's supported and it really is the best way to do scripted remote administration of esx.
Is this something that you are already working on? I'd love to see if you have been able to tie this in to Xymon.
Here is the sdk:
http://communities.vmware.com/community/developer/forums/vsphere_sdk_perl
And here is the Nagios plugin i wrote about earlier:
http://exchange.nagios.org/directory/Plugins/Operating-Systems/*-Virtual-Env...
I've only used it with Nagios, but the structure of a Nagios plugin is very similar to a Xymon ext script and one can be trivially converted to the other.
Ulric
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Please do not thread hijack.
Nordquist, Daniel wrote:
Hey all,
I've been looking around and reading some threads on this subject but I don't see any solutions for monitoring ESX with Hobbit besides just installing the regular client and thereby not being supported fully.
Does anyone know of any solutions?
Thank you, Dan
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited.
This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: postmaster at orlandohealth.com .
If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Health by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Health.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkwJCNUACgkQmb+gadEcsb7jKACcDPQiUdLm42oj8KSdQw+UHQrE ROoAoJwHy1EJG/Q1G9zdMX3qyf8RXLhX =RK7e -----END PGP SIGNATURE-----
participants (9)
-
bewhite@fellowes.com
-
bgmilne@staff.telkomsa.net
-
Daniel.Nordquist@orlandohealth.com
-
MRowell@shopzilla.com
-
nfranken@theunlimitedworld.co.za
-
novosirj@umdnj.edu
-
stef.coene@docum.org
-
ulric@siag.nu
-
wiskbroom@hotmail.com