Re: Adding SNMP communities to snmp-config.xml for an ip address range
JohnD Blackburn <[email protected]>
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <DB6PR0602MB290206105F03B7D0994F39C1CBFD0@DB6PR0602MB2902.eurprd06.prod.outlook.com> |
*Bump* Does anyone have any ideas on this? Regards, John From: JohnD Blackburn [mailto:[email protected]] Sent: Wednesday, 31 January 2018 7:02 AM To: General OpenNMS Discussion <[email protected]> Subject: [opennms-discuss] Adding SNMP communities to snmp-config.xml for an ip address range CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. I'm trying to set up an automated script for adding an snmp community to the snmp-config.xml file for an ip address range. I've found I can update/add an snmp community for an individual ip address using provision.pl, but I'd like to be able to do the same for an ip address range. I know I could do this by directly editing the snmp-config.xml file or the web interface, but I'd prefer to use a standard OpenNMS api/commandline interface to perform this operation if possible. How do I perform an add/update of an snmp community string for an ip address range from the commandline? I'm running OpenNMS 21.0.2 Regards, John Blackburn ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-discuss mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss