Windows server (2003) (Vpn) RAS Interface Monitoring

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
leechwarez
Posts: 4
Joined: Fri Jan 07, 2011 3:41 am

Windows server (2003) (Vpn) RAS Interface Monitoring

Post by leechwarez »

Hi there,
Im stuck with some things.. i tried and tried but didnt work till now..
So hopefully someone can assist me..

I want to monitor an incoming vpn connection to an windows server..
Required is that cacti will monitor or the client is connected or not..

I searched around on google but there arent many sites with information..

i followed this: http://forums.cacti.net/about12280.html ... but no results..
2nd i followd this: http://forums.cacti.net/about12873.html lan2lan .. but no results..

Someone who can help me..

oid's i can retreive:
1.3.6.1.2.1.4.21.1.1.***.***.***.*** (***.*** = remote ip)
1.3.6.1.2.1.4.21.1.1.10.0.0.18 = intern ip for cleints
1.3.6.1.2.1.4.21.1.3.10.0.0.18 : 1 = ?
1.3.6.1.2.1.4.21.1.6.10.0.0.18 : 10 = ?


Here's the netstat output oid
1.3.6.1.2.1.6.13.1.1.172.27.0.18.1723.***.***.***.***.1055
localip port incoming ip extern port


Is someone who can please help me

Thanks for you time

Regards

Robbin
leechwarez
Posts: 4
Joined: Fri Jan 07, 2011 3:41 am

Re: Windows server (2003) (Vpn) RAS Interface Monitoring

Post by leechwarez »

Still hardly try to solve my problem .. :(

leechwarez wrote:Hi there,
Im stuck with some things.. i tried and tried but didnt work till now..
So hopefully someone can assist me..

I want to monitor an incoming vpn connection to an windows server..
Required is that cacti will monitor or the client is connected or not..

I searched around on google but there arent many sites with information..

i followed this: http://forums.cacti.net/about12280.html ... but no results..
2nd i followd this: http://forums.cacti.net/about12873.html lan2lan .. but no results..

Someone who can help me..

oid's i can retreive:
1.3.6.1.2.1.4.21.1.1.***.***.***.*** (***.*** = remote ip)
1.3.6.1.2.1.4.21.1.1.10.0.0.18 = intern ip for cleints
1.3.6.1.2.1.4.21.1.3.10.0.0.18 : 1 = ?
1.3.6.1.2.1.4.21.1.6.10.0.0.18 : 10 = ?


Here's the netstat output oid
1.3.6.1.2.1.6.13.1.1.172.27.0.18.1723.***.***.***.***.1055
localip port incoming ip extern port


Is someone who can please help me

Thanks for you time

Regards

Robbin
ClemensBW
Posts: 9
Joined: Mon Jan 24, 2011 2:38 am

Re: Windows server (2003) (Vpn) RAS Interface Monitoring

Post by ClemensBW »

Hi,

same problem, looks like it dosn't work with snmp. I've try so find it an all snmp strings...

You can use it with

Code: Select all

netsh -r <ip> -u $user -p $passwd ras show client | find /c "User"
regards,
ClemensBW
ClemensBW
Posts: 9
Joined: Mon Jan 24, 2011 2:38 am

Re: Windows server (2003) (Vpn) RAS Interface Monitoring

Post by ClemensBW »

Hi,
i've solved it with:

Code: Select all

snmpwalk -v 2c -c $snmpstring $ip >> textfile
cat textfile | grep 'TCP-MIB::tcpConnectionState.ipv4."$ip"' | wc -l
the output you can use for cacti
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests