Custom SNMP Poll
- costanza2k1
- Posts: 197
- Joined: Fri Aug 09, 2013 12:19 pm
Custom SNMP Poll
Hi all I'm successfully polling for active sessions within VPN, is there anyway to send out a warning when there are less than 40 active users and a critical when there are more than 60? I know how to send a warning where are 40 or more, but have never done anything less.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Custom SNMP Poll
If you are using check_snmp or something else that supports the official plugin threshold formats, there absolutely is!
It would probably be warning and critical flags of "-w 40: -c :60" meaning warn if less than 40, do not warn from 40-60 and critical if above 60. Is that what you were looking for?
It would probably be warning and critical flags of "-w 40: -c :60" meaning warn if less than 40, do not warn from 40-60 and critical if above 60. Is that what you were looking for?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
- costanza2k1
- Posts: 197
- Joined: Fri Aug 09, 2013 12:19 pm
Re: Custom SNMP Poll
sreinhardt wrote:If you are using check_snmp or something else that supports the official plugin threshold formats, there absolutely is!
It would probably be warning and critical flags of "-w 40: -c :60" meaning warn if less than 40, do not warn from 40-60 and critical if above 60. Is that what you were looking for?
Thank you so much! We're rolling now, you guys rock!
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Custom SNMP Poll
You're welcome, glad that was what you were looking for!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.