The original snmp-dell-pe-idrac-system.xml only contains the information that I can view in Admin Console, and no OID for MAC address or Serial Number.
<Expression destAttr="Indexes">Index</Expression>
<Expression destAttr="Names">isdef(systemModelName) ? (systemModelName + (isdef(systemFQDN) ? ( " " + systemFQDN) : "")) : "Dell PE iDRAC"</Expression>
<Expression destAttr="Descriptions">isdef(systemModelName) ? (systemModelName + (isdef(systemFQDN) ? ( " " + systemFQDN) : "")) : "Dell PE iDRAC"</Expression>
<Expression destAttr="OperatingSystemName">systemOSName</Expression>
<Expression destAttr="OperatingSystemVersion">systemOSVersion</Expression>
<Expression destAttr="StatusCode">globalSystemStatus</Expression>
<Expression destAttr="TimeInOtherState">globalSystemStatus == 1 ? _rspDuration : 0</Expression>
<Expression destAttr="TimeInUnknownState">globalSystemStatus == 2 ? _rspDuration : 0</Expression>
<Expression destAttr="TimeInNormalState">globalSystemStatus == 3 ? _rspDuration : 0</Expression>
<Expression destAttr="TimeInWarningState">globalSystemStatus == 4 ? _rspDuration : 0</Expression>
<Expression destAttr="TimeInCriticalState">globalSystemStatus == 5 ? _rspDuration : 0</Expression>
<Expression destAttr="TimeInFailedState">globalSystemStatus == 6 ? _rspDuration : 0</Expression>
<Expression destAttr="PctTimeInOtherState">globalSystemStatus == 1 ? 100 : 0</Expression>
<Expression destAttr="PctTimeInUnknownState">globalSystemStatus == 2 ? 100 : 0</Expression>
<Expression destAttr="PctTimeInNormalState">globalSystemStatus == 3 ? 100 : 0</Expression>
<Expression destAttr="PctTimeInWarningState">globalSystemStatus == 4 ? 100 : 0</Expression>
<Expression destAttr="PctTimeInCriticalState">globalSystemStatus == 5 ? 100 : 0</Expression>
<Expression destAttr="PctTimeInFailedState">globalSystemStatus == 6 ? 100 : 0</Expression>
Original Message:
Sent: Jan 21, 2022 08:34 AM
From: David Michel
Subject: Collecting serial numbers with snmpcollector
still recommend:
click the 3 dots to the left of 'poweredge r740' and run vendor cert,
The info at that generic system level looks like the same data at the profile top level System Information section. That comes in from discovery server, which may have failed to get the serial number, MAC address and the other items. If the above works that will confirm snmpcollector can get it, so then run the Force Component Rediscovery available at the top right 3 dots menu when the profile name is selected.
Original Message:
Sent: Jan 21, 2022 05:36 AM
From: Marius Nitu
Subject: Collecting serial numbers with snmpcollector
Hello,
Thank you for your replies. I can get the SN with other SNMP tools and I think snmpcollector would be able to get it but probably it is not configured to do so. I don't know where to configure it, since Serial Number metric is missing from the Template Editor.
Thank you,
Marius
Original Message:
Sent: Jan 20, 2022 02:17 PM
From: David Michel
Subject: Collecting serial numbers with snmpcollector
My guess is the device is not returning the serial number which is why it is blank.
click the 3 dots to the left of 'poweredge r740' and run vendor cert, it's like a selective sapwalk.
When finished there is a popup window with the log, from that you can see what's happening.
If that shows it tried to get the serial number and the return was blank it is off to the device admin to enable it.
Figuring you get that working you can either work on creating a custom dashboard or report.
or go with direct sql query, something like
select * FROM CM_DEVICE where dev_ip in ('x.x.x.x','x.x.x.x')
if that looks right then
select dev_id FROM CM_DEVICE where dev_ip in ('x.x.x.x','x.x.x.x')
then pick one dev_id and plug it into
select * FROM CM_DEVICE_ATTRIBUTE where dev_id = 'xxxxx'
find the exact value used for the serial number and then
select * FROM CM_DEVICE_ATTRIBUTE where dev_attr_key = 'whatever'
Original Message:
Sent: Jan 20, 2022 10:15 AM
From: Marius Nitu
Subject: Collecting serial numbers with snmpcollector
Hello,
I have a request from a client to collect the serial numbers of some network equipment and create a report with them (for example iDRAC).
I know I can do it by using the Device Self Certification portlet, but I was wondering if there is a simpler way.
In Device Self Certification I can see a SerialNumber metric in System->Generic System metric family. This metric is absent in the Template Editor for snmpcollector.
But there is Serial Number attribute in the snmpcollector configuration page.
Please help!
Many thanks!
Marius