[collectd] Collecting number of rows in a SNMP table (or similar)

2010-03-04 Thread Stian Øvrevåge
Hi,

I'm new to collectd but I'm really optimistic that it might be a good
solution for our data-gathering needs.

I have not read all the documentation of all plugins etc but I have a
quick question:

I need to count the number of each interface type on our (100+) Cisco
switches and also the number of how many of these are populated by
fiber-optic modules and how many have their links up or down.

Today I do this by some ugly homemade collection scripts but they are
not very scalable when I in the future are gonna count routing tables
and other things.

PS: I don't need a detailed explanation of how to do this, just a Yes
or No, if there indeed is a way, I will (atleast try to) figure it out
for myself :)

Cheers,
Stian Øvrevåge

___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


[collectd] Is there a way to to BIND plugin workable ?

2010-03-04 Thread HYORDEY Julian

Hi there,

Sorry for my english.

Well, I am trying to load just BIND plugin. Doesn't work for me..

What I did :

- add this

statistics-channels {
   inet localhost port 8053;
 };

to my named.conf

- add this


  URL "http://localhost:8053/";  ;
OpCodes true
 QTypes  true

   ServerStats true
   ZoneMaintStats  true
   ResolverStats   false
   MemoryStats true

   
 QTypestrue
 ResolverStats true
 CacheRRSets   true

 Zone "127.in-addr.arpa/IN"
   
 

to collectd.conf

add this :

Loadplugin bind

to collectd.conf too.

I am on lenny, get the "collectdCould not find plugin bind." error message. 
Please, help me,
 2 hours on that, I am becoming crazy..

Oh, /usr/lib/collectd/bind.so doesn't exist.. normal ?

Ju.

--
Julian HYORDEY

TRINAPS · Ingénierie Réseau
Technicien Administration Réseau&  Système

julian.hyor...@trinaps.com
Tel. : 03 39 03 40 44
Fax : 03 39 03 40 49

6 av. des Usines 9 BELFORT
www.trinaps.com

___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


Re: [collectd] Is there a way to to BIND plugin workable ?

2010-03-04 Thread Manuel CISSE
Hello,

On 04/03/2010 15:00, HYORDEY Julian wrote:
> Hi there,
>
> Sorry for my english.
>
> Well, I am trying to load just BIND plugin. Doesn't work for me..
>
> What I did :
>

[...]

>
> add this :
>
> Loadplugin bind
>
> to collectd.conf too.
>
> I am on lenny, get the "collectdCould not find plugin bind." error message. 
> Please, help me,
>  2 hours on that, I am becoming crazy..
>
> Oh, /usr/lib/collectd/bind.so doesn't exist.. normal ?

If you're using the package on lenny, it should be version collectd 4.4,
the bind plugin is available since 4.6.
You should either compile a more recent version of collectd or install a
more recent package.

-- 
regards,
Manuel CISSE


___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


[collectd] Thresholds

2010-03-04 Thread Jeremy Hanna
I'm getting started using thresholds with collectd and had a couple of
questions.

I see in the examples that you can use a Type for stuff like cpu, but
you need to use a Plugin for "memory" and "interface".  Is there any
set of base plugins that you can use without the Plugin tag or
something?

Also, I'm trying to do a threshold with df with a percentage and based
only on ext3 type filesystems.  I'm doing it like this currently:


Instance "ext3"
Percentage true
FailureMin 2


I know it's a low number - I'm just trying to trigger a failure in the
log file.  Do I need to wrap the Type in a Plugin?  Is ext3 something
that needs to be an Instance or a DataSource?  I ask because even
taking out the Instance line, it doesn't trigger an error and I'm
pretty sure it should.

Thanks.

___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


Re: [collectd] Is there a way to to BIND plugin workable ?

2010-03-04 Thread Mark Moseley
On Thu, Mar 4, 2010 at 6:36 AM, Manuel CISSE  wrote:
> Hello,
>
> On 04/03/2010 15:00, HYORDEY Julian wrote:
>> Hi there,
>>
>> Sorry for my english.
>>
>> Well, I am trying to load just BIND plugin. Doesn't work for me..
>>
>> What I did :
>>
>
> [...]
>
>>
>> add this :
>>
>> Loadplugin bind
>>
>> to collectd.conf too.
>>
>> I am on lenny, get the "collectdCould not find plugin bind." error message. 
>> Please, help me,
>>  2 hours on that, I am becoming crazy..
>>
>> Oh, /usr/lib/collectd/bind.so doesn't exist.. normal ?
>
> If you're using the package on lenny, it should be version collectd 4.4,
> the bind plugin is available since 4.6.
> You should either compile a more recent version of collectd or install a
> more recent package.
>
> --
> regards,
> Manuel CISSE
>
>
> ___
> collectd mailing list
> collectd@verplant.org
> http://mailman.verplant.org/listinfo/collectd
>

You could also try the lenny-backports version, which is 4.6.3. See
http://www.backports.org/dokuwiki/doku.php?id=instructions

___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


[collectd] SNMPv3

2010-03-04 Thread Stian Øvrevåge
Hi again list,

Does anyone know when and if SNMPv3 will be supported in the snmp-plugin?

Cheers,
Stian Øvrevåge

___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


[collectd] Thresholds, updated

2010-03-04 Thread Jeremy Hanna
So after looking at the docs a little more I ended up with this as a
configuration for the df threshold:




FSType "ext3"
Percentage true
ReportReserved true
FailureMin 2




Is that correct syntax?  Should that fire if the ext3 type filesystems
exceed 2% capacity?

I'm still not sure if the Plugin wrapper is needed...

Thanks.

___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


[collectd] Thresholds - nevermind

2010-03-04 Thread Jeremy Hanna
Disregard the previous questions about thresholds.  I'm still learning
about how things work.  I had an incorrect value in my fstab file as
well as a misunderstanding of what can go into the Threshold Type
element.

___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd