Script for Monitoring Network/Switch

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Nepu
Posts: 14
Joined: Fri Jul 22, 2005 2:17 am

Script for Monitoring Network/Switch

Post by Nepu »

I have merged the Network-Traffic-Graph with an Network-Failure-Graph. So you could see what is happening on your Switch
Attachments
interface.xml
XML-Source-File
(10.48 KiB) Downloaded 5447 times
cacti_data_query_snmp_interface_statistics.xml
Data Query
(148.8 KiB) Downloaded 6022 times
cacti_data_template_interface_traffic.xml
Data Template
(7.14 KiB) Downloaded 7038 times
Nepu
Posts: 14
Joined: Fri Jul 22, 2005 2:17 am

Post by Nepu »

I forgot antother Data Template
Attachments
cacti_data_template_snmpindexed_dot3statsrfc1643.xml
Data Template
(13.24 KiB) Downloaded 4820 times
Nepu
Posts: 14
Joined: Fri Jul 22, 2005 2:17 am

Post by Nepu »

Here is a Screenshot of the Graph
Attachments
Screenshot
Screenshot
Graph.JPG (76.78 KiB) Viewed 50483 times
Nepu
Posts: 14
Joined: Fri Jul 22, 2005 2:17 am

Post by Nepu »

And this is the Graphtemplate
Attachments
cacti_graph_template_interface_traffic_bitssec.xml
Graph Template
(54.9 KiB) Downloaded 4795 times
tman
Cacti User
Posts: 97
Joined: Thu Oct 14, 2004 4:14 pm

Post by tman »

Nepu, is this script for specific vendors switches, or is it just polling standard MIB-2 definitions?

Thanks
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I think that you will find some vendors supporting this RFC to the dime and others that do not.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Nepu
Posts: 14
Joined: Fri Jul 22, 2005 2:17 am

Post by Nepu »

This script uses the standard MIB2 definitions.
tommyj
Posts: 43
Joined: Thu Jun 23, 2005 5:16 pm
Location: Stockholm, Sweden

Post by tommyj »

Hi

I get Error: XML: Hash version does not exist. when I try import these
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Nepu,

What version of Cacti are you at?

Larry
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
tommyj
Posts: 43
Joined: Thu Jun 23, 2005 5:16 pm
Location: Stockholm, Sweden

Post by tommyj »

Larry,

I guess your question to Nepu was directed to me, I'm on 0.8.6e + patch for 0.8.6f
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Well, your template can only be imported from the same version. So, it's best to complete the upgrade to 0.8.6f. There are a few important patches to 0.8.6f that remain in 0.8.6e that are beyond the security fixes.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Nepu
Posts: 14
Joined: Fri Jul 22, 2005 2:17 am

Post by Nepu »

Thank you TheWittness.
That´s right, I´m using Cacti Version 0.8.6f.
a2line59
Posts: 45
Joined: Mon May 23, 2005 8:20 am
Location: France

Post by a2line59 »

i think that i missed something
i use cacti 0.8.6f, i imported this template and i created graph for switch
but i have no graph for only this device and with this template. it create no RRD file
i create graph with Error In and Out and i have graph with that
a2line59
Posts: 45
Joined: Mon May 23, 2005 8:20 am
Location: France

Post by a2line59 »

someone have a idea for my problem ?
rrd files are create but i have nothing
when i turn on graph debug mode, rrdtool says nothing

when i create another graph, i have no problem
a2line59
Posts: 45
Joined: Mon May 23, 2005 8:20 am
Location: France

Post by a2line59 »

i turn on data source debug mode on a device on each i have no graph and i have this result :
c:/rrdtool/rrdtool.exe create \
c:\inetpub\wwwroot\cacti/rra/hostname_multiplecollframes_863.rrd \
--step 300 \
DS:MultipleCollFrames:GAUGE:600:0:U \
DS:FCSErrors:GAUGE:600:0:U \
DS:AlignmentErrors:COUNTER:600:0:100000000 \
DS:SingleCollisionFra:GAUGE:600:0:U \
DS:SQETestErrors:GAUGE:600:0:U \
DS:DeferredTrans:GAUGE:600:0:U \
DS:LateCollisions:GAUGE:600:0:U \
DS:ExcessiveCollision:GAUGE:600:0:U \
DS:CarrierSenseErrors:GAUGE:600:0:U \
DS:IntMacTransmitErr:GAUGE:600:0:U \
DS:FrameTooLongs:GAUGE:600:0:U \
DS:IntMacReceiveErr:GAUGE:600:0:U \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \

when i look in rra directory i have not this file hostname_multiplecollframes_863.rrd
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests