• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..15-Nov-2011-

READMEH A D26-Feb-20024.1 KiB10681

buildhtH A D26-Feb-2002184 43

buildrtovH A D26-Feb-20021,001 2422

cfgmakerovH A D26-Feb-200214.6 KiB502345

indexH A D26-Feb-20024.1 KiB150105

installovH A D26-Feb-200298 21

installov.cmdsH A D26-Feb-2002638 1312

installov.plH A D26-Feb-20021.6 KiB6543

mrtgmenuH A D26-Feb-20021.2 KiB5846

ovaddH A D26-Feb-20025.3 KiB188143

ovcolsH A D26-Feb-20021 KiB4220

ovcullfileH A D26-Feb-20022.8 KiB10579

ovcvtfileH A D26-Feb-20023.6 KiB136106

ovdelH A D26-Feb-20024.8 KiB181140

ovinH A D26-Feb-2002162 76

ovmrtg.pmH A D26-Feb-200212.4 KiB403254

ovshoH A D26-Feb-2002911 4020

ovsysnmsH A D26-Feb-2002950 4419

ovtstH A D26-Feb-20021,014 3921

ovupdateH A D26-Feb-20021.6 KiB6948

README

1The following requirements/outstanding issues exist for OVMRTG.
2===============================================================
3
4Installation Version 0.2
5------------------------
6
7After installing MRTG and HPOV the following additional customisation
8needs to be done.
9The file $rundir/installov.cmds should be modified to reflect the locations of
101) the mrtg executables ($rundir)
112) the web output directory ($webdir)
123) the name of the cron file within $rundir ($cronfile)
134) the name of the root HTML file within $webdir ($roothtml).
145) the name of the HTML rebuild file ($buildhtf)
156) the company name for display in the HTML ($company)
167) the directory where the HPOV databases exist {$OV_DB} ($ov_db)
178) the directory where snmpCol.conf is found {$OV_CONF} ($ov_conf)
189) Any command line changes to run the perl from within HPOV. May need
19   full directory paths to both perl and ovmrtg scripts
20
21NT:
22Suggested defaults for the above items under NT:
233) mrtgkick.bat
245) buildht.bat
257) /OpenView/databases
268) /OpenView/conf
27
28Then installov should be run from within the mrtg directory to
29update the scripts.
30
31Next the perl script ovupdate should be run to create the new ovmrtgc.csv file
32
33mrtgmenu then needs to be placed into $OV_REGISTRATION/C and be readable
34by the group of users that might need to change mrtg targets.
35You will need to shutdown and restart ovw to see the menu items
36appear under the Misc menu. You do not need to do an ovstop!
37
38The gif files for MRTG banner are located in the common directory
39$webdir for all the HTML's to reference a single copy.
40
41ISSUES
42------
43
44It is assumed that the HPOV host is also the web server for MRTG
45so that mkdir's can be executed in the WEB directories.
46
47As the target/s are selected from the HPOV screen, it is assumed
48that HPOV already knows what the read community names are for
49these devices. OVMRTG uses this fact to alleviate the need for
50it to know community names.
51
52Little error checking and reporting is currently done. If someone is
53displaying the data collection screen then ovadd and ovdel will
54fail and will NOT report failure to the user.
55
56The SNMP sysName is used to create directories in the web area and is also
57used for most file and web names for that device. As such, the system name
58needs to be unique and set for each device that will be monitored. If it is
59not set for each device then the IP address is used instead.
60Code that translates IP Address to sysname can be setup in ovsysnms
61and in cfgmakerov if desired. All directories, configs html files etc
62are produced for each target by the unique sysname.
63
64At present the data collects into the snmpCollect directory forever.
65I've started to write a cleanup routine that will be able to keep
66only recent history. (see ovcullfile)
67
68ovdel does not destroy the directories that are created for the deleted target
69(a safety measure). If you want to clean them up it is currently a
70manual process.
71
72Access
73------
74
75$rundir & $webdir files & directories should be rw for the group of people
76that might be changing mrtg targets from within HPOV
77
78$OV_CONF/snmpCol.conf needs to be rw for OVMRTG users
79
80In the mrtg executable directory, the .cfg files are created.
81A file called 'collects' is also created as a work file.
82DO NOT create a file in this directory with this name.
83
84CRON
85----
86
87cron needs to be setup by the user. Typically a line like this works:
880,5,10,15,20,25,30,35,40,45,50,55 * * * * /opt/mrtg/run/mrtgc 2>/opt/mrtg/run/log 1>&2
89The equivalent job should be setup under NT.
90OVMRTG should not care if the host is Unix or NT.
91
92The end of ovadd and ovdel may be customised to perform extra tasks
93by the cron job.
94
95Usage
96-----
97
98Once setup, the user selects the OVMRTG target/s from the OV screen.
99The Misc menu item is then selected, followed by Mrtg Actions and
100then select either the 'Add/Update' or 'Stop collecting' options.
101The third option, Show MRTG Targets, works on Unix systems ONLY at
102present. I only have the UNIX NNM developers kit. This option
103'selects' the current targets on the screen for easy updates.
104
105To understand what happens for an add/update, see the file newrtrov.txt
106