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

Page 315

Advertising
background image

log sub-elements

Log digest.

digest

String type.

Repeat time.

repeats

Integer type.

Log content.

content

String type.

Example

Query the detailed information about the syslog with ID 1.

Request

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

Response

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

<log>
<id>1>/id>
<recvTime>2011-08-29 16:39:11</recvTime>
<deviceId>12</deviceId>
<deviceName>L07069A</deviceName>
<deviceIp>10.153.129.35</deviceIp>
<sysName>H3C </sysName>
<module>DHCP-SNP</module>
<severity>5</severity>
<digest>dhcp-snooping server guard</digest>
<repeats>3</repeats>
<content><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!
</content>
</log>

Query Syslog Information

315

Advertising