Hi,
Thanks for replying so fast.
The output that I got from hpi_shell> showevtlog is different from the
logs shown in OA syslog output(1-1 mapping is not there).
I have attached the output of showevtlog and OA syslog history output,
Can you tell me whether it is possible to
retrieve the OA syslog history contents using OpenHpi.
Also is it like OpenHpi will retrieve only the outstanding events and
not the events which are already cleared?
Requirement is:
Events shown in OA should match with the output of OpenHpi
commands which confirms OpenHpi can be used to retrieve events and
alarms from OA.
This testing is done so that I can go ahead and implement a tool
using OpenHPI provided API interfaces to retrieve the hardware inventory
and
Alarm, event information.
Regards
Naveen S
-----Original Message-----
From: ext Beecherla, Hemantha [mailto:[email protected]]
Sent: Friday, June 15, 2012 6:19 PM
To: [email protected]
Subject: Re: [Openhpi-devel] Reg. OpenHPI support on HP C class blades
Hi Naveen,
Could you please try hpi_shell> showevtlog.
Thanks& Regards,
Hemantha Reddy
________________________________
From: Shivegowda, Naveen (NSN - IN/Bangalore)
[[email protected]]
Sent: Friday, June 15, 2012 1:12 PM
To: [email protected]
Subject: [Openhpi-devel] Reg. OpenHPI support on HP C class blades
Hi,
I am using OpenHPI(hpiinv) to retrieve the HP hardware inventory
information from Onboard Administrator and it is working fine but when I
try to retrieve the syslog events from OA using
hpiel, nothing is happening.
root@blr02> hpiel
hpiel (rev 6571) - This program came with OpenHPI 2.14.1
SAF HPI Version B.03.01
Domain Info: UpdateCount = 33, UpdateTime = 1297c91884f56260
I am getting the above output when I try hpiel command to retrieve the
old syslog events.
Also I am able to get the live events from HP Onboard Administrator
using hpievents -t SAHPI_TIMEOUT_BLOCK or BLOCK.
Event Type: HOTSWAP
From Resource:
{SYSTEM_CHASSIS,1}{COOLING_UNIT,1}{COOLING_DEVICE,2}{FAN,1}
Event Resource ID: 15
Event Timestamp: 2012-06-15 17:29:21
Event Severity: OK
HotswapEvent:
HotSwapState: NOT_PRESENT
PreviousHotSwapState: ACTIVE
Event Type: HOTSWAP
>From Resource:
{SYSTEM_CHASSIS,1}{COOLING_UNIT,1}{COOLING_DEVICE,2}{FAN,1}
Event Resource ID: 15
Event Timestamp: 2012-06-15 17:29:28
Event Severity: OK
HotswapEvent:
HotSwapState: ACTIVE
PreviousHotSwapState: NOT_PRESENT
Can anyone help on this to proceed further to retrieve the system events
from OA using openhpi?
Hardware Specifications:
BladeSystem c7000 Enclosure G2
ProLiant BL460c G7
HP VC FlexFabric 10Gb/24-Port Module
Regards
Naveen S
------------------------------------------------------------------------
------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions
will include endpoint security, mobile security and the latest in
malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel
OpenHPI> showevtlog
EventLog: entries = 25, size = 10000, enabled = 1
UpdateTime = 2012-06-15 17:12:01 CurrentTime = 2012-06-18 10:37:08 Overflow = 0
2012-06-15 17:12:01 SENSOR OPERATIONAL 1/1 MAJOR PRED_FAIL
PRED_FAILURE_ASSERT:ASSERTED
2012-06-15 17:12:01 SENSOR OPERATIONAL 25/1 MAJOR PRED_FAIL
PRED_FAILURE_ASSERT:ASSERTED
2012-06-15 17:12:01 SENSOR OPERATIONAL 25/3 MAJOR REDUNDANCY
REDUNDANCY_LOST:ASSERTED
2012-06-15 17:12:01 SENSOR OPERATIONAL 28/0 CRITICAL ENABLE DISABLED:ASSERTED
2012-06-15 17:12:01 RESOURCE 28 CRITICAL FAILURE
2012-06-15 17:12:01 SENSOR OPERATIONAL 28/1 MAJOR PRED_FAIL
PRED_FAILURE_ASSERT:ASSERTED
2012-06-15 17:12:01 SENSOR OPERATIONAL 28/17 MAJOR ENABLE DISABLED:ASSERTED
2012-06-15 17:12:01 SENSOR OPERATIONAL 28/19 MAJOR ENABLE DISABLED:ASSERTED
2012-06-15 17:12:01 SENSOR OPERATIONAL 29/0 CRITICAL ENABLE DISABLED:ASSERTED
2012-06-15 17:12:01 RESOURCE 29 CRITICAL FAILURE
2012-06-15 17:12:01 SENSOR OPERATIONAL 29/1 MAJOR PRED_FAIL
PRED_FAILURE_ASSERT:ASSERTED
2012-06-15 17:12:01 SENSOR OPERATIONAL 29/17 MAJOR ENABLE DISABLED:ASSERTED
2012-06-15 17:12:01 SENSOR OPERATIONAL 29/19 MAJOR ENABLE DISABLED:ASSERTED
2012-06-15 17:12:01 SENSOR OPERATIONAL 30/0 CRITICAL ENABLE DISABLED:ASSERTED
2012-06-15 17:12:01 RESOURCE 30 CRITICAL FAILURE
2012-06-15 17:12:01 SENSOR OPERATIONAL 30/1 MAJOR PRED_FAIL
PRED_FAILURE_ASSERT:ASSERTED
2012-06-15 17:12:01 SENSOR OPERATIONAL 30/17 MAJOR ENABLE DISABLED:ASSERTED
2012-06-15 17:12:01 SENSOR OPERATIONAL 30/19 MAJOR ENABLE DISABLED:ASSERTED
2012-06-15 17:12:01 SENSOR OPERATIONAL 31/0 CRITICAL ENABLE DISABLED:ASSERTED
2012-06-15 17:12:01 RESOURCE 31 CRITICAL FAILURE
2012-06-15 17:12:01 SENSOR OPERATIONAL 31/1 MAJOR PRED_FAIL
PRED_FAILURE_ASSERT:ASSERTED
2012-06-15 17:12:01 SENSOR OPERATIONAL 31/17 MAJOR ENABLE DISABLED:ASSERTED
2012-06-15 17:12:01 SENSOR OPERATIONAL 31/19 MAJOR ENABLE DISABLED:ASSERTED
2012-06-15 17:12:01 SENSOR OPERATIONAL 32/24 MAJOR ENABLE DISABLED:ASSERTED
2012-06-15 17:12:01 SENSOR OPERATIONAL 33/23 MAJOR ENABLE DISABLED:ASSERTED
OA-3CD92BFB0BF7> show syslog history 0
Feb 27 16:45:53 OA: Log cleared by Administrator.
Feb 27 16:46:05 OA: Fan Removed: Bay #3
Feb 27 16:46:21 OA: Fan Inserted: Bay #3
Feb 27 16:47:36 OA: Time zone changed by Administrator.
Jun 15 11:10:01 OA: Time changed by Administrator.
Jun 15 11:10:23 OA: Time zone changed from CST+6 to IST-5:30
Jun 15 11:12:48 OA: Administrator logged into the Onboard Administrator from
10.255.14.92
Jun 15 11:12:48 OA: Administrator logged into the Onboard Administrator from
10.255.14.92
Jun 15 11:13:30 OA: Administrator logged into the Onboard Administrator from
10.255.14.92
Jun 15 11:14:37 OA: Fan Removed: Bay #2
Jun 15 11:14:47 OA: Fan Inserted: Bay #2
Jun 15 11:15:34 OA: Fan Removed: Bay #1
Jun 15 11:15:46 OA: Fan Inserted: Bay #1
Jun 15 11:18:32 OA: Administrator logged into the Onboard Administrator from
10.142.150.14
Jun 15 11:19:25 OA: Primary NTP server was set to 10.255.14.49 by user
Administrator.
Jun 15 11:19:27 OA: Secondary NTP server was set to 0.0.0.0 by user
Administrator.
Jun 15 11:19:38 OA: Protocol NTP was enabled by user Administrator
Jun 15 11:19:56 NTP: Failed to update time/date using NTP
Jun 15 11:20:19 OA: Administrator logged into the Onboard Administrator from
10.142.148.66
Jun 15 11:21:09 OA: Administrator logged out of the Onboard Administrator
Jun 15 11:21:10 OA: Administrator logged into the Onboard Administrator from
10.255.14.91
Jun 15 11:21:24 OA: Administrator logged out of the Onboard Administrator
Jun 15 11:21:25 OA: Administrator logged into the Onboard Administrator from
10.255.14.92
Jun 15 11:21:26 NTP: Failed to update time/date using NTP
Jun 15 11:24:24 OA: Administrator logged into the Onboard Administrator from
10.255.14.92
Jun 15 11:40:06 OA: Administrator logged out of the Onboard Administrator
Jun 15 11:40:07 OA: Administrator logged into the Onboard Administrator from
10.255.14.92
Jun 15 11:59:59 OA: Blade in bay 1 has been powered down
Jun 15 12:01:41 OA: Blade removed from bay 1
Jun 15 12:01:45 OA: Blade inserted in bay 1
Jun 15 12:01:45 OA: Blade in bay #1 status changed to OK
Jun 15 12:02:07 OA: Blade 1 is now configured for Virtual Connect Manager.
Jun 15 12:02:17 OA: Blade 1 is reporting nominal health status.
Jun 15 12:02:17 OA: Blade in bay #1 status changed to OK
Jun 15 12:02:26 OA: Network link to iLO in bay 1 is down
Jun 15 12:02:28 OA: Blade 1 is properly cooled.
Jun 15 12:04:01 OA: Network link to iLO in bay 1 is up
Jun 15 12:04:07 OA: Blade in bay #1 status changed to OK
Jun 15 12:05:58 OA: Fan Removed: Bay #1
Jun 15 12:06:06 OA: Fan Inserted: Bay #1
Jun 15 12:06:10 OA: Fan Removed: Bay #6
Jun 15 12:06:15 OA: Fan Inserted: Bay #6
Jun 15 12:13:45 OA: Administrator logged into the Onboard Administrator from
10.142.150.62
Jun 15 12:16:26 OA: Administrator logged into the Onboard Administrator from
10.142.142.138
Jun 15 12:16:41 OA: Fan Removed: Bay #2
Jun 15 12:16:47 OA: Fan Inserted: Bay #2
Jun 15 12:30:28 OA: Blade in bay 1 has been powered down
Jun 15 12:35:13 OA: Fan Removed: Bay #1
Jun 15 12:35:19 OA: Fan Inserted: Bay #1
Jun 15 12:36:25 OA: Fan Removed: Bay #3
Jun 15 12:36:30 OA: Fan Inserted: Bay #3
Jun 15 12:42:27 OA: Fan Removed: Bay #3
Jun 15 12:43:01 OA: Fan Inserted: Bay #3
Jun 15 12:43:55 OA: Administrator logged out of the Onboard Administrator
Jun 15 12:43:57 OA: Administrator logged into the Onboard Administrator from
10.255.14.92
Jun 15 12:58:39 OA: Administrator logged out of the Onboard Administrator
Jun 15 12:58:49 OA: Administrator logged into the Onboard Administrator from
10.255.14.92
Jun 15 13:03:55 OA: Administrator logged out of the Onboard Administrator
Jun 15 13:03:58 OA: Administrator logged into the Onboard Administrator from
10.255.14.92
Jun 15 13:41:29 OA: Authentication failure for user root from 10.142.148.122,
requesting sshd
Jun 15 13:41:36 OA: Authentication failure for user root from 10.142.148.122,
requesting sshd
Jun 15 13:41:47 OA: Authentication failure for user root from 10.142.148.122,
requesting sshd
Jun 15 13:42:10 OA: Failed login attempt with user root from 10.142.148.122
Jun 15 13:42:36 OA: Administrator logged into the Onboard Administrator from
10.142.139.68
Jun 15 13:44:20 OA: Administrator logged into the Onboard Administrator from
10.255.14.92
Jun 15 13:44:20 OA: Administrator logged into the Onboard Administrator from
10.255.14.92
Jun 15 13:45:00 OA: Administrator logged into the Onboard Administrator from
10.255.14.92
Jun 15 14:12:20 OA: Administrator logged out of the Onboard Administrator
Jun 15 14:14:37 OA: Authentication failure for user root from 10.142.139.68,
requesting sshd
Jun 15 14:14:44 OA: Failed login attempt with user root from 10.142.139.68
Jun 15 14:14:52 OA: Administrator logged into the Onboard Administrator from
10.142.139.68
Jun 15 14:20:10 OA: Administrator logged into the Onboard Administrator from
10.142.139.68
Jun 15 14:20:53 OA: Administrator logged out of the Onboard Administrator
Jun 15 14:21:15 OA: Administrator logged into the Onboard Administrator from
10.142.139.68
Jun 15 14:31:18 OA: Administrator logged out of the Onboard Administrator
Jun 15 14:34:30 OA: Administrator logged into the Onboard Administrator from
10.142.139.68
Jun 15 14:40:26 OA: Administrator logged into the Onboard Administrator from
10.142.148.183
Jun 15 15:03:39 OA: Administrator logged out of the Onboard Administrator
Jun 15 15:34:48 OA: Administrator logged out of the Onboard Administrator
Jun 15 15:34:48 OA: Administrator logged out of the Onboard Administrator
Jun 15 16:17:44 OA: Administrator logged out of the Onboard Administrator
Jun 15 16:17:45 OA: Administrator logged out of the Onboard Administrator
Jun 15 16:18:59 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:19:02 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:19:12 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:19:22 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:19:25 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:19:35 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:19:45 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:19:59 OA: Administrator logged into the Onboard Administrator from
10.255.14.91
Jun 15 16:20:19 OA: Administrator logged out of the Onboard Administrator
Jun 15 16:20:22 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:20:24 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:20:34 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:20:45 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:21:19 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:21:26 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:21:36 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:21:46 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:21:51 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:21:53 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:22:03 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:22:14 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:25:24 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:28:03 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:28:06 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:28:47 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:28:52 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:32:02 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:33:05 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:33:07 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:33:17 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:33:20 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:33:24 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:33:33 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 16:33:43 OA: Authentication failure for user root from 10.255.14.91,
requesting web service
Jun 15 17:11:37 OA: Administrator logged into the Onboard Administrator from
10.255.14.92
Jun 15 17:11:38 OA: Administrator logged into the Onboard Administrator from
10.255.14.92
Jun 15 17:12:22 OA: Administrator logged into the Onboard Administrator from
10.255.14.92
Jun 15 17:29:41 OA: Fan Removed: Bay #1
Jun 15 17:29:48 OA: Fan Inserted: Bay #1
Jun 15 18:49:14 OA: EBIPA Interconnect first NTP IP for bay 1 set to
10.255.13.42 by user Administrator
Jun 18 10:28:23 OA: Authentication failure for user root from 10.142.150.104,
requesting sshd
Jun 18 10:28:30 OA: Authentication failure for user root from 10.142.150.104,
requesting sshd
Jun 18 10:28:36 OA: Failed login attempt with user root from 10.142.150.104
Jun 18 10:28:46 OA: Authentication failure for user Administration from
10.142.150.104, requesting sshd
Jun 18 10:28:52 OA: Failed login attempt with user Administration from
10.142.150.104
Jun 18 10:29:02 OA: Administrator logged into the Onboard Administrator from
10.142.150.104
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel