gentlemen,
I'm trying to implement monitoring via snmp to IIS, however I created the xml below:
<query>
<name>Get IIS counters</name>
<description>Queries a host for a list of monitorable IIS Counters</description>
<oid_index>.1.3.6.1.4.1.311.1.7.3.1</oid_index>
<oid_index_parse>OID/REGEXP:.*\.([0-9]{1,3}\.[0-9]{1,3})$</oid_index_parse>
<oid_num_indexes>.1.3.6.1.4.1.311.1.7.3.1</oid_num_indexes>
<index_order>ifDescr:ifName:ifIndex</index_order>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<index_order_type>numeric</index_order_type>
<fields>
<ifIndex>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.311.1.7.3.1</oid>
</ifIndex>
<ifDescr>
<name>Description</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.311.1.7.3.1</oid>
<ifDescr>
<ifName>
<name>Name</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.311.1.7.3.1</oid>
</ifName>
<totalBytesSentHighWord>
<name>Total Bytes Sent</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.311.1.7.3.1.1.0</oid>
</totalBytesSentHighWord>
<totalBytesSentLowWord>
<name>Total Bytes Sent</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.311.1.7.3.1.2.0</oid>
</totalBytesSentLowWord>
<totalBytesReceivedHighWord>
<name>Total Bytes Received HW</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.311.1.7.3.1.3.0</oid>
</totalBytesReceivedHighWord>
<totalBytesReceivedLowWord>
<name>Total Bytes Recieved LW</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.311.1.7.3.1.4.0</oid>
</totalBytesReceivedLowWord>
<maxConnections>
<name>maxConnections</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.311.1.7.3.1.14.0</oid>
</maxConnections>
<connectionAttempts>
<name>connectionAttempts</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.311.1.7.3.1.15.0</oid>
</connectionAttempts>
<totalAllowedRequests>
<name>totalAllowedRequests</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.311.1.7.3.1.41.0</oid>
</totalAllowedRequests>
</fields>
</query>
However it returns correctly queries just not me of the descriptions of the values when I create the graphics.
in this case it shows me the following
+ Running data query [10].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/opt/cacti-0.8.7e/resource/snmp_queries/snmp_iis_get.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.311.1.7.3.1'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.1.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.2.0' value: '6332710'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.3.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.4.0' value: '2435900'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.5.0' value: '657'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.6.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.7.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.8.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.9.0' value: '11945'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.10.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.11.0' value: '4'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.12.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.13.0' value: '2'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.14.0' value: '17'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.15.0' value: '12350'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.16.0' value: '12192'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.17.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.18.0' value: '12364'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.19.0' value: '2'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.20.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.21.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.22.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.23.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.24.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.25.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.26.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.27.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.28.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.29.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.30.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.31.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.32.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.33.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.34.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.35.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.36.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.37.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.38.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.39.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.40.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.41.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.42.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.43.0' value: '66'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.44.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.45.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.46.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.47.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.48.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.49.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.50.0' value: '0'
+ Index found at OID: '1.3.6.1.4.1.311.1.7.3.1.51.0' value: '0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.1.0' results: '1.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.2.0' results: '2.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.3.0' results: '3.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.4.0' results: '4.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.5.0' results: '5.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.6.0' results: '6.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.7.0' results: '7.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.8.0' results: '8.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.9.0' results: '9.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.10.0' results: '10.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.11.0' results: '11.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.12.0' results: '12.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.13.0' results: '13.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.14.0' results: '14.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.15.0' results: '15.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.16.0' results: '16.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.17.0' results: '17.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.18.0' results: '18.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.19.0' results: '19.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.20.0' results: '20.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.21.0' results: '21.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.22.0' results: '22.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.23.0' results: '23.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.24.0' results: '24.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.25.0' results: '25.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.26.0' results: '26.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.27.0' results: '27.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.28.0' results: '28.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.29.0' results: '29.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.30.0' results: '30.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.31.0' results: '31.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.32.0' results: '32.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.33.0' results: '33.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.34.0' results: '34.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.35.0' results: '35.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.36.0' results: '36.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.37.0' results: '37.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.38.0' results: '38.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.39.0' results: '39.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.40.0' results: '40.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.41.0' results: '41.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.42.0' results: '42.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.43.0' results: '43.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.44.0' results: '44.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.45.0' results: '45.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.46.0' results: '46.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.47.0' results: '47.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.48.0' results: '48.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.49.0' results: '49.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.50.0' results: '50.0'
+ index_parse at OID: '1.3.6.1.4.1.311.1.7.3.1.51.0' results: '51.0'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.311.1.7.3.1'
+ Found item [ifIndex='0'] index: 1.0 [from value]
+ Found item [ifIndex='6332710'] index: 2.0 [from value]
+ Found item [ifIndex='0'] index: 3.0 [from value]
+ Found item [ifIndex='2435900'] index: 4.0 [from value]
+ Found item [ifIndex='657'] index: 5.0 [from value]
+ Found item [ifIndex='0'] index: 6.0 [from value]
+ Found item [ifIndex='0'] index: 7.0 [from value]
+ Found item [ifIndex='0'] index: 8.0 [from value]
+ Found item [ifIndex='11945'] index: 9.0 [from value]
+ Found item [ifIndex='0'] index: 10.0 [from value]
+ Found item [ifIndex='4'] index: 11.0 [from value]
+ Found item [ifIndex='0'] index: 12.0 [from value]
+ Found item [ifIndex='1'] index: 13.0 [from value]
+ Found item [ifIndex='17'] index: 14.0 [from value]
+ Found item [ifIndex='12350'] index: 15.0 [from value]
+ Found item [ifIndex='12192'] index: 16.0 [from value]
+ Found item [ifIndex='0'] index: 17.0 [from value]
+ Found item [ifIndex='12364'] index: 18.0 [from value]
+ Found item [ifIndex='2'] index: 19.0 [from value]
+ Found item [ifIndex='0'] index: 20.0 [from value]
+ Found item [ifIndex='0'] index: 21.0 [from value]
+ Found item [ifIndex='0'] index: 22.0 [from value]
+ Found item [ifIndex='0'] index: 23.0 [from value]
+ Found item [ifIndex='0'] index: 24.0 [from value]
+ Found item [ifIndex='0'] index: 25.0 [from value]
+ Found item [ifIndex='0'] index: 26.0 [from value]
+ Found item [ifIndex='0'] index: 27.0 [from value]
+ Found item [ifIndex='0'] index: 28.0 [from value]
+ Found item [ifIndex='0'] index: 29.0 [from value]
+ Found item [ifIndex='0'] index: 30.0 [from value]
+ Found item [ifIndex='0'] index: 31.0 [from value]
+ Found item [ifIndex='0'] index: 32.0 [from value]
+ Found item [ifIndex='0'] index: 33.0 [from value]
+ Found item [ifIndex='0'] index: 34.0 [from value]
+ Found item [ifIndex='0'] index: 35.0 [from value]
+ Found item [ifIndex='0'] index: 36.0 [from value]
+ Found item [ifIndex='0'] index: 37.0 [from value]
+ Found item [ifIndex='0'] index: 38.0 [from value]
+ Found item [ifIndex='0'] index: 39.0 [from value]
+ Found item [ifIndex='0'] index: 40.0 [from value]
+ Found item [ifIndex='0'] index: 41.0 [from value]
+ Found item [ifIndex='0'] index: 42.0 [from value]
+ Found item [ifIndex='66'] index: 43.0 [from value]
+ Found item [ifIndex='0'] index: 44.0 [from value]
+ Found item [ifIndex='0'] index: 45.0 [from value]
+ Found item [ifIndex='0'] index: 46.0 [from value]
+ Found item [ifIndex='0'] index: 47.0 [from value]
+ Found item [ifIndex='0'] index: 48.0 [from value]
+ Found item [ifIndex='0'] index: 49.0 [from value]
+ Found item [ifIndex='0'] index: 50.0 [from value]
+ Found item [ifIndex='0'] index: 51.0 [from value]
+ Located input field 'totalBytesSentHighWord' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.311.1.7.3.1.1.0'
+ Located input field 'totalBytesSentLowWord' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.311.1.7.3.1.2.0'
+ Located input field 'totalBytesReceivedHighWord' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.311.1.7.3.1.3.0'
+ Located input field 'totalBytesReceivedLowWord' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.311.1.7.3.1.4.0'
+ Found data query XML file at '/opt/cacti-0.8.7e/resource/snmp_queries/snmp_iis_get.xml'
+ Found data query XML file at '/opt/cacti-0.8.7e/resource/snmp_queries/snmp_iis_get.xml'
+ Found data query XML file at '/opt/cacti-0.8.7e/resource/snmp_queries/snmp_iis_get.xml'
In the Create Graphs for this Host it returns me only the values without the descriptions but it does not know how to add the xml descriptions
Problems with cacti snmp query iis data
Moderators: Developers, Moderators
Re: Problems with cacti snmp query iis data
Can you show pictures of what you mean? I'm not following.Rednoze wrote:However it returns correctly queries just not me of the descriptions of the values when I create the graphics.
In the Create Graphs for this Host it returns me only the values without the descriptions but it does not know how to add the xml descriptions
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: Problems with cacti snmp query iis data
I'm trying to create graphs request, max conections and missed connections for iis however seem to lack information in xml and do not know what is.
look
He gives me the values I have more descriptions
look
He gives me the values I have more descriptions
Re: Problems with cacti snmp query iis data
Looks like you should read the tutorial in http://docs.cacti.net. INPUT fields will be displayed in the table while OUTPUT fields are for graphing. you have many input fields which are data counters (i.e. TotalBytesReceivedHighWord).
does a snmpwalk of 1.3.6.1.4.1.311.1.7.3.1 show all the data you're expecting to collect?
does a snmpwalk of 1.3.6.1.4.1.311.1.7.3.1 show all the data you're expecting to collect?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 2 guests