Здр.
установих че под FreeBSD net-snmp които се инсталира с вградена потдружка за HP servers (незнаино защо?) и начина който ми предложиха от developer-ите има е това:
timon wrote:
> I would like to monitor the hardware performance of the ProLiant Server DL380,
> but the compaq OID is not included by default in the configuration of the
> NEt-SNMP agent.I think that the agent could be extended to show that
> information .Does anyone know how to set the Net-SNMP agent to pull out that
> info? The compaq branch is .1.3.6.1.4.1.232...........?
Private Enterprise branches are just that, solely maintained by the
company in question. While anyone's free to extend the agent at will, I
strongly doubt the project itself will officially incorporate an
implementation of someone else's private branch.
HP/Compaq provides a free binary download of their net-snmp extension
(as a dlmod) for various Linux and Windows versions. If you need a
version for other OSes, bug them.
Тоя тапак явно не му се занимава с нищо ! Е пробвах да си го направя сам..но естествено не стана ..а на този опит ми отговориха така:
timon wrote:
> ..I'm using the the mib files from:
>
>
http://www.nagiosexchange.org/typo3...gins-cpq.tar.gz>
> ..convert them in .c and .h files with mib2c
>>>>> env MIBS=ALL mib2c -c /usr/local/share/snmp/mib2c.scalar.conf -i compaq
> ....reconfigureing the Net-SNMP instalation with the new modul:
>>>> ./configure --with-mib-modules=compaq
> ...and when I do the make, I am getting that:
mib2c just generates *skeleton* code and has no idea how to get the real
values from your system. That's the portion you need to add *yourself*.
See
http://www.net-snmp.org/FAQ.html#How_do_I_add_a_MIB_to_the_agent_еми явно не става номера под FreeBSD...so пробвах под CentOS с пакетите изтеглени от сайта на HP за Red Hat ..надявам се поне тама да са си качили пакети които подържат техните си сървари:
Net-SNMP package with CMAx extensions from HP
ftp://ftp.compaq.com/pub....386.rpmС тях горе долу се оправих но етествено без грешки не става. При стартиране на ./snmd
:
snmpd: error while loading shared libraries: librpmdb-4.1.so: cannot open shared object file: No such file or directory
Eeee ...някой ако е схванал какво се опитвам да направя има ли решение на проблема >?
10х