NOTE: that the ovsnmp.conf file is now a shadow file however you can achieve
what you want to do my using
xnmsnmpconf -export >temp_config
To get the current entries of the ovsnmp database into temp_config, which you
can then edit and then replace the ovsnmp database with the new entries using
xnmsnmpconf - import <temp_config
The man page for xnmsnmpconf gives more information
Cheers...db
From: rdearm1%UIC.EDU@Internet on 22/11/99 23:10 MST
To: NV-L%UCSBVM.ucsb.edu@Internet
cc: (bcc: David Barnwell)
Subject: SNMP Polling
I need to monitor a couple hundred snmp device most with different community
names. Instead of adding each one manually through the GUI. Can I edit the
/usr/OV/conf/ovsnmp.conf file and add the entries here then restart netmon
and it will update the configuration for these devices. The ovsnmp.conf
file states not to edit it directly but this seems to be the quickest way to
add many entries.
Thanks
|