Script for Monitoring Network/Switch

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

Moderators: Moderators, Developers

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

Script for Monitoring Network/Switch

#1 Post by Nepu » Fri Jul 22, 2005 2:23 am

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 5253 times
cacti_data_query_snmp_interface_statistics.xml
Data Query
(148.8 KiB) Downloaded 5833 times
cacti_data_template_interface_traffic.xml
Data Template
(7.14 KiB) Downloaded 6845 times

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

#2 Post by Nepu » Fri Jul 22, 2005 2:24 am

I forgot antother Data Template
Attachments
cacti_data_template_snmpindexed_dot3statsrfc1643.xml
Data Template
(13.24 KiB) Downloaded 4671 times

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

#3 Post by Nepu » Fri Jul 22, 2005 2:28 am

Here is a Screenshot of the Graph
Attachments
Graph.JPG
Screenshot
Graph.JPG (76.78 KiB) Viewed 46734 times

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

#4 Post by Nepu » Fri Jul 22, 2005 2:29 am

And this is the Graphtemplate
Attachments
cacti_graph_template_interface_traffic_bitssec.xml
Graph Template
(54.9 KiB) Downloaded 4656 times

tman
Cacti User
Posts: 97
Joined: Thu Oct 14, 2004 4:14 pm

#5 Post by tman » Fri Jul 22, 2005 5:33 am

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

Thanks

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

#6 Post by TheWitness » Fri Jul 22, 2005 5:37 am

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 MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

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

#7 Post by Nepu » Fri Jul 22, 2005 5:52 am

This script uses the standard MIB2 definitions.

tommyj
Posts: 43
Joined: Thu Jun 23, 2005 5:16 pm
Location: Stockholm, Sweden

#8 Post by tommyj » Fri Jul 22, 2005 2:00 pm

Hi

I get Error: XML: Hash version does not exist. when I try import these

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

#9 Post by TheWitness » Fri Jul 22, 2005 2:03 pm

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 MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

tommyj
Posts: 43
Joined: Thu Jun 23, 2005 5:16 pm
Location: Stockholm, Sweden

#10 Post by tommyj » Fri Jul 22, 2005 2:07 pm

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: 14817
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

#11 Post by TheWitness » Fri Jul 22, 2005 3:07 pm

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 MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

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

#12 Post by Nepu » Mon Jul 25, 2005 2:45 am

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

#13 Post by a2line59 » Mon Jul 25, 2005 8:38 am

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

#14 Post by a2line59 » Wed Jul 27, 2005 3:40 am

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

#15 Post by a2line59 » Wed Jul 27, 2005 4:39 am

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