From: Gerhard L. <Ger...@co...> - 2007-04-13 17:02:01
|
Hi, i make a plugin, which checks the state of CPUs, fans, power supplies, fans and memory modules of HP Proliant servers with the hpasm software installed. Maybe it is useful for some of you. http://www.consol.com/opensource/nagios/check-hpasm Greetings from Munich, Gerhard |
From: Gerhard L. <Ger...@co...> - 2007-04-16 15:15:37
|
Hi Marcus, i can understand, not-so-important servers are not fully equipped.=20 I will introduce an option like "-b ps:3,..." to blacklist the named components (skip checking power supply #3 in this example). Maybe by the end of the week. Keep an eye on http://www.consol.com/opensource/nagios/check-hpasm (the broken download link has been fixed).=20 Greetings, Gerhard > -----Urspr=FCngliche Nachricht----- > Von: Marcus Fleige [mailto:mar...@de...]=20 > Gesendet: Montag, 16. April 2007 10:38 > An: Gerhard Lausser > Cc: nag...@li... > Betreff: Re: [Nagios-users] Plugin for HP Proliant Hardware=20 > Health Monitoring >=20 > Hi, >=20 > Gerhard Lausser schrieb am 13.04.2007 19:01 Uhr: > > Hi, > >=20 > > i make a plugin, which checks the state of CPUs, fans,=20 > power supplies,=20 > > fans and memory modules of HP Proliant servers with the=20 > hpasm software installed. > > Maybe it is useful for some of you. > > http://www.consol.com/opensource/nagios/check-hpasm >=20 > Great thing! I circumvented writing something like this for=20 > quite some time now, thanks for saving me this piece of work! :-) >=20 > One thing: is it possible to integrate a switch to exclude a=20 > specific hardware device? I've got a machine here with a max.=20 > of three Power Supplies, but at the moment there are only two=20 > in use. This leads to a Critical-Error, because the check=20 > misses the non-existent power supply ... >=20 > Regards, >=20 > Marcus Fleige >=20 >=20 > -- >=20 > EOF >=20 |
From: Marcus F. <mar...@de...> - 2007-04-17 09:03:06
|
Hey, Gerhard Lausser schrieb am 16.04.2007 17:15 Uhr: > Hi Marcus, > > i can understand, not-so-important servers are not fully equipped. > I will introduce an option like "-b ps:3,..." to blacklist the named > components (skip checking power supply #3 in this example). > > Maybe by the end of the week. Keep an eye on > http://www.consol.com/opensource/nagios/check-hpasm (the broken download > link has been fixed). Great, thanks a lot! After that is finished, i'm looking forward to deploy the check throughout my network. :-) Regards, Marcus Fleige |
From: Sim <sim...@gm...> - 2007-04-17 13:22:19
|
I have this problem, I can run check_hpasm only once: Thanks for reply ---------------------------------------------- # service hpasm start Starting Proliant System Health Monitor (hpasmd): [ SUCCESS ] Starting Foundation Agents (cmafdtn): cmathreshd cmahostd cmapeerd Starting Threshold agent (cmathreshd): [ SUCCESS ] Starting Host agent (cmahostd): [ SUCCESS ] Starting SNMP Peer (cmapeerd): [ SUCCESS ] Starting Server Agents (cmasvr): cmastdeqd cmahealthd cmaperfd Starting Standard Equipment agent (cmastdeqd): [ SUCCESS ] Starting Health agent (cmahealthd): [ SUCCESS ] Starting Performance agent (cmaperfd): [ SUCCESS ] Starting Storage Agents (cmastor): cmaeventd cmaidad cmafcad cmaided cmascsid cmasasd Starting Storage Event Logger (cmaeventd): [ SUCCESS ] Starting IDA agent (cmaidad): [ SUCCESS ] Starting FCA agent (cmafcad): [ SUCCESS ] Starting IDE agent (cmaided): [ SUCCESS ] Starting SCSI agent (cmascsid): [ SUCCESS ] Starting SAS agent (cmasasd): [ SUCCESS ] hpasm: Server Management is enabled ---------------------------------------------- # ./check_hpasm -v checking hpasmd process System :proliant dl380 g4 [...] dimm 1@0 is ok dimm 2@0 is ok OK - hardware working fine ---------------------------------------------- # ./check_hpasm -v checking hpasmd process UNKNOWN - multiple hpasmd procs ---------------------------------------------- |
From: <joe...@li...> - 2007-04-18 08:57:54
|
I have been reading this check_hpasm thread and looked at some of the documentation which seems to suggest the plugin is used for monitoring HP proliant hardware that is only running a linux system. Does anyone know of any tweaks or similar plugins that can get the same sort of information from Proliant servers running Windows. Or a plugin that can take the data gleamed from Insight Manager and display it into Nagios. If anyone can point me in the right direction to a URL that provides further reading that would be greatly appreciated. Many thanks for any and all comments. Joe Sim <sim...@gm...> Sent by: nag...@li... 17/04/2007 14:22 To Ger...@co..., nag...@li... cc Subject Re: [Nagios-users] Plugin for HP Proliant Hardware Health Monitoring I have this problem, I can run check_hpasm only once: Thanks for reply ---------------------------------------------- # service hpasm start Starting Proliant System Health Monitor (hpasmd): [ SUCCESS ] Starting Foundation Agents (cmafdtn): cmathreshd cmahostd cmapeerd Starting Threshold agent (cmathreshd): [ SUCCESS ] Starting Host agent (cmahostd): [ SUCCESS ] Starting SNMP Peer (cmapeerd): [ SUCCESS ] Starting Server Agents (cmasvr): cmastdeqd cmahealthd cmaperfd Starting Standard Equipment agent (cmastdeqd): [ SUCCESS ] Starting Health agent (cmahealthd): [ SUCCESS ] Starting Performance agent (cmaperfd): [ SUCCESS ] Starting Storage Agents (cmastor): cmaeventd cmaidad cmafcad cmaided cmascsid cmasasd Starting Storage Event Logger (cmaeventd): [ SUCCESS ] Starting IDA agent (cmaidad): [ SUCCESS ] Starting FCA agent (cmafcad): [ SUCCESS ] Starting IDE agent (cmaided): [ SUCCESS ] Starting SCSI agent (cmascsid): [ SUCCESS ] Starting SAS agent (cmasasd): [ SUCCESS ] hpasm: Server Management is enabled ---------------------------------------------- # ./check_hpasm -v checking hpasmd process System :proliant dl380 g4 [...] dimm 1@0 is ok dimm 2@0 is ok OK - hardware working fine ---------------------------------------------- # ./check_hpasm -v checking hpasmd process UNKNOWN - multiple hpasmd procs ---------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nag...@li... https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ******************** IMPORTANT NOTICE This email (including any attachments) is meant only for the intended recipient. It may also contain confidential and privileged information. If you are not the intended recipient, any reliance on, use, disclosure, distribution or copying of this email or attachments is strictly prohibited. Please notify the sender immediately by email if you have received this message by mistake and delete the email and all attachments. Any views or opinions in this email are solely those of the author and do not necessarily represent those of Trinity Mirror PLC or its associated group companies (hereinafter referred to as "TM Group"). TM Group accept no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. Although every reasonable effort is made to keep its network free from viruses, TM Group accept no liability for any virus transmitted by this email or any attachments and the recipient should use up-to-date virus checking software. Email to or from this address may be subject to interception or monitoring for operational reasons or for lawful business practices. Trinity Mirror PLC is the parent company of the Trinity Mirror group of companies and is registered in England No 82548, with its address at One Canada Square, Canary Wharf, London E14 5AP. ******************** |
From: Rainer D. <ra...@ul...> - 2007-04-26 10:24:38
|
joe...@li... wrote: > > I have been reading this check_hpasm thread and looked at some of the > documentation which seems to suggest the plugin is used for monitoring > HP proliant hardware that is only running a linux system. > > Does anyone know of any tweaks or similar plugins that can get the > same sort of information from Proliant servers running Windows. Or a > plugin that can take the data gleamed from Insight Manager and display > it into Nagios. > Well, I wrote something like this some years ago, mainly to check fans and temperature. I posted it to the mailing-list and I uploaded the plugins to sourceforge. That was in January 2005. They are in the contrib directory in the nagiosplugins source distribution. You should get hold of an InsightManager CD and copy the MIBs to the directory where your SNMP-client stores MIBs. Then you can use a SNMP-browser (like mbrowse on Unix-systems) to access the MIBs and get an idea of what you should be looking at. Please note that these plugins are very crude - there's probably a more elegant way to access all these MIBs and automate some of the hardcoded stuff in there... cheers, Rainer |
From: <joe...@li...> - 2007-04-27 08:12:36
|
Hi Rainer, Thank you very much for your reply. I have the CD's here somewhere for Insight Manager and will have a look to find the MIBS for the particular hardware. (never thought to look on the CD's). Downloading an SNMP browser from the internet should be easy enough. When I manage to find some free time I'll investigate further and let the list know how I got on. Once again, thanks for your input. Joe Rainer Duffner <ra...@ul...> 26/04/2007 11:24 To joe...@li... cc nag...@li... Subject Re: [Nagios-users] Plugin for HP Proliant Hardware Health Monitoring joe...@li... wrote: > > I have been reading this check_hpasm thread and looked at some of the > documentation which seems to suggest the plugin is used for monitoring > HP proliant hardware that is only running a linux system. > > Does anyone know of any tweaks or similar plugins that can get the > same sort of information from Proliant servers running Windows. Or a > plugin that can take the data gleamed from Insight Manager and display > it into Nagios. > Well, I wrote something like this some years ago, mainly to check fans and temperature. I posted it to the mailing-list and I uploaded the plugins to sourceforge. That was in January 2005. They are in the contrib directory in the nagiosplugins source distribution. You should get hold of an InsightManager CD and copy the MIBs to the directory where your SNMP-client stores MIBs. Then you can use a SNMP-browser (like mbrowse on Unix-systems) to access the MIBs and get an idea of what you should be looking at. Please note that these plugins are very crude - there's probably a more elegant way to access all these MIBs and automate some of the hardcoded stuff in there... cheers, Rainer ******************** IMPORTANT NOTICE This email (including any attachments) is meant only for the intended recipient. It may also contain confidential and privileged information. If you are not the intended recipient, any reliance on, use, disclosure, distribution or copying of this email or attachments is strictly prohibited. Please notify the sender immediately by email if you have received this message by mistake and delete the email and all attachments. Any views or opinions in this email are solely those of the author and do not necessarily represent those of Trinity Mirror PLC or its associated group companies (hereinafter referred to as "TM Group"). TM Group accept no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. Although every reasonable effort is made to keep its network free from viruses, TM Group accept no liability for any virus transmitted by this email or any attachments and the recipient should use up-to-date virus checking software. Email to or from this address may be subject to interception or monitoring for operational reasons or for lawful business practices. Trinity Mirror PLC is the parent company of the Trinity Mirror group of companies and is registered in England No 82548, with its address at One Canada Square, Canary Wharf, London E14 5AP. ******************** |
From: Rainer D. <ra...@ul...> - 2007-04-28 17:12:29
|
Am 27.04.2007 um 10:12 schrieb joe...@li...: > > Hi Rainer, > > Thank you very much for your reply. I have the CD's here somewhere > for Insight Manager and will have a look to find the MIBS for the > particular hardware. (never thought to look on the CD's). > Downloading an SNMP browser from the internet should be easy enough. > When I manage to find some free time I'll investigate further and > let the list know how I got on. > > Once again, thanks for your input. > Technically, the plugins don't need the MIBs. They are just "nice to have" - and you can get a good idea for more things to monitor. You can also use them in cacti etc. I don't know where I took the MIBs from. Maybe you've got to fetch them from an actual install. cheers, Rainer |
From: Marcus F. <mar...@de...> - 2007-04-18 08:00:40
|
Hi Gerhard, Gerhard Lausser schrieb am 17.04.2007 16:15 Uhr: > Hallo Marcus, > > ich habe check_hpasm-1.3 angeh=C3=A4ngt. K=C3=B6nntest du bitte auspro= bieren, ob > es so passt? > Du m=C3=BCsstest mit hpasmcli die Nummer des fehlenden Netzteils rausf= inden > und dieses dann als blacklisted =C3=BCbergeben. > check_hpasm -v -b p:<nr.> > Alternativ kannst du auch in eine Datei dieses "p:<nr.>" reinschreiben= > und dem -b Parameter den Dateinamen mitgeben. I better write in english, as some mailinglist members have their=20 difficulties with german. ;-) Thanks a lot for the new version! The blacklist switch works like a=20 charme, both as an argument and as a file. And even better: in the=20 verbose output the problem persists, with the notice of it being=20 blacklisted. I'll be deploying this version asap. Thanks again, very good work! Regards, Marcus Fleige |
From: Gerhard L. <Ger...@co...> - 2007-04-18 13:38:58
|
Hi, the "official" 1.3 is now available at http://www.consol.de/opensource/nagios/check-hpasm There's an option --with-degrees for ./configure which lets you chose between temperatures displayed as celsius or fahrenheit. The second and important new thing is the --blacklist option. And for Sim i added Trustix support. Have fun, Gerhard p.s. there was a question wether something like hpasm exists for = Windows. I don't monitor Windows servers, i think there is a snmp-based plugin check_compaq_health. No idea, what has to be installed on the machine. > -----Urspr=FCngliche Nachricht----- > Von: Marcus Fleige [mailto:mar...@de...]=20 > Gesendet: Mittwoch, 18. April 2007 10:01 > An: Gerhard Lausser; nag...@li... > Betreff: Re: AW: AW: [Nagios-users] Plugin for HP Proliant=20 > Hardware Health Monitoring >=20 > Hi Gerhard, >=20 > Gerhard Lausser schrieb am 17.04.2007 16:15 Uhr: > > Hallo Marcus, > > > > ich habe check_hpasm-1.3 angeh=E4ngt. K=F6nntest du bitte=20 > ausprobieren, ob > es so passt? > > Du m=FCsstest mit hpasmcli die Nummer des fehlenden=20 > Netzteils rausfinden > und dieses dann als blacklisted =FCbergeben. > > check_hpasm -v -b p:<nr.> > > Alternativ kannst du auch in eine Datei dieses "p:<nr.>"=20 > reinschreiben > und dem -b Parameter den Dateinamen mitgeben. >=20 > I better write in english, as some mailinglist members have=20 > their difficulties with german. ;-) >=20 > Thanks a lot for the new version! The blacklist switch works=20 > like a charme, both as an argument and as a file. And even=20 > better: in the verbose output the problem persists, with the=20 > notice of it being blacklisted. >=20 > I'll be deploying this version asap. Thanks again, very good work! >=20 > Regards, >=20 > Marcus Fleige >=20 >=20 |
From: Sim <sim...@gm...> - 2007-04-19 11:31:32
|
> Hi, > > the "official" 1.3 is now available at > http://www.consol.de/opensource/nagios/check-hpasm > There's an option --with-degrees for ./configure which lets you chose > between temperatures displayed as celsius or fahrenheit. > The second and important new thing is the --blacklist option. > And for Sim i added Trustix support. > Gerhard, very thanks! |