[collectd] Collecting non numeric values via snmp plugin

Alessandro Pernafini alessandro.pernafini at stoorm5.com
Mon Jan 25 10:13:23 CET 2016

Hi Giovanni, Yves,

thanks for your useful and clarifying replies. I think I'll have a look 
to metadata to see if I can find a workaround to my problem, otherwise I 
think I will switch to another solution to retrieve textual information.

Thanks again,
Il 22/01/2016 19:59, Yves Mettier ha scritto:
> Hello,
> This mail is not an answer. Only some ideas for those who want to 
> think :)
> I don't think that Collectd is the best way to collect metrics with 
> non-numeric values.
> However, if your plugin can set metadata (I presume that snmp does 
> not), maybe you can do something... as far as your output plugin knows 
> what to do with them. Kafka output plugin does. rrdtool output plugin 
> does not, of course.
> Regards,
> Yves
> Le 2016-01-22 18:44, Giovanni Torres a écrit :
>> You wouldn't want to use collectd for non-numeric values.  In fact, I 
>> don't
>> think that's possible.
>> There are other ways of retrieving this type of data. For example, you
>> could write a script that would snmpget/snmpwalk the values you want 
>> from
>> the UPSs and then use something like curl -X POST to push those 
>> values to
>> your web servlet for processing.  You could then run the script
>> periodically via cron if needed.  This is a simple example, of course.
>> Giovanni
>> On Fri, Jan 22, 2016 at 5:09 AM Alessandro Pernafini <
>> alessandro.pernafini at stoorm5.com> wrote:
>>> Hi all,
>>> I'm trying to figure out how to collect non numeric values with snmp
>>> plugin. I'd like to monitor some UPSs and send the collected data with
>>> write_http plugin to a web servlet in order to process them. There are
>>> some useful information, like manufacturer, model, UPS software 
>>> version,
>>> etc., that are defined as a display string in the MIB tree and I'd wish
>>> to collect. Is there any way to do this with snmp plugin?
>>> Thanks in advance,
>>> Alessandro
>>> _______________________________________________
>>> collectd mailing list
>>> collectd at verplant.org
>>> http://mailman.verplant.org/listinfo/collectd
>> _______________________________________________
>> collectd mailing list
>> collectd at verplant.org
>> http://mailman.verplant.org/listinfo/collectd

More information about the collectd mailing list