THold line

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
xblack199
Posts: 1
Joined: Sun Oct 02, 2011 3:53 pm

THold line

Post by xblack199 »

Dears
I need to make thold line hide or inactive if the usage is under 100 mb and if the usage over 100 mb I need it to get back
the graph 2G interface

please help if there is any plugin thold or any patch or any thing
my career depend on this assingment
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: THold line

Post by noname »

1) Create a threshold with specific high threshold (e.g. 12500000 bytes/s = 100 mbits/s) and apply it to your graph
2) Click "Toggle Threshold VRULES On" icon next to the graph

Then you can see vertical lines when the traffic became over than the threshold value.
sukanta
Cacti User
Posts: 139
Joined: Tue Jan 26, 2010 6:12 am

Re: THold line

Post by sukanta »

Any option for Horizontal Line???
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: THold line

Post by noname »

>> Any option for Horizontal Line???

You can add it as a graph item.
- http://forums.cacti.net/viewtopic.php?f=21&t=41959
sukanta
Cacti User
Posts: 139
Joined: Tue Jan 26, 2010 6:12 am

Re: THold line

Post by sukanta »

noname wrote:>> Any option for Horizontal Line???

You can add it as a graph item.
- http://forums.cacti.net/viewtopic.php?f=21&t=41959
is hrule based on ifhighspeed possible?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: THold line

Post by TheWitness »

sukanta wrote:
noname wrote:>> Any option for Horizontal Line???

You can add it as a graph item.
- http://forums.cacti.net/viewtopic.php?f=21&t=41959
is hrule based on ifhighspeed possible?
Did you not follow nonames thread?
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?
sukanta
Cacti User
Posts: 139
Joined: Tue Jan 26, 2010 6:12 am

Re: THold line

Post by sukanta »

TheWitness wrote:
sukanta wrote:
noname wrote:>> Any option for Horizontal Line???

You can add it as a graph item.
- http://forums.cacti.net/viewtopic.php?f=21&t=41959
is hrule based on ifhighspeed possible?
Did you not follow nonames thread?
Followed but not able to find dynamic HRULE based on Interface Speed.

I am asking for something like this:

http://cactiusers.org/forums/topic1236.html
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: THold line

Post by noname »

>> Followed but not able to find dynamic HRULE based on Interface Speed.

You can use "|query_ifSpeed|" for HRULE.
Image

For 100M interface:
Image
For 1G interface:
Image

But unfortunately, HRULE (and VRULE) can't accept calculation such as CDEF. (Probably this is restriction of RRDtool.)
So you can't use "|query_ifHighSpeed|" for that.


P.S. If you created a CDEF like this,

Code: Select all

Force to use ifHighSpeed
cdef=CURRENT_DATA_SOURCE,0,*,|query_ifHighSpeed|,+,1000000,*
then you can use ifHighSpeed as LINEx instead of HRULE, but vertical scaling of the graph becomes too large..
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: THold line

Post by TheWitness »

I still like the 'Display Hi/Low as HRules' Option Idea. Although it would constantly change for Baseline Alarms.

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?
sukanta
Cacti User
Posts: 139
Joined: Tue Jan 26, 2010 6:12 am

Re: THold line

Post by sukanta »

Thank you so much both of you..Now a days I can see Cacti Developer Team specially TheWitness is very much active to support the community.
I am also actively pushing my company to support the developers by Donation.Surely will able to do so.

Thank you once again.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests