Hi all,
This is my first post on Thwack! We are (well, i am) in the process of implementing Solarwinds Observability Self-hosted and all the functions and tools that is included. There is a lot to learn and discuss.
My boss asked me to pull a report of all network devices as well as their IPs and serial numbers (Service Tag). After editing a report to also include service tags, i found that on our small C1200 SMB switches, no service tag is reported, nor any HW sensors. According to this cisco documentation, several OID's for this should be available, however they're using SNMPv3: www.cisco.com/.../kmgmt3636-snmpv3-common-oids-cbs350.html
When doing a snmpwalk, i can find the servicetag, as well as sensors for temperature, CPU, uptime and fans (although fans are not present):


Below picture shows the (missing) 'Hardware Details' and 'Current Hardware Health' widgets for one of our troubled switches. I would love for both the available hardware sensors as well as the serial number/service tag could be present in these widgets or the 'Node Details' widget.
NOTE: It is important that i can reference these values/variables in a report, so i can create said report with service tags. That is the main reason for all this. I can already reference the field that holds the service tag for the devices that has that populated automatically, so i don't imagine it would be a big problem to achieve this.



I have tried to follow the minimal guide on the following link, but i must admit i have some questions coming later. I hope someone can help answer them.
How do you change/update what is in the Node Details?
When i go to create a new poller and define the general parameters, it seems that i have to choose which type of (already present) data in the 'Node Details' i want to overwrite with my own, custom data. I was under the impression that i could create an additional data field and fill it with my own data, it doesn't seem so. Can anyone explain to me why?

i continue with the 'SysObjectId' data source, since it is populated with the system OID and we never actively use that information for anything. I edit it, then browse OIDs and search for the OID i've found that holds the service tag, as also seen in the snmpwalk image, which cannot be found. But if i remove the long number after the last period, at the end of the OID, i can find the following, which i continue with. Please notice the output includes several empty lines.



I see im not the only one with an output that includes several empty lines: Cisco SG350 Switches and Custom Pollers
Like the guy in the link, I try to SubString and Replace the output, to remove the empty lines. With the help of ChatGPT, i also try to Truncate, IndexOf and Regex, but with no luck at all.

How do i manipulate this data so i can continue with this? From the latest link, there is a comment describing how to continue by creating a UnDP (which i also tried, but he doesn't mention how) and using some SWQL (which i have no idea where or how to run)
Questions in summary:
- How come i can do a snmpwalk and find information from a switch that is not in the Solarwinds platform?
- As earlier mentioned, i was under the impression that i could add a field to the 'Node Details' or the 'Hardware details' widgets and fill it with the output of an OID - or better yet, just edit and fill out the existing empty fields. Why can't i do this?
- Why do i have to create my own custom poller and find OIDs for all available fields?
- Why arent all fields from the 'Node Details' widget not even in the poller creation wizard?
- And why can't i also do this with the 'Hardware Details' widget?
- If i change the device poller on a device to a custom made one, my backup job is generating errors for that device with the error message 'DeviceTemplateXml'. Why?
- In the link with someone else in the same situation, there is an answer describing creating a UnDP and using some SWQL. Does that make sense? If so, can someone describe it to me in more detail?
- Is there a total different way to achieve what i want, without having to manually inserting the data? I mean, why buy a smart and effective monitoring service, that can poll information from your devices automatically, if you still have to manually input some of the (even static) data.
Thank you for your time.