Hi Everybody,
How can I set a different community(not public) in the next xml ?
Is there a option ?
<query>
<name>Get SNMP </name>
<description>queries</description>
<oid_index>.1.3.6.1.2.1.2.2.1.1</oid_index>
<fields>
<ifName>
<name>Name</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.1</oid>
</ifName>
<ifAlias>
<name>Alias</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.18</oid>
</ifAlias>
<ifHCInOctets>
<name>TrafficInNokia</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.6</oid>
</ifHCInOctets>
<ifHCOutOctets>
<name>TrafficOutNokia</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.10</oid>
</ifHCOutOctets>
</fields>
</query>
[HELP] XML Data Queries
Moderators: Developers, Moderators
Re: [HELP] XML Data Queries
SNMP security settings are against the device, not the data source.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Posts: 3
- Joined: Mon Aug 20, 2018 10:10 am
Re: [HELP] XML Data Queries
Ok, I got it and it works for that .xml. Thanks
But I have multiples data_queries that are necessary use different communities(public and NETMAN). Is there alternative for this case ?
But I have multiples data_queries that are necessary use different communities(public and NETMAN). Is there alternative for this case ?
Re: [HELP] XML Data Queries
Not that I'm aware of. SNMP settings have never been at the data source level as far as I know.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Who is online
Users browsing this forum: No registered users and 0 guests