graph but no value
Moderators: Developers, Moderators
graph but no value
hi all,
i have a problem with my snmp query in xml. I try to check the number of used and free addresses on my Windows DHCP (it's on an Active Directory server). All seems to work correctly but when i check my graph, there aren't any value. So i need a little help to understand my problem.
i have attached my query in XML and the debug of my graph.
Thanks
i have a problem with my snmp query in xml. I try to check the number of used and free addresses on my Windows DHCP (it's on an Active Directory server). All seems to work correctly but when i check my graph, there aren't any value. So i need a little help to understand my problem.
i have attached my query in XML and the debug of my graph.
Thanks
- Attachments
-
- query_dhcp_ad.xml
- xml query to know how many of addresses are used or free.
- (848 Bytes) Downloaded 94 times
-
- debug of my graph
- debug graph.png (77.14 KiB) Viewed 3598 times
i check all parameters in your sig and all seems ok.
I check the poller cache and i see something weird. OIDs don't use the value of the index of the request.
Normally, i must have .1.3.6.1.4.1.311.1.3.2.1.1.2.192.168.1.0 in my poller cache but i have .1.3.6.1.4.1.311.1.3.2.1.1.2.0.
I think there is a problem with my snmp query but i don't see it.
Have you any idea?
Thanks
I check the poller cache and i see something weird. OIDs don't use the value of the index of the request.
Normally, i must have .1.3.6.1.4.1.311.1.3.2.1.1.2.192.168.1.0 in my poller cache but i have .1.3.6.1.4.1.311.1.3.2.1.1.2.0.
I think there is a problem with my snmp query but i don't see it.
Have you any idea?
Thanks
- Attachments
-
- pollercache.png (100.08 KiB) Viewed 3475 times
Verbose Query returns:
Code: Select all
+ Running data query [11].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/query_dhcp_ad.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.311.1.3.2.1.1.1'
+ Index found at OID: '1.3.6.1.4.1.311.1.3.2.1.1.1.192.168.1.0' value: '192.168.1.0'
+ Located input field 'ifScope' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.311.1.3.2.1.1.1'
+ Found item [ifScope='192.168.1.0'] index: 0 [from value]
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/query_dhcp_ad.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/query_dhcp_ad.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/query_dhcp_ad.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/query_dhcp_ad.xml'
Code: Select all
The result of snmpwalk is :
Code: Select all
administrateur@srv-cacti:~$ snmpwalk -c tcom_sup -v 2c 192.168.1.1 1.3.6.1.4.1.311.1.3.2.1.1.1.192.168.1.0
SNMPv2-SMI::enterprises.311.1.3.2.1.1.1.192.168.1.0 = IpAddress: 192.168.1.0
i don't find any solution on the forum so i explain my problem here but i can create a new subject for this.
When i see my graph, values are not integer and they are multiplicated by a constant. (3.333). I think there is a probleme with my graph template or my data template because snmp request works fine (get the good OID).
have you any idea?
When i see my graph, values are not integer and they are multiplicated by a constant. (3.333). I think there is a probleme with my graph template or my data template because snmp request works fine (get the good OID).
have you any idea?
- Attachments
-
- problem value.png (84.03 KiB) Viewed 3296 times
-
- cacti_data_template_dhcp_ad.xml
- (9.43 KiB) Downloaded 87 times
-
- cacti_graph_template_adress_dhcp_graph.xml
- (16.18 KiB) Downloaded 88 times
Who is online
Users browsing this forum: No registered users and 1 guest