![](https://secure.gravatar.com/avatar/416d2dfecb418e8c9a4c973add0041da.jpg?s=120&d=mm&r=g)
Hello, thanks i think you are right, with a few option i could hold the ifindex, till a reboot of the linux-server. A Idea, how i could hold it or use the ifname instatt? (i know it is a little bit of topic) (It is a openvpn daemon and a debian server.)
A nice day Geno
On 12/02/2015 09:48 AM, Markus Klock wrote:
Hello. The reason that the interface is deleted and reappear as a new interface is probably beacuse your server change the ifindex for the interface each time. If you could configure your server to always use the same ifindex for this vpn then Observium would use the same rrd file and it will comeback with its traffic history as any other interface that goes down and then up.
/Markus
Från: Geno mailto:geno+dev@fireorbit.de Skickat: 2015-12-02 09:40 Till: observium@observium.org mailto:observium@observium.org Ämne: Re: [Observium] recreate interface to down/up -event
A log-entry, for displaying my problem:
2015-12-01 07:20:03 vpn-server vpn-interface Interface changed: [ifName] -> vpn-interface; [ifDescr] -> vpn-interface; [ifAdminStatus] -> up; [ifOperStatus] -> up; [ifMtu] -> 1500; [ifSpeed] -> 0; [ifHighSpeed] -> 0; [ifType] -> other; [ifPromiscuousMode] -> false; [ifConnectorPresent] -> true
2015-12-01 07:20:03 vpn-server vpn-interface Interface was marked as DELETED
On 12/02/2015 09:37 AM, Geno wrote:
Hallo, i have the following problem. I server of mine a VPN-Service. This vpn-service restart some times (and with it it recreate a network interface with the same name "vpn-interface"). Observium delete the interface and create a new one (with the same name).
The Question, is it possible to detect it and make a down up event out of it (and a mac change)? So it will use the same rrds, graphs and so on.
Nice Wishes Geno
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium