[Nagiosplug-help] Usage of check_hpasm
AL Chow (LWHKG-S)
al.chow at logwin-logistics.com
Wed Apr 29 12:05:39 CEST 2009
Dear All,
I got the solution finally and I hope this share can help
others. Here is my server environment:
Nagios Server: CentOS 5.3, Nagios 3.0.6, Nagios-plugins-1.4.13
Remote Host: HP Proliant, DL380(G2-G4), Win2003 SP2 / RHEL 3
Procedure (Nagios Server)
-------------------------------
1. install check_hpasm
2. install Net::SNMP & net-snmp
3. In console, type the following to test the connectivity:
/usr/local/nagios/libexec/check_hpasm -H CLIENT_IP -C public -p -P 2c
-v -c 1:35/2:40 --ignore-fan-redundancy -i
4. In commands.cfg, Add the following:
define command{
command_name check_hpasm
command_line $USER1$/check_hpasm
-H $HOSTADDRESS$ -C
$ARG1$ -p -P 2c -v -c 1:48/2:48 -i --ignore-fan-redundancy
}
5. In linux.cfg, add the following (change if difference in host_name or
address):
define host{
use linux-server ; Inherit default
values from a template
host_name REMOTE_HOST ; The name we're giving to this host
alias Remote Host ; A longer name
associated with the host
address 192.168.0.111 ; IP address
of the host
}
define service{
use
generic-service
host_name
REMOTE_HOST
service_description Hardware
Status
check_command
check_hpasm!public
}
Procedure (Remote Host)
-------------------------------
1. Install HP Advance System Management
2. Install HP Insight Management Agents
3. Enable SNMP with community and allow Nagios Server to access
===============================================================
After that, we should be able to monitor the following hardware status:
- Every CPU,IO Board, Power Supply temperature
- Dimm Status (RAM)
- Fan Speed
- Power Supply
- RAID Status
Also, System Model, Serial No. & ROM version.
P.S. Next, I'd try to monitor the IBM X Series server, once I got the
solution. I'll update all of you.
Good Luck !
Thanks,
AL Chow
_____________________________
System Administrator | HK, Taiwan & South China
-----Original Message-----
From: AL Chow (LWHKG-S)
Sent: Tuesday, April 28, 2009 12:46
To: 'Nagios Plugin Help List'
Subject: Usage of check_hpasm
Hi All,
I have setup a Nagios Server in CentOS, and make use of NSClient
with check_nt. It is now work properly. As I know that if I need to
monitor the following items of HP Proliant DL380 server(Win2003), I need
to use check_hpasm.
My question is:
1. What is the sample command (commands.cfg) I need to key in server
side?
2. Any agent or SNMP program that I need to install in HP DL380?
P.S. I got some information from this URL, but it did not have any
instruction.
http://www.consol.com/opensource/nagios/check-hpasm
AL Chow
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090429/b86cd7a7/attachment.html>
More information about the Help
mailing list