Data type conversion while polling.

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
miwaszko
Posts: 6
Joined: Mon Feb 01, 2010 3:44 am

Data type conversion while polling.

Post by miwaszko »

Is it possible to read values like:
.1.3.6.1.4.1.2021.1337.1.101.1 = STRING: "11383893"
Into integer counter data sources? Simply setting COUNTER in the Data Source Item apparently isn't enough, because it gives just "U"s...
The values in the snmpd come from a simple exec <oid> with a cat command.
miwaszko
Posts: 6
Joined: Mon Feb 01, 2010 3:44 am

Re: Data type conversion while polling.

Post by miwaszko »

It turned out that setting the type is actually enough :-).
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest