Nagios monitor

Hello i have a problem with when it comes to monitor the router.

I have some pptp vpn connections to a central server, and i cannot monitor the vpn connection state:

I am trying to get the snmp state of the vpn connection: ifOperStatus.x and everytime the connection will go down then reconect it will become x+y … so it will change from ifOperStatus.x to ifOperStatus.xy and i will get an unknown in nagios.


Is there a way to make the interface number stick?

Thank you.

do you monitor on client or server side?

if client - I think, it’s not possible. on server, try to create pptp server interfaces with necessary usernames

It is the client … the server is at my location. Problem is that the interface counter is increased and a snmp status check becomes obsolete. Which makes the only way to check if the VPN is up a simple ping.

are you using dynamic or static interfaces on the ppp server?