Hi All,
I saw an old thread about this question, without a solution, so i thought to ask it again.
Is there any way to set low traffic thresholds for interfaces?
Now I'm monitoring all interfaces using wizards (Network Switch / Router) and it uses check_rrdtraf script.
I have already tried this https://nagios-plugins.org/doc/guidelin ... HOLDFORMAT unsuccessfully
Is there any solution or any other script to do what i need?
Thanks
Alessandro
Low bandwidth threshold alert
Re: Low bandwidth threshold alert
This is going to be dependent on what you're querying. Is this a server with an agent installed on it? What agent, what OS? Is it a network switch whose port you want to query? This will probably be done via SNMP.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Low bandwidth threshold alert
I've attached a modified check_rrdtraf(remove the .txt extension) that can accept thresholds like those in https://nagios-plugins.org/doc/guidelin ... HOLDFORMAT. Preliminary results look good, but test this in your environment first. Also note that you may need to put the thresholds in quotes, ie "~:10,~:10", so that characters are interpreted correctly.
The modifications make use of the /usr/local/nagios/libexec/utils.sh script which should be installed by default or downloaded from here if needed: https://github.com/nagios-plugins/nagio ... tils.sh.in
The modifications make use of the /usr/local/nagios/libexec/utils.sh script which should be installed by default or downloaded from here if needed: https://github.com/nagios-plugins/nagio ... tils.sh.in
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
adminskymed
- Posts: 19
- Joined: Tue Feb 20, 2018 5:40 am
Re: Low bandwidth threshold alert
Hi All,
thank you, after the first tests the script seems to work properly, very usefull.
Alex
thank you, after the first tests the script seems to work properly, very usefull.
Alex