I have a linux machine and I need know how many NEW TCP connections there are in time. it's possible with PRTG ? what is the SNMP OID for ?
Look, it isn't the number of connections TCP in time, it's number of NEW TCP connections.
Thanks
Article Comments
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
And how exactly should those connections be distinguished from existing connections? You'd have to have a base for that :)
You should use the SSH sensor to do that. Here are some commands that might be helpful:
How many connections are currently open?
netstat --tcp -an | wc -l
How many connections to a certain port are open:
netstat --tcp -an | grep :80 | wc -l
How many connections to a certain host are open:
netstat --tcp -an | grep 192.168.1.1 | wc -l
If you could specify your question a bit more, maybe I can come up with something :)
Jul, 2014 - Permalink
And how exactly should those connections be distinguished from existing connections? You'd have to have a base for that :)
You should use the SSH sensor to do that. Here are some commands that might be helpful:
How many connections are currently open?
netstat --tcp -an | wc -lHow many connections to a certain port are open:
netstat --tcp -an | grep :80 | wc -lHow many connections to a certain host are open:
netstat --tcp -an | grep 192.168.1.1 | wc -lIf you could specify your question a bit more, maybe I can come up with something :)
Jul, 2014 - Permalink