Replies: 3 comments
-
Beta Was this translation helpful? Give feedback.
-
Seems like a device bug. I don't know what SnmpB is, but if you could use net-snmp |
Beta Was this translation helpful? Give feedback.
-
Here's the snmpwalk output from both. SnmpB is an old tool for looking at MIBs and discovering what info is available on new devices. It's a bit clunky but I haven't found anything better. https://sourceforge.net/projects/snmpb/ |
Beta Was this translation helpful? Give feedback.
-
I have 2 Barco cinema projectors of slightly different models, that both use the same MIB. I'm trying to use
lookups
to apply the fanSpeedName as a label to each fanSpeed metric. This works fine on one projector, but not on the other.This is my config:
The good one looks like this in the scrape:
The bad one can't find the label:
SnmpB shows that the good device is missing values for the index field:
![fan Tudum](https://private-user-images.githubusercontent.com/3991046/297637742-38dcd234-05d2-4081-84bd-4ba9c0c81eec.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyOTEyMTEsIm5iZiI6MTczOTI5MDkxMSwicGF0aCI6Ii8zOTkxMDQ2LzI5NzYzNzc0Mi0zOGRjZDIzNC0wNWQyLTQwODEtODRiZC00YmE5YzBjODFlZWMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMTYyMTUxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YzYwYmMxMzRmYmYwMzRlZWU1MmJhZmY2ZWYzZTRlMmIzMTZmN2RkNGZlNWQwYmRiMWQ2YzU3M2NhYjE3ZWFjOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.-0C0EiUlAWC99i14i2omXGtGWUWSPXuGwvxgp5NJq3k)
While the bad device does include numbers in that field:
![fan Home](https://private-user-images.githubusercontent.com/3991046/297637779-0d1addff-28f3-470e-bb45-ba256a54d869.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyOTEyMTEsIm5iZiI6MTczOTI5MDkxMSwicGF0aCI6Ii8zOTkxMDQ2LzI5NzYzNzc3OS0wZDFhZGRmZi0yOGYzLTQ3MGUtYmI0NS1iYTI1NmE1NGQ4NjkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMTYyMTUxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YmE4MmQ3ODg1ODZmNmJiYzE5MTc3YjA4NWEyZTc0OGMyNGJkZGY2YTJlZTY2NGQxYjhmYjVlOWExZjM1NDIwNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.uu_wIShGWgbZRi3YB01NE3_M9IPuqJ8KNoY1c2-CH-k)
This is the opposite of how I expected it to behave. Why does this work when the index numbers are missing?
MIB
Beta Was this translation helpful? Give feedback.
All reactions