Simples Interface Down Problem
Moderators: Developers, Moderators
-
- Posts: 6
- Joined: Fri Dec 04, 2009 10:48 am
Simples Interface Down Problem
Hello,
How can I detect a interface down problem on a switch? I have my Thresholds up and running and cacti tells me when the equipment is down, but what about a single interface? Can I do it with Threshold plugin?
How can I detect a interface down problem on a switch? I have my Thresholds up and running and cacti tells me when the equipment is down, but what about a single interface? Can I do it with Threshold plugin?
- Attachments
-
- interface.png (166.62 KiB) Viewed 1490 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I have a nice plugin for that. However, if you don't have it, which you don't, you need to graph the ifOperStatus and when it goes to 0, you can send an alarm. However, having an unsolicited message (aka snmptrap/snmpinform) is the better way to go, unless you don't have configuration access, then graphing the ifOperStatus will allow you to thold on the value.
TheWitness
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?
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?
-
- Posts: 6
- Joined: Fri Dec 04, 2009 10:48 am
Let’s see,
If I understood you well, I have 3 possibilities to solve the problem, and I have configuration access on my switch.
1- Install a Plugin. I think this is the simpler solution… can you tell me what plugin you use for this?
2- Monitor the ifOperStatus. How can I do that ? What king of graph should I run?
3- SnmpTrap. Ok, for this possibility, I should have a syslog running on my server and some plugins to manage this, correct ?
If I understood you well, I have 3 possibilities to solve the problem, and I have configuration access on my switch.
1- Install a Plugin. I think this is the simpler solution… can you tell me what plugin you use for this?
2- Monitor the ifOperStatus. How can I do that ? What king of graph should I run?
3- SnmpTrap. Ok, for this possibility, I should have a syslog running on my server and some plugins to manage this, correct ?
- Attachments
-
- Capture.PNG (114.02 KiB) Viewed 1457 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
1. Working on releasing that as OSS. It's not a priority at the moment1- Install a Plugin. I think this is the simpler solution… can you tell me what plugin you use for this?
2- Monitor the ifOperStatus. How can I do that ? What king of graph should I run?
3- SnmpTrap. Ok, for this possibility, I should have a syslog running on my server and some plugins to manage this, correct ?
2. Create a Graph Template and Associate with the Interface Data Query, then install THold and trigger on that.
3. Yes, check under the Plugin Announcements forum. There is a great syslog+snmptrap plugin there.
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?
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?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
It's also worth noting that absolute zero traffic is pretty rare on a working interface. You might be OK to just set a minimum threshold of 0 on your interfaces.
Usually STP, OSPF, CDP etc etc generate *some* traffic every polling cycle on a connected interface.
(there was a problem with getting Cacti to parse the ifOperStatus output from snmpwalk. I don't know if it's still a problem, but potentially it makes graphing that a little harder)
Usually STP, OSPF, CDP etc etc generate *some* traffic every polling cycle on a connected interface.
(there was a problem with getting Cacti to parse the ifOperStatus output from snmpwalk. I don't know if it's still a problem, but potentially it makes graphing that a little harder)
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Posts: 6
- Joined: Fri Dec 04, 2009 10:48 am
1 - Created a data Template. It's ok ?1. Working on releasing that as OSS. It's not a priority at the moment - OK!
2. Create a Graph Template and Associate with the Interface Data Query, then install THold and trigger on that. I will try this option but I have some doubts, it's the first time i will make one, thold is up and running for quite some time.
3. Yes, check under the Plugin Announcements forum. There is a great syslog+snmptrap plugin there.For the moment I will try the second option
2 - Created a Graph template. It's ok ?
3 - If the two previous steps are ok... shoud I create a new a new DataQueries or use an existing one? I tried to create a new on, but I have problems with the xml file.
Can you help ?
- Attachments
-
- 1.PNG (65.02 KiB) Viewed 1379 times
-
- 2.PNG (61.63 KiB) Viewed 1379 times
-
- 3.PNG (22.13 KiB) Viewed 1379 times
Who is online
Users browsing this forum: No registered users and 2 guests