beautypg.com

Example, Request, Response – HP Intelligent Management Center Licenses User Manual

Page 317

background image

log sub-elements

Severity level.

severity

Integer type.

Log digest.

digest

String type.

Repeat time.

repeats

Integer type.

Log content.

content

String type.

Example

Query and list syslogs. The first ten entries are listed by default.

Request

GET http://imc_host:8080/imcrs/fault/syslog/log/
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...



1>/id>
2011-08-29 16:39:11
12
L07069A
10.153.129.35
H3C
DHCP-SNP
5
dhcp-snooping server guard
3
<182>Oct 12 11:02:52 19.82.2.20 Apr 2 00:04:42 2000 H3C %%DHCP-SNP/5/dhcp-snooping server guard:- 1 -Port 0
detect DHCP server in VLAN 1 MAC is 00e0-fc05-53b1 IP is 10.153.89.1!


...

10
2011-08-29 16:39:11
12
L07069A
10.153.129.35
Monza_IRF
10PORTSEC
2
LOGINFAILURE(l)
3
<182>Oct 12 11:02:52 19.82.2.20 Apr 3 03:23:53 2000 Monza_IRF %%10PORTSEC/2/LOGINFAILURE(l):- 8 - OID:
1.3.6.1.4.1.2011.10.2.26.1.3.3(h3cSecureLoginFailure) A user login failure occurs due to the user not being successfully
authorised IfIndex: 503316834 Port:Ethernet8/0/42 MAC Addr: 0010-5ce8-89fa VLAN id:999 PortNum:503316834
UserName: local@local



Query Syslog Information List

317