Irmc System Report; Curl Script For Download - Cisco C880 M5 Configuration Manual

Hide thumbs Also See for C880 M5:
Table of Contents

Advertisement

When the SNMP service is enabled, information provided by these MIBs can be used
by any system running an SNMP manager.
6.2

iRMC system report

Typically, the collected information includes, among others, iRMC information
(sensor, IDPROM/FRU, eventlog) etc.
A subset of this information, comprising mainly service incidents, can be made
available directly out-of-band from the iRMC.
This section gives some examples on scripted download and automatic evaluation of
the iRMC report and shows system report items provided by the iRMC.
6.2.1

cURL script for download

cURL is an open source command line tool for transferring data specified with URL
syntax. The latest version of the source code as well as precompiled versions for
different operating systems can be downloaded from http://curl.haxx.se/.
The following are some examples of how to retrieve the System Report file with
cURL from the iRMC, for details of the cURL command line options please refer to
the cURL documentation. As default cURL sends the retrieved data to standard
output, you can redirect or pipe it into additional processing or save the retrieved
data with the –o
<outputfilename>.
HTTP access with Digest authentication, the default iRMC admin account and saving (-
l
o) to 'report.xml':
curl --digest –o report.xml -u admin:admin
http://192.168.1.100/report.xml
HTTPS Access with no certificate check (-k) and Digest authentication and the
l
default iRMC admin account:
curl --digest -k -u admin:admin
https://192.168.1.100/report.xml
HTTPS Access with a LDAP user account:
l
Please note that, for LDAP users, you have to specify basic authentication since
the authentication parameters need to be passed to the LDAP server for
verification:
curl --basic -k -u LDAPuser:LDAPpassword
https://192.168.1.100/report.xml
Cisco C880 M5 Configuration Guide
6.2 iRMC system report
77

Advertisement

Table of Contents
loading

Table of Contents