Added support for hardware, serial, firmware for HP MSM #2768

Merged
merged 2 commits into from Jan 15, 2016

Projects

None yet

3 participants

@SaaldjorMike
Member

No description provided.

@SaaldjorMike SaaldjorMike Added support for hardware, serial, firmware for HP MSM
a8b476d
@paulgear paulgear commented on an outdated diff Jan 15, 2016
includes/polling/os/hpmsm.inc.php
@@ -0,0 +1,17 @@
+<?php
+/*
+ * LibreNMS HP MSM OS information module
+ *
+ * Copyright (c) 2016 Mike Rostermund <mike@kollegienet.dk>
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation, either version 3 of the License, or (at your
+ * option) any later version. Please see LICENSE.txt at the top level of
+ * the source code distribution for details.
+ */
+
+$sysdescr = snmp_get($device, 'SNMPv2-MIB::sysDescr.0', '-Ovq');
@paulgear
paulgear Jan 15, 2016 Member

Let's merge #2637 first, then we can change the above to use the already-polled description.

@paulgear
paulgear Jan 15, 2016 Member

#2637 is merged, so you're good to go on this.

@SaaldjorMike
Member

As @paulgear proposed, lets merge #2637 first, and then use the data here. I'll update this PR after other PR is merged.

@SaaldjorMike SaaldjorMike Use the sysDescr we've already polled in the core module
6f06b74
@SaaldjorMike SaaldjorMike removed the Blocker label Jan 15, 2016
@paulgear paulgear merged commit 61af4f9 into librenms:master Jan 15, 2016

2 checks passed

Auto-Deploy Build finished. No test results found.
Details
Scrutinizer No new issues
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment