This file is indexed.

/usr/share/doc/snmptt/snmpttconvert.html is in snmptt 1.4-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE doctype PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content=
"HTML Tidy for Linux/x86 (vers 14 June 2007), see www.w3.org" />
<meta content="text/html; charset=us-ascii" http-equiv=
"Content-Type" />
<meta content="Alex Burger" name="Author" />
<meta content="Mozilla/4.78 [en] (Windows NT 5.0; U) [Netscape]"
name="GENERATOR" />
<link rel="StyleSheet" type="text/css" href="layout1.css" />
<title>SNMP Trap Translator</title>
</head>
<body>
<h1><b>SNMP Trap Translator Convert v1.4</b></h1>
<b>(</b><a href=
"http://www.snmptt.org"><b>SNMPTTCONVERT</b></a><b>)</b><br />
This file was last updated on:&nbsp; August 30th, 2004
<h2><b>License</b></h2>
<p>Copyright 2002-2013 Alex Burger<br />
alex_b@users.sourceforge.net<br />
4/3/2002</p>
<p>This program is free software; you can redistribute it and/or
modify<br />
it under the terms of the GNU General Public License as published
by<br />
the Free Software Foundation; either version 2 of the License,
or<br />
(at your option) any later version.</p>
<p>This program is distributed in the hope that it will be
useful,<br />
but WITHOUT ANY WARRANTY; without even the implied warranty
of<br />
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&nbsp; See
the<br />
GNU General Public License for more details.</p>
<p>You should have received a copy of the GNU General Public
License<br />
along with this program; if not, write to the Free Software<br />
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA&nbsp;
02111-1307&nbsp; USA<br />
&nbsp;</p>
<h2><b>SNMPTTCONVERT</b></h2>
<p>Some vendors provide a file that can be imported into HP
Openview using a HP Openview utiltity.&nbsp; <span style=
"font-weight: bold;">SNMPTTCONVERT</span> is a simple Perl script
which will convert one of these files into the format used by
SNMPTT.&nbsp; The file can contain multiple traps.</p>
<p>For example, if the file ciscotrap.txt contained:</p>
<blockquote>rpsFailed {.1.3.6.1.4.1.437.1.1.3} 6 5 - "Status
Events" 1<br />
Trap received from enterprise $E with $# arguments:
sysName=$1<br />
SDESC<br />
"A redundant power source is connected to the switch but a failure
exists in<br />
the power system."<br />
EDESC</blockquote>
Executing snmpttconvert ciscotrap.txt would output:
<blockquote>#<br />
#<br />
#<br />
EVENT rpsFailed .1.3.6.1.4.1.437.1.1.3.0.5 "Status Events"
Normal<br />
FORMAT Trap received from enterprise $E with $# arguments:
sysName=$1<br />
#EXEC qpage -f TRAP notifygroup1 "Trap received from enterprise $E
with $# arguments: sysName=$1"<br />
SDESC<br />
"A redundant power source is connected to the switch but a failure
exists in<br />
the power system."<br />
EDESC</blockquote>
<p><br />
Note:&nbsp; The #EXEC line is added by default.&nbsp; This can be
changed by editing the SNMPTTCONVERT script.<br />
&nbsp;</p>
</body>
</html>