[collectd] net up or down

Mariusz Gronczewski xani666 at gmail.com
Sat May 9 14:44:14 CEST 2009


Hello,

if u really need that, you could make script to exec plugin doing
PUTVAL host/ifup/gauge-ethx N:1 when if is up and N:0 when its down.
But then you will probably be better with monitoring software, like
nagios, instead and use collectd only for stat.

Regards
Mariusz

2009/5/9 Florian Forster <octo at verplant.org>:
> Hi Stefan,
>
> On Thu, May 07, 2009 at 01:31:08PM +0200, Stefan Arn wrote:
>> Is there an easy way to have an rrd that collects if an interface
>> (eth0 etc) is up and running or down? I know the plugin Interface a
>> bit, but it seems that this plugin only collects traffic data and not
>> if the interface is up or not.
>
> no, currently this information is not collected/regarded by collectd.
> The data collected by collectd is always a *rate*, i. e. you'd end up
> with information like ``status changes per second'' which, in 99.99% of
> all samples, will be 0.0 – i. e. not very interesting.
>
> It would be possible to have the `interface' plugin dispatch a
> `notification' if a new interface becomes available or a previous
> interface disappears.
>
> Regards,
> -octo
> --
> Florian octo Forster
> Hacker in training
> GnuPG: 0x91523C3D
> http://verplant.org/
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFKBWgfHdggu3Q05IYRAhdWAJ0VNGu2b9SOw8tX4hOp4gWj2MMXIACfZLxG
> UXQdeNVgHUlxeLqgiDjb6As=
> =z3UL
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> collectd mailing list
> collectd at verplant.org
> http://mailman.verplant.org/listinfo/collectd
>
>



More information about the collectd mailing list