MIB Protocol Statistics (RFC1213) [v2.1 - 2009-05-10]
Moderators: Developers, Moderators
Re: MIB Protocol Statistics (RFC1213) [v2.1 - 2009-05-10]
Very very nice job.
But I met a question, Cacti can draw TCP/UDP/Combined traffic graph, but the SNMP traffic is not shown.
My environment is cacti 0.8.7g+PA2.8.
Thank you.
But I met a question, Cacti can draw TCP/UDP/Combined traffic graph, but the SNMP traffic is not shown.
My environment is cacti 0.8.7g+PA2.8.
Thank you.
Re: MIB Protocol Statistics (RFC1213) [v2.1 - 2009-05-10]
Does the snmp specific graph/template work? Your device might not be reporting snmp specific data.
| 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: MIB Protocol Statistics (RFC1213) [v2.1 - 2009-05-10]
I installed the Cacti 0.8.7g+PA2.8 on Windows XP, I want to monitor the SNMP protocol traffic of the localhost, but the SNMP protocol graph can not be generated, TCP/UDP/IP/Combined traffic works very well.
My environment is:
Windows XP
Cacti 0.8.7g
PA v2.8
Anybody met the same question?
My environment is:
Windows XP
Cacti 0.8.7g
PA v2.8
Anybody met the same question?
Re: MIB Protocol Statistics (RFC1213) [v2.1 - 2009-05-10]
What SNMP agent are you using -- microsoft or net-snmp? I've only tried this script with Microsofts. Do the other templates for this package work; ip, udp, tcp?
| 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: MIB Protocol Statistics (RFC1213) [v2.1 - 2009-05-10]
I uses the Net-SNMP, other templates, such as TCP/UDP/IP works very very well. It's perfect.
Re: MIB Protocol Statistics (RFC1213) [v2.1 - 2009-05-10]
Try to manually snmpwalk the snmp oid base (found in the php script file). If nothing is returned, then the net-snmp agent doesn't support that MIB (for some odd reason).
| 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: MIB Protocol Statistics (RFC1213) [v2.1 - 2009-05-10]
Hi,
just installed the template in a debian box, I'm trying to create some graphs for the linux box itself. That means, that I add this data query to localhost (127.0.0.1).
Snmp daemon is running (snmp manual query answers correctly from the box where cacti is installed):
But when I tried to create graphs, and it is cacti who should query the box, it doesn't work. Either no snmp answer or no fake index created (attached file)
Any other graph for localhost is working perfectly, so I don't know why it doesn't. Any idea or someone who had a similar issue?
Thanks
just installed the template in a debian box, I'm trying to create some graphs for the linux box itself. That means, that I add this data query to localhost (127.0.0.1).
Snmp daemon is running (snmp manual query answers correctly from the box where cacti is installed):
Code: Select all
# snmpwalk -c public -v2c 127.0.0.1 .1.3.6.1.2.1.7.2
UDP-MIB::udpNoPorts.0 = Counter32: 75
Any other graph for localhost is working perfectly, so I don't know why it doesn't. Any idea or someone who had a similar issue?
Thanks
- Attachments
-
- Verbosy query when adding data-query to localhost
- rfc1213_query_localhost.PNG (5.32 KiB) Viewed 4537 times
Re: MIB Protocol Statistics (RFC1213) [v2.1 - 2009-05-10]
Answering myself: It suddenly started to work. No idea why, but after some time now it is able to create the fake index, and all graphs successfully created.
Thanks for your template, BSD
Thanks for your template, BSD
Re: MIB Protocol Statistics (RFC1213) [v2.1 - 2009-05-10]
lcano wrote:But when I tried to create graphs, and it is cacti who should query the box, it doesn't work. Either no snmp answer or no fake index created (attached file)Code: Select all
# snmpwalk -c public -v2c 127.0.0.1 .1.3.6.1.2.1.7.2 UDP-MIB::udpNoPorts.0 = Counter32: 75
Any other graph for localhost is working perfectly, so I don't know why it doesn't. Any idea or someone who had a similar issue?
Thanks
Have the same problem. In my understanding there is a bug in RFC1213.xml:
instead of <oid_index>.1.3.6.1.2.1.7.2</oid_index> need to use <oid_index>.1.3.6.1.2.1.2</oid_index>
PS: I have modified RFC1213.xml (see an attachment).
If you have already installed this teamplate, just update this file, select a device and push a link Verbose Query:
1) RFC1213 Statistics (Verbose Query) Uptime Goes Backwards Success [0 Items, 0 Rows]
During creating of New Graph select interfaces in Data Query [RFC1213 Statistics], select a graph type (below Data Query list) and push Create.
PPS: updated version, it works better in my case
- Attachments
-
- RFC1213.xml
- 2nd version of RFC1213.xml
- (13.12 KiB) Downloaded 290 times
Re: MIB Protocol Statistics (RFC1213) [v2.1 - 2009-05-10]
xbolshe:
What snmp agent and OS are you using that has the problem?
.1.3.6.1.2.1.7.2 = UDP-MIB udpNoPorts
.1.3.6.1.2.1.2 = IF-MIB interfaces (table)
.1.3.6.1.2.1.2 shouldn't be valid to use because there are often many more interfaces than just 1. For this script to properly function, only 1 fake index needs to be created, as that's all defined in RFC1213 (i.e. all stats OIDs end in .1).
What snmp agent and OS are you using that has the problem?
.1.3.6.1.2.1.7.2 = UDP-MIB udpNoPorts
.1.3.6.1.2.1.2 = IF-MIB interfaces (table)
.1.3.6.1.2.1.2 shouldn't be valid to use because there are often many more interfaces than just 1. For this script to properly function, only 1 fake index needs to be created, as that's all defined in RFC1213 (i.e. all stats OIDs end in .1).
| 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: MIB Protocol Statistics (RFC1213) [v2.1 - 2009-05-10]
OS: Windows Server 2008 R2 Standard Edition Service Pack 1BSOD2600 wrote:xbolshe:
What snmp agent and OS are you using that has the problem?
SNMP agent: NET-SNMP version: 5.6.1.1
Re: MIB Protocol Statistics (RFC1213) [v2.1 - 2009-05-10]
Hmm, must be the net-snmp agent which is the problem. Any particular reason you dont want to use the Microsoft SNMP agent?
| 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 |
-
- Posts: 1
- Joined: Sat Apr 13, 2013 3:35 am
Re: MIB Protocol Statistics (RFC1213) [v2.1 - 2009-05-10]
Hi BSOD2600,
when i try to execute SNMP Query, i receive this error:
+ Running data query [13].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/var/www/html/resource/snmp_queries/RFC1213.xml'
+ XML file parsed ok.
+ <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.7.2' Index Count: 1
+ Index found at OID: '1.3.6.1.2.1.7.2.0' value: '0'
+ index_parse at OID: '1.3.6.1.2.1.7.2.0' results: '0'
+ Inserting index data for field 'Index' [value='0']
I follow installation instructions, but every time is the same story.
My Cacti version is 0.8.8.a and it's embedded in CactiEZ.
thanks
when i try to execute SNMP Query, i receive this error:
+ Running data query [13].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/var/www/html/resource/snmp_queries/RFC1213.xml'
+ XML file parsed ok.
+ <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.7.2' Index Count: 1
+ Index found at OID: '1.3.6.1.2.1.7.2.0' value: '0'
+ index_parse at OID: '1.3.6.1.2.1.7.2.0' results: '0'
+ Inserting index data for field 'Index' [value='0']
I follow installation instructions, but every time is the same story.
My Cacti version is 0.8.8.a and it's embedded in CactiEZ.
thanks
Re: MIB Protocol Statistics (RFC1213) [v2.1 - 2009-05-10]
can be ignored.<oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
| 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: MIB Protocol Statistics (RFC1213) [v2.1 - 2009-05-10]
Hello,
I have net snmp 5.5 and i am on windows server 2008 R2.
I have graphed ip static protocole but snmp,tcp,udp don't graph.
Do you know why?
Thanks for reply.
I have net snmp 5.5 and i am on windows server 2008 R2.
I have graphed ip static protocole but snmp,tcp,udp don't graph.
Do you know why?
Thanks for reply.
Who is online
Users browsing this forum: No registered users and 3 guests