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
Skickat: ‎2015-‎12-‎02 09:40
Till: 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