- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Anyone know where sysObjectID is?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-16-2017 01:02 PM
Help! I cannot find where in the NetMRI API that the sysObjectID is located. I would like to include this in a report.
Thanks!
Solved! Go to Solution.
Re: Anyone know where sysObjectID is?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-16-2017 01:32 PM
Re: Anyone know where sysObjectID is?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-16-2017 01:52 PM
Yeah! You are correct! Thanks John!
https://netmri/api/3/device_properties/search?DeviceName=blahblahblah
<device_property>
<DataSourceID type="int">0</DataSourceID>
<DeviceID type="int">3344</DeviceID>
<DevicePropChangedCols nil="true"/>
<DevicePropEndTime nil="true"/>
<DevicePropIndex/>
<DevicePropName>sysObjectID</DevicePropName>
<DevicePropSource>SNMP</DevicePropSource>
<DevicePropStartTime type="datetime">2011-12-17 16:23:45</DevicePropStartTime>
<DevicePropTimestamp type="datetime">2017-02-16 14:00:14</DevicePropTimestamp><DevicePropValue>1.3.6.1.4.1.9.1.283</DevicePropValue>
<DevicePropertyID type="int">3292</DevicePropertyID>
<SecureVersion nil="true"/>
<_class>DeviceProperty</_class>
</device_property>
Re: Anyone know where sysObjectID is?
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-24-2017 11:46 AM - edited 02-27-2017 05:29 AM
So, to finish this up what I did was created a quick perl script to export the device model information along with the OID and cross-match to a list of supported devices provided by Infoblox which was by OID and equipment model.
(Disclaimer - I've attached the list from Infoblox, I am not liable for it's contents. For an updated list please consult with Infoblox)
Cheers -
Lon.
Re: Anyone know where sysObjectID is?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-11-2019 04:40 PM
Hi Lon, Just following on from this, has anything changed in V7.3.3
I wrote a small Perl script to pull off the (or so I hoped) the sysObjectID based on this thread.
The script (part that relates to it) is;
my ($deviceprop) = $easy->broker->device_property->index();
# print the device as it is found
print "dumpprop: " . Dumper($deviceprop);
What I get is the following;
dumpprop: bless( {
DataSourceID => 2,
DeviceID => "8170202663844258315",
DevicePropChangedCols => undef,
DevicePropEndTime => undef,
DevicePropIndex => "",
DevicePropName => "rttMonApplVersion",
DevicePropSource => "SNMP",
DevicePropStartTime => "2016-07-22 03:44:18",
DevicePropTimestamp => "2019-09-11 21:28:46",
DevicePropValue => "2.2.0 Round Trip Time MIB",
DevicePropertyID => "160096916269578",
SecureVersion => undef,
_client => 2
}, 'NetMRI::API::Remote::V3_2_0:eviceProperty' )
I was expecting DevicePropValue to contain the sysObjectID,
However it lists;
DevicePropValue => "2.2.0 Round Trip Time MIB",
Am I doing something wrong here?
Thanks
Russ
Re: Anyone know where sysObjectID is?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-11-2019 05:37 PM
You should be able to see a <DevicePropName>sysObjectID</DevicePropName> in the output. Try the api call from your browser. Also be sure that it is a supported device. The call returns an array of device_properties, which would include things like sysdesc, sysname, snmpstatus, etc.
-Lon
Re: Anyone know where sysObjectID is?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-11-2019 11:48 PM
Thanks for the reply Lon, Maybe looking in the wrong area. I'm missing the other snmp objects you mention also.,
Rgds
Russ
Re: Anyone know where sysObjectID is?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-12-2019 05:01 AM
Try another deviceID, one that is a supported switch or router. If that doesn't work, maybe best to open a case with Infoblox.
-Lon.