Nove funkcije #19219
Zatvorenzenoss hp proliant zenpack
0%
Fajlovi
Izmjenjeno od Ernad Husremović prije skoro 16 godina
- Vrsta promijenjeno iz Podrška u Nove funkcije
Izmjenjeno od Ernad Husremović prije skoro 16 godina
jasko je ovo instalirao ali nije stavio nikada u funkciju
Izmjenjeno od Ernad Husremović prije skoro 16 godina
zenoss@zenoss:~$ unzip ZenPacks.HP.Proliant.MIBs-1.0-py2.4.egg.zip
Archive: ZenPacks.HP.Proliant.MIBs-1.0-py2.4.egg.zip inflating: ZenPacks.HP.Proliant.MIBs-1.0-py2.4.egg
zenoss@zenoss:~$ zenpack --install ZenPacks.HP.Proliant.MIBs-1.0-py2.4.egg
2009-12-26 10:32:43,562 INFO zen.ZPLoader: Loading /usr/local/zenoss/zenoss/ZenPacks/ZenPacks.HP.Proliant.MIBs-1.0-py2.4.egg/ZenPacks/HP/Proliant/MIBs/objects/objects.xml ... i stoji stoji ...
Izmjenjeno od Ernad Husremović prije skoro 16 godina
Izmjenjeno od Ernad Husremović prije skoro 16 godina
Izmjenjeno od Ernad Husremović prije skoro 16 godina
Izmjenjeno od Ernad Husremović prije skoro 16 godina
zenoss@zenoss:~$ wget http://dev.zenoss.com/downloads/zenpack-contrib/ZenPacks.HP.Proliant.MIBs-1.1-py2.4.egg
trebalo je milion godina ... ali na kraju je ovaj install uspješan
zenoss@zenoss:~$ zenpack --install ZenPacks.HP.Proliant.MIBs-1.1-py2.4.egg
2009-12-26 10:51:56,938 INFO zen.ZPLoader: Loading /usr/local/zenoss/zenoss/ZenPacks/ZenPacks.HP.Proliant.MIBs-1.0-py2.4.egg/ZenPacks/HP/Proliant/MIBs/objects/objects.xml 2009-12-26 11:14:24,601 INFO zen.AddToPack: End loading objects 2009-12-26 11:14:24,601 INFO zen.AddToPack: Processing links 2009-12-26 11:15:20,442 INFO zen.AddToPack: Loaded 16979 objects into the ZODB database 2009-12-26 11:15:44,105 INFO zen.HookReportLoader: loading reports from:/usr/local/zenoss/zenoss/ZenPacks/ZenPacks.HP.Proliant.MIBs-1.0-py2.4.egg/ZenPacks/HP/Proliant/MIBs/reports
Izmjenjeno od Ernad Husremović prije skoro 16 godina
evo tih mib-ova
Izmjenjeno od Ernad Husremović prije skoro 16 godina
http://www.mail-archive.com/zenoss-users@zenoss.org/msg16013.html
Hi, i'm very new to zenoss and want to monitor a proliant server farm.
Right now I have net-snmp and the hp support packs (hpasm) loaded on all of
them. Net-SNMP is working, I see hostnames, file systems:total bytes and Basic newbie questions:
- How do I force zenoss to force a reload of its configuration data when I changed snmpd.conf?
- I've added 'includeAllDisks 95%' to snmpd.conf. But 'used bytes', 'free bytes', '%util' shows nothing.
- How do I get hpasm serial data, temperatures and power supply data in zenoss?
Can I have a step by step explanation of this?
- I want a graph of disk usage; how do I add this?
Izmjenjeno od Ernad Husremović prije skoro 16 godina
hpasm za debian etch (4.0)¶
hp System Health Application and Insight Management Agents Package
The hp System Health Application and Insight Management Agents package provides extended capabilities to ProLiant Servers. These capabilities include monitoring of temperature thresholds, fan, processor and memory failures.
Should a parameter be out of normal operating conditions, the Linux operating system will be automatically shutdown.
The hp Advanced Server Management Application(hpasmd) is the interface to the Advanced Server Management (ASM) ASIC.
This application will work with both the ProLiant ASM (0x0E11A0F1) and the ProLiant iLO Advance Server Management (0x0E11B203) ASICs.
The hpasmd also provides an interface so other software can log events to the hp ProLiant Integrated Management Log (IML).
hp Server, Storage and Foundation Agents for Linux provide a full spectrum of management data. This package includes the Server Standard Equipment and Health Agent for hp Servers. This information is available using the hp Insight Manager Console, any Internet browser, or other management applications using SNMP.
(Converted from a rpm package by alien version 8.64.)
Izmjenjeno od Ernad Husremović prije skoro 16 godina
root@smraka-2:~# sudo apt-get install snmpd lib32z1-de ia32-libs
Izmjenjeno od Ernad Husremović prije skoro 16 godina
dpkg -i hpasm.deb
Setting up hpasm (7.8.0-91.etch26) ...
Stopping HP Server Management Drivers and Agents, please wait ...
[: 179: stop: unexpected operator
Shutting down Proliant System Health Monitor (hpasmd):-ne [ SUCCESS ]
Please read the Licence Agreement for this software at
/opt/compaq/hpasm/hpasm.license
By not removing this package, you are accepting the terms
of the "License for HP Value Added Software".
==============================================================================
NOTE: In order to activate the software contained in this package, you must
type 'hpasm activate' as 'root' user.
You may subsequently reset your agent configuration by typing
'/etc/init.d/hpasm configure' or '/etc/init.d/hpasm reconfigure'.
==============================================================================
The hpasm DEB package has installed successfully.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
/bin/sh prebaci na bash¶
root@smraka-2:~# ls /bin/sh -l lrwxrwxrwx 1 root root 4 2009-12-23 21:47 /bin/sh -> dash root@smraka-2:~# mv /bin/sh /bin/sh_orig root@smraka-2:~# ln -s /bin/bash /bin/sh
Izmjenjeno od Ernad Husremović prije skoro 16 godina
This package contains data gathering agents that provide data to clients via SNMP. This SNMP data may be used by other hp management software. If you choose not to start these agents that data may not be provided. Answer 'y' to this question to start the base set of agents. You will be prompted for the more specialized Storage and Performance agents.
==============================================================================
NOTE: This server does not contain an hp Advanced Server Management Device.
Several key management agents will not start up. This will severely
limit the functionality of this package.
==============================================================================
Izmjenjeno od Ernad Husremović prije skoro 16 godina
This configuration script will configure SNMP to integrate with the HP SIM and the HP System Management Homepage. The HPASM can also exist in a more secure SNMP environment (e.g. VACM) that you have previously configured. See the hpasm(4) man page for specific details on how to configure the VACM entries in the 'snmpd.conf' file. You may press <ctrl+c> now to exit now if needed. Do you wish to use an existing snmpd.conf (y/n) (Blank is n):
Enter the localhost SNMP Read/Write community string (one word, required, no default): <<<<<<<<<<<<<<<<<<< proliant ukucao Re-enter the same input to confirm: ACCEPTED: inputs match!
Izmjenjeno od Ernad Husremović prije skoro 16 godina
Enter localhost SNMP Read Only community string (one word, Blank to skip): Enter Read/Write Authorized Management Station IP or DNS name (Blank to skip): Enter Read Only Authorized Management Station IP or DNS name (Blank to skip): Enter default SNMP trap community string (One word; Blank to skip): Enter SNMP trap destination IP or DNS name (One word; Blank to skip): The system contact is set to syscontact Root <root@localhost> (configure /etc/snmp/snmpd.local.conf)
Izmjenjeno od Ernad Husremović prije skoro 16 godina
This configuration script will add user 'hpsmh' and group 'hpsmh' to integrate with the HP SIM and the HP System Management Homepage (hpsmh). The default selection is to enable hpsmh support. Do you wish to disable hpsmh support (y/n) (Blank is n):
Izmjenjeno od Ernad Husremović prije skoro 16 godina
============================================================================== NOTE: New snmpd.conf entries were added to the top of /etc/snmp/snmpd.conf ============================================================================== Starting HP Server Management Drivers and Agents, please wait ... Starting Proliant System Health Monitor (hpasmd): [ SUCCESS ] The binary "/opt/compaq/hpasmd/bin/hpasmxld" depends on "linux-vdso.so.1". The binary "/opt/compaq/hpasmd/bin/hpasmxld" depends on "/usr/lib/libhpasmintrfc64.so.1". The binary "/opt/compaq/hpasmd/bin/hpasmxld" depends on "/lib/libc.so.6". The binary "/opt/compaq/hpasmd/bin/hpasmchifd" depends on "linux-vdso.so.1". The binary "/opt/compaq/hpasmd/bin/hpasmchifd" depends on "/usr/lib/libhpasmintrfc64.so.1". The binary "/opt/compaq/hpasmd/bin/hpasmchifd" depends on "/usr/lib/libcpqci64.so.1". The binary "/opt/compaq/hpasmd/bin/hpasmchifd" depends on "/lib/libc.so.6". hpasmd is stopped... [ SUCCESS ] Status of Foundation Agents (cmafdtn): cmathreshd cmahostd cmapeerd cmathreshd is running... [ SUCCESS ] cmahostd is running... [ SUCCESS ] cmapeerd is running... [ SUCCESS ] Status of Server Agents (cmasvr): cmaperfd cmaperfd is running... [ SUCCESS ] Status of Storage Agents (cmastor): cmaeventd cmaidad cmafcad cmaided cmascsid cmasasd cmaeventd is stopped... [ SUCCESS ] cmaidad is stopped... [ SUCCESS ] cmafcad is stopped... [ SUCCESS ] cmaided is running... [ SUCCESS ] cmascsid is running... [ SUCCESS ] cmasasd is stopped... [ SUCCESS ]
Izmjenjeno od Ernad Husremović prije skoro 16 godina
snmpd conf:
# Following entries were added by HP Insight Management Agents at # Sub Dec 26 13:14:22 CET 2009 dlmod cmaX /usr/lib64/libcmaX64.so rwcommunity proliant 127.0.0.1 syscontact Root <root@localhost> (configure /etc/snmp/snmpd.local.conf) syslocation Unknown (configure /etc/snmp/snmpd.local.conf)
Izmjenjeno od Ernad Husremović prije skoro 16 godina
lrwxrwxrwx 1 root root 16 2009-12-26 13:08 /usr/lib64/libcmaX64.so -> ./libcmaX64.so.1 root@smraka-2:~# ls /usr/lib64/libcmaX64.so.1 -l lrwxrwxrwx 1 root root 16 2009-12-26 13:08 /usr/lib64/libcmaX64.so.1 -> libcmaX64.so.1.0 root@smraka-2:~# ls /usr/lib64/libcmaX64.so.1.0 -l -rwxr-xr-x 1 root root 28505 2007-04-27 16:24 /usr/lib64/libcmaX64.so.1.0
Izmjenjeno od Ernad Husremović prije skoro 16 godina
podešenje zenpack-a
Izmjenjeno od Ernad Husremović prije skoro 16 godina
root@smraka-2:~# /etc/init.d/hpasm start
Starting Proliant System Health Monitor (hpasmd): [ SUCCESS ] Starting Foundation Agents (cmafdtn): cmathreshd cmahostd cmapeerd Starting Threshold agent (cmathreshd): [ FAILED ] Starting Host agent (cmahostd): [ FAILED ] Starting SNMP Peer (cmapeerd): [ FAILED ] Starting Server Agents (cmasvr): cmaperfd Starting Performance agent (cmaperfd): [ FAILED ] 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): [ FAILED ] Starting SCSI agent (cmascsid): [ FAILED ] Starting SAS agent (cmasasd): [ SUCCESS ] The binary "/opt/compaq/hpasmd/bin/hpasmxld" depends on "linux-vdso.so.1". The binary "/opt/compaq/hpasmd/bin/hpasmxld" depends on "/usr/lib/libhpasmintrfc64.so.1". The binary "/opt/compaq/hpasmd/bin/hpasmxld" depends on "/lib/libc.so.6". The binary "/opt/compaq/hpasmd/bin/hpasmchifd" depends on "linux-vdso.so.1". The binary "/opt/compaq/hpasmd/bin/hpasmchifd" depends on "/usr/lib/libhpasmintrfc64.so.1". The binary "/opt/compaq/hpasmd/bin/hpasmchifd" depends on "/usr/lib/libcpqci64.so.1". The binary "/opt/compaq/hpasmd/bin/hpasmchifd" depends on "/lib/libc.so.6". hpasm: Server Management is not fully enabled hpasmd is stopped... [ SUCCESS ] Status of Foundation Agents (cmafdtn): cmathreshd cmahostd cmapeerd cmathreshd is running... [ SUCCESS ] cmahostd is running... [ SUCCESS ] cmapeerd is running... [ SUCCESS ] Status of Server Agents (cmasvr): cmaperfd cmaperfd is running... [ SUCCESS ] Status of Storage Agents (cmastor): cmaeventd cmaidad cmafcad cmaided cmascsid cmasasd cmaeventd is stopped... [ SUCCESS ] cmaidad is stopped... [ SUCCESS ] cmafcad is stopped... [ SUCCESS ] cmaided is running... [ SUCCESS ] cmascsid is running... [ SUCCESS ] cmasasd is running... [ SUCCESS ]
Izmjenjeno od Ernad Husremović prije skoro 16 godina
root@smraka-2:~# ps ax | grep cma
7755 pts/1 S 0:00 cmathreshd -p 5 -s OK 7761 pts/1 S 0:00 cmahostd -p 15 -s OK 7767 pts/1 Sl 0:00 cmapeerd 7808 pts/1 S 0:02 cmaperfd -p 30 -s OK 7897 pts/1 S 0:00 cmaided -p 15 -s OK 7904 pts/1 S 0:00 cmascsid -p 15 -s OK 9442 pts/1 S 0:00 cmasasd -p 15 -s OK
Izmjenjeno od Ernad Husremović prije skoro 16 godina
zaključak - šupica tach¶
ništa ja ovo ne kontam ..... ni šta podesiti na strani servera, ni kako to testirati je li radi (i šta radi) ni kako u zenoss-u podesiti to - iskoristiti zenpack
Izmjenjeno od Ernad Husremović prije skoro 16 godina
Ernad Husremović je napisao/la:
podešenje zenpack-a
ovi su to uspjeli
Izmjenjeno od Ernad Husremović prije skoro 16 godina
root@smraka-2:/etc/snmp# apt-get remove hpasm
Izmjenjeno od Ernad Husremović prije više od 15 godina
- Status promijenjeno iz Dodijeljeno u Odbačeno