Discussion:
[cricket-users] monitor-thresholds
Ray Burkholder
2009-07-23 12:31:22 UTC
Permalink
I currently use genDevConfig to build my configuration files for each of my
devices.

I would like to add monitor-threshold statements to particular interfaces.
If I add them to manually to the configuration files, they will get
over-written next time I generate the files.

I suppose I could 'sed' them in.

Another method would be to put all my monitor-thresholds in a separate file,
but somehow reference the targets in the auto-generated files. Is there an
elegant way to do this?

Do others have an idea of how best to handle this situation?

Ray.
--
Scanned for viruses and dangerous content at
http://www.oneunified.net and is believed to be clean.
Francois Mikus
2009-07-23 13:15:27 UTC
Permalink
Hello,

One method, is to apply monitor-thresholds based on user defined tags,
or based on speed or type of interface.

For funky custom stuff, the best approach is user defined tags. Which
can then be adapted using external scripts in a second pass, or directly
in the code there are hooks for processing the user defined tags.

I used these a lot. They are also useful when running reports,
displaying or passing data outside of cricket.

Cheer,

Francois Mikus
Post by Ray Burkholder
I currently use genDevConfig to build my configuration files for each of my
devices.
I would like to add monitor-threshold statements to particular interfaces.
If I add them to manually to the configuration files, they will get
over-written next time I generate the files.
I suppose I could 'sed' them in.
Another method would be to put all my monitor-thresholds in a separate file,
but somehow reference the targets in the auto-generated files. Is there an
elegant way to do this?
Do others have an idea of how best to handle this situation?
Ray.
Loading...