On May 16, 2005, at 3:01 pm, A. Khattri wrote:

On Mon, 16 May 2005, Stroller wrote:

I believe that the way to handle this is by SNMP, and that the HP
agents are "SNMP agents" which can be queried by SNMP software on my
machine. I've never messed with SNMP before, so does this sound right?

Is the RAID array done in hardware?

Yes, it's a Proliant 6500.

If it is, then maybe there is
something you can set in the RAID BIOS to enable SNMP monitoring?

I've never seen anything like that. According to page 12 of the HOWTO <http://tinyurl.com/7h8dr> the `cmaidad` agent collects data from cciss/cpqarray drivers, so surely that hadles everything for me? `cmaidad` is running, and I believe my SCSI array is of the cciss type.


What does lspci show? (Emerge pciutils if you dont have lspci).

$ lspci
0000:00:02.0 Communication controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
0000:00:0b.0 PCI Hot-plug controller: Compaq Computer Corporation PCI Hotplug Controller (rev 04)
0000:00:0c.0 System peripheral: Compaq Computer Corporation Advanced System Management Controller
0000:00:0d.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 14)
0000:00:0d.1 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 14)
0000:00:0e.0 VGA compatible controller: ATI Technologies Inc 3D Rage IIC 215IIC [Mach64 GT IIC] (rev 7a)
0000:00:12.0 Host bridge: Intel Corporation 450NX - 82454NX/84460GX PCI Expander Bridge (rev 02)
0000:00:14.0 Host bridge: Intel Corporation 450NX - 82454NX/84460GX PCI Expander Bridge (rev 02)
0000:04:01.0 PCI bridge: IBM IBM27-82351 (rev 07)
0000:04:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:04:04.0 Network controller: Intersil Corporation Intersil ISL3890 [Prism GT/Prism Duette] (rev 01)
0000:04:0b.0 PCI Hot-plug controller: Compaq Computer Corporation PCI Hotplug Controller (rev 04)
0000:05:00.0 Unknown mass storage controller: Compaq Computer Corporation Smart-2/P RAID Controller (rev 03)


Does anyone have a simple configuration, please, to log everything from
the HP agents to a the snmptrapd log - I think that once I understand
how to do that, shifting notifications to email should be pretty easy,
but at the moment I don't really have a clue what an SNMP "community"
is.

A community string is basically like a password - you set it on the
service being monitored so SNMP software with the string can connect and
query...

Right.... so my agents configuration is like this:

        $ sudo cat /etc/hpasmrc
        # install mode
        export CMASILENT="YES"
        # kernel version
        export CMAKERNELVERSION="2.6.11-gentoo-r4"
        #local rw community string
        export CMALOCALHOSTRWCOMMSTR="proliant"
        #local ro community string
        export CMALOCALHOSTROCOMMSTR=""
        #rw authorized management stations (multiples allowed)
        export CMAMGMTSTATIONRWIPORDNS="127.0.0.1"
        #rw authorized mangamane station community string (multiplies allowed)
        export CMAMGMTSTATIONRWCOMMSTR="proliant"
        ...

How do I get `snmptrapd` to query this community? Is that the right thing to do?
Thanks for your help,


Stroller.

--
[email protected] mailing list



Reply via email to