first of all i wish to thank the cacti team and community for this great product. i use it allready from the early stages of its release and loved the challange to intergrate it into a lot of nagios systems (and also the challenge when it did not run on windows to run it on windows)
and here it comes. i mostly allways used scripts as input for datasources.
in a sense it simplyfies the usage of cacti. but now i am working on a new client site and scripts are not an options for some items. thus snmp is for me the only option.
ok now i found out that an snmpget dont work to get a specific oid but i need an snmpwalk thus a cacti data query
i have gotten to the part i have the following xml
this xml gives me a result in my graphs. but as you might see the indexname server sessions all has the same OID.<interface>
<name>Get Firepass Server Sessions</name>
<description>Get Firepass Server Sessions</description>
<index_order_type>numeric</index_order_type>
<oid_index>.1.3.6.1.4.1.3375.1.10.100.4</oid_index>
<fields>
<ServerSessionsIndex>
<name>ServerSessions</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.3375.1.10.100.4</oid>
</ServerSessionsIndex>
<ServerSessions>
<name>ServerSessions</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.3375.1.10.100.4</oid>
</ServerSessions>
</fields>
</interface>
my question is:
is this the way to get the name "serversessions" into the query as label?
i have no otherclue in giving that oid a name / label.
the problem is that in this setup the returned value IS the label. thus when the value does not change i dont get an error message but when it does i do.
this is my cacti log result :
ok my graphs are processed without problems. BUT as a nice system engineer i would like to have a error free log ;D02/09/2007 02:35:50 PM - SYSTEM STATS: Time:49.9437 Method:cactid Processes:1 Threads:1 Hosts:33 HostsPerProcess:33 DataSources:684 RRDsProcessed:218
02/09/2007 02:35:48 PM - CACTID: Poller[0] Host[48] DS[204] WARNING: Result from SNMP not valid. Partial Result: ...
02/09/2007 02:35:48 PM - CACTID: Poller[0] Host[47] DS[205] WARNING: Result from SNMP not valid. Partial Result: ...
how can i solve my label problem is there a static way in that XML input section to set a static label? or what is the best way into solving this.
thanks in advance.