Devupd is a utility that updates the RRD databases from the HP OpenView
collected information (held in $OV_DB/snmpCollect).
This utility takes just 1 parameter, and that is the name of the device to
update or, more commonly,
the special keyword “--all” which indicates that all devices that OverTime is
monitoring should be updated.
Devupd with the “--all” parameter should be scheduled to run on a regular basis
when the system is not being heavily used to achieve bulk updates of the RRDs.
Running “devupd --all” at say 7am and 7pm each day is normal practice. The
tradeoff in how frequently to run devupd is that if it is run more frequently
then it is using system resources to update files that may not need immediate
update versus running it less frequently meaning that dynamic updates performed
by devdtl and devmst will take longer when first used after the latest devupd.
For Unix, add this to cron:
0 7,19 *
* * /opt/OV/bin/devupd --all 2> /var/opt/OverTime/logs/upd.log 1>&2
For Windows, either use ‘at’ OR the Task Scheduler:
A typical ‘at’ command to accomplish this would look like:
at 7:00
/every:m,t,w,th,f,s,su "C:\Program Files\HP OpenView\NNM\bin\devupd
--all"
at 19:00 /every:m,t,w,th,f,s,su "C:\Program Files\HP
OpenView\NNM\bin\devupd --all"
OR using the Task Scheduler:
Go into
Control Panel/Scheduled Tasks.
Add a Scheduled
task.
Browse to
and select devupd (in OpenView's bin directory)
Select to
run it daily
Start
time is set to 7am
Put in
the administrator’s password twice.
Check the
“Open advanced properties for this task when I click Finish”
Click the
“Schedule” tab
Click the
“Advanced..” button.
Check “Repeat
task”, every 12 hours until 12AM.
Click “OK”
Click the
“Task” tab
On the
end of the “Run:” command (which shows the complete path to devupd) add
"--all" like this:
"C:\Program
Files\HP OpenView\NNM\bin\devupd.exe" --all
Click OK
and you will be asked to fill in the administrator’s password twice again.