Manuel de l'administrateur Table des matières LinkedIn social network LinkedIn social network LinkedIn social network LinkedIn social network Share on social media

Report Generator

Nous sommes désolés mais cette page de documentation n'est pas traduite dans la version dont vous disposez actuellement.

Si vous visualisez cette page à partir de l'aide contextuel de LoriotPro, consultez la documentation en ligne pour savoir si cette page est disponible en Français et si une version plus récente d'aide est disponible en téléchargement.

L'aide contextuel de LoriotPro est disponible en format chm de Microsoft dans le répertoire /www/home

 

 

The Report Generator convert a LoriotPro Report sript file into a visible HTML page tha you can see with your WEB navigator. When reading the page, the generator interpret the SNMP tags, performs the SNMP requests and replace tages with the returning SNMP OID values.

When you call the Report Generator function, the software applies the selected script to the selected host. Embedded SNMP requests are sent to this host.

To start the Report Generator Tool from the main menu select:

Supervise>Current Host>Report Generator…

A dialog box appears asking you to load a script file with a  .rep extension. The .rep extension files are the script files in clear text format.

Example

As example, we will create a report on the interface status of the selected host. When the file selection window appears, select the ifentry.rep file.


File selection window

After this step, the Report Generator Tool window is displayed and provides you to run the selected script. The script will only interpret the script and generate an output file. The output file will contain all the necessary HTML tags and the results of the SNMP queries.

The file will be created by default in the BIN/www/tmp/ directory and named with the selected host IP address.

Click on Go for launching the analysis of the file ifentry.rep.

After a while depending on the number of SNMP requests programmed in your script and the SNMP response time between the software and the default host, the output file is generated and posted automatically with your default Web navigator.


An example of  report

Example : extract of the file 10.33.10.121_report.htm

<!--
<hr>
<b>Generated by LoriotPro  Ver. 2.00</b><br>
<b>Copyright 1999-2001 Lecointe Ludovic</b><br>
<a href='mailto:loriot@llecointe.com'>mailto:loriot@llecointe.com</a> <a href='http://www.llecointe.com'>http://www.llecointe.com</a><br>
<hr>
This software is provided as is without any guarantees or warranty.
Although the authors have attempted to find and correct any bugs in
the package, they are not responsible for any damage or losses of any
kind caused by the use or misuse of the package. The authors are    
under no obligation to provide service, corrections, or upgrades
to this package.  <hr>*** Generated: Sun Feb 17 16:48:49 2002
 ***<hr>
 -->
<!-- <img border=0 src='/img/report.jpg'> List interface for this host -->
<html><head>
<title>LoriotPro ifentry report script file for : Default Gateway</title>
<META HTTP-EQUIV='Pragma' CONTENT='no-cache'>
</head>
<body>
<font face='Courier New'>
<h5>LoriotPro Report Script, Generated File : from MIB file : rfc1213.mib</h5><hr>
<h3>
Host Name : Default Gateway<br>
Host : 10.33.10.121<br>
Generated at : Sun Feb 17 16:48:49 2002<br>
</h3>
</font>
<table width='100%' border='1'><tr><td align='center' bgcolor='#aaaaaa' width='20%'>LoriotPro response area</td></tr></table><br>
<!-- request area --><table bgcolor="aqua" border=1>
<tr><th bgcolor='#A8F4FB'>ifindex</th><th>IfIndex</th><th>ifDescr</th> <th>if
Type</th><th>ifMtu</th><th>ifSpeed</th><th>ifPhysAddress</th><th>ifAdminStatus</th><th>ifOperStatus</th><th>
ifLastChange</th><th>ifInOctets</th><th>ifInUcastPkts</th><th>ifInNUcastPkts</th><th>ifInDiscards</th><th>ifInErrors</th><th>ifInUnknownProtos</th><th>ifOutOctets</th><th>ifOutUcastPkts</th><th>ifOutNUcastPkts</th><th>ifOutDiscards</th><th>ifOutErrors</th><th>ifOutQLen</th><th>ifSpecific</th></tr>
<tr><th bgcolor='#A8F4FB'>1</th><th>1</th><th>Ethernet0</th><th>ethernetCsmacd</th><th>1500</th><th>10000000</th><th>00:00:0C:09:66:81:</th><th>up</th><th>up</th><th>Thu Jan 01 02:48:18 1970</th><th>121457</th><th>519</th><th>274</th><th>0</th><th>1</th><th>12</th><th>142697</th><th>526</th><th>306</th><th>0</th><th>0</th><th>0</th><th>No Found</th></tr>
<tr><th
<tr><th bgcolor='#A8F4FB'>29</th><th>29</th><th>Tunnel0</th><th>other</th><th>1514</th><th>10000000</th><th>(null)</th><th>up</th><th>up</th><th>Thu Jan 01 02:52:37 1970</th><th>0</th><th>0</th><th>0</th><th>0</th><th>0</th><th>0</th><th>2416</th><th>4</th><th>0</th><th>4</th><th>0</th><th>0</th><th>No Found</th></tr>
</table>
<!-- request area -->
<hr>
<b>Generated by LoriotPro  Ver. 2.00</b><br>
<b>Copyright 1999-2001 Lecointe Ludovic</b><br>
<a href='mailto:loriot@llecointe.com'>mailto:loriot@llecointe.com</a> <a href='http://www.llecointe.com'>http://www.llecointe.com</a><br>
<hr>
This software is provided as is without any guarantees or warranty.
Although the authors have attempted to find and correct any bugs in
the package, they are not responsible for any damage or losses of any
kind caused by the use or misuse of the package. The authors are    
under no obligation to provide service, corrections, or upgrades    
to this package.  <hr>*** Generated: Sun Feb 17 16:48:52 2002
 ***<hr>

The script file is formatted with html tags inserted in a common HTML text document. In the following example, the variables are replaced with their values obtained from the SNMP requests made to the selected host.

Input file

<h3>
Host Name : <dsnmp getsession name><br>
Host : <dsnmp getsession ip_add><br>
Generated at : <dsnmp getsession datetime><br>
</h3>

Output file

<h3>
Host Name : Default Gateway<br>
Host : 10.33.10.121<br>
Generated at : Sun Feb 17 16:48:49 2002<br>
</h3>

The  <dsnmp disclaimer>  tag of the input file has been replaced with the text :

<hr>
This software is provided as is without any guarantees or warranty.
Although the authors have attempted to find and correct any bugs in
the package, they are not responsible for any damage or losses of any
kind caused by the use or misuse of the package. The authors are    
under no obligation to provide service, corrections, or upgrades
to this package.  <hr>*** Generated: Sun Feb 17 16:48:52 2002
 ***<hr>


The result is displayed in the WEB navigator


www.loriotpro.com