Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meraki MS: add serial number #9768

Merged
merged 6 commits into from Mar 6, 2019
Merged
Changes from 5 commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -13,3 +13,6 @@
if (empty($hardware)) {
$hardware = $device['sysDescr'];
}
// ENTITY-MIB::entPhysicalSerialNum
$serial = snmp_getnext($device, '.1.3.6.1.2.1.47.1.1.1.1.11', '-Oqv', 'ENTITY-MIB');
@@ -0,0 +1,40 @@
{
"os": {
"discovery": {
"devices": [
{
"sysName": "",
"sysObjectID": null,
"sysDescr": "Meraki MS",
"sysContact": null,
"version": null,
"hardware": null,
"features": null,
"os": "merakims",
"type": "network",
"serial": null,
"icon": "meraki.png",
"location": null
}
]
},
"poller": {
"devices": [
{
"sysName": "",
"sysObjectID": null,
"sysDescr": "Meraki MS",
"sysContact": null,
"version": null,
"hardware": "Meraki MS",
"features": null,
"os": "merakims",
"type": "network",
"serial": "9999999999",
"icon": "meraki.png",
"location": null
}
]
}
}
}
@@ -1 +1,2 @@
1.3.6.1.2.1.1.1.0|4|Meraki MS
1.3.6.1.2.1.47.1.1.1.1.11.1|4|9999999999
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.