Re: [gentoo-user] SNMP and Proliant Management Utilities...

2005-05-20 Thread A. Khattri
On Fri, 20 May 2005, Stroller wrote:

 I'll have another go at this later today. Since I know you've worked
 with Proliants before I was figuring you wouldn't need to look at the
 docs - maybe I'll post any future questions to the HP Forums. Thanks
 for your help.

Ive worked on a few Proliants but Im no expert on them...

-- 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SNMP and Proliant Management Utilities...

2005-05-19 Thread Stroller
On May 18, 2005, at 4:10 pm, A. Khattri wrote:
You could run netstat -an --udp and see if anything is listening on
UDP port 161. If you dont have that software, maybe the net-snmp 
package
would suffice?
Right, thanks. That shows nothing.
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.
Looking at the docs, maybe you need an SNMP agent running for the peer
agents to send information to? I say this because of this quote:
During installation, the Peer Agents are configured to start
automatically when the SNMP agent is running. Linux run-level
configuration tools can be used to change Peer Agent configurations. 
They
should be started after the SNMP agent snmpd is started and should be
killed after snmpd is killed.

This seems to imply that there should be an snmpd-type process running.
It looks like I've been completely misunderstanding this. I don't 
really understand how the peer agents communicate with the SNMP agents, 
in that case.

I'll have another go at this later today. Since I know you've worked 
with Proliants before I was figuring you wouldn't need to look at the 
docs - maybe I'll post any future questions to the HP Forums. Thanks 
for your help.

Stroller.
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] SNMP and Proliant Management Utilities...

2005-05-18 Thread A. Khattri
On Tue, 17 May 2005, Stroller wrote:

 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.

Looking at the docs, maybe you need an SNMP agent running for the peer
agents to send information to? I say this because of this quote:

During installation, the Peer Agents are configured to start
automatically when the SNMP agent is running. Linux run-level
configuration tools can be used to change Peer Agent configurations. They
should be started after the SNMP agent snmpd is started and should be
killed after snmpd is killed.

This seems to imply that there should be an snmpd-type process running.

You could run netstat -an --udp and see if anything is listening on
UDP port 161. If you dont have that software, maybe the net-snmp package
would suffice?

 How do I get `snmptrapd` to query this community? Is that the right
 thing to do?

Sure, you can have it listen (UDP port 162) for SNMP traps - but you will
need something to send traps to it since it is passive.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SNMP and Proliant Management Utilities...

2005-05-16 Thread A. Khattri
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? If it is, then maybe there is
something you can set in the RAID BIOS to enable SNMP monitoring?

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

 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...


-- 




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SNMP and Proliant Management Utilities...

2005-05-16 Thread Stroller
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
	:00:02.0 Communication controller: Tiger Jet Network Inc. Tiger3XX 
Modem/ISDN interface
	:00:0b.0 PCI Hot-plug controller: Compaq Computer Corporation PCI 
Hotplug Controller (rev 04)
	:00:0c.0 System peripheral: Compaq Computer Corporation Advanced 
System Management Controller
	:00:0d.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 
(rev 14)
	:00:0d.1 SCSI storage controller: LSI Logic / Symbios Logic 53c875 
(rev 14)
	:00:0e.0 VGA compatible controller: ATI Technologies Inc 3D Rage 
IIC 215IIC [Mach64 GT IIC] (rev 7a)
	:00:12.0 Host bridge: Intel Corporation 450NX - 82454NX/84460GX 
PCI Expander Bridge (rev 02)
	:00:14.0 Host bridge: Intel Corporation 450NX - 82454NX/84460GX 
PCI Expander Bridge (rev 02)
	:04:01.0 PCI bridge: IBM IBM27-82351 (rev 07)
	:04:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C/8139C+ (rev 10)
	:04:04.0 Network controller: Intersil Corporation Intersil ISL3890 
[Prism GT/Prism Duette] (rev 01)
	:04:0b.0 PCI Hot-plug controller: Compaq Computer Corporation PCI 
Hotplug Controller (rev 04)
	: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.
--
gentoo-user@gentoo.org mailing list