Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
newdevice: Added basic Cisco SCE detection (#6666)
* newdevice: Basic Cisco SCE Support fix #6630 * add os polling * add group
- Loading branch information
Showing
3 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
os: ciscosce | ||
group: cisco | ||
text: 'Cisco SCE' | ||
type: network | ||
ifname: 1 | ||
over: | ||
- { graph: device_bits, text: 'Device Traffic' } | ||
- { graph: device_processor, text: 'CPU Usage' } | ||
- { graph: device_mempool, text: 'Memory Usage' } | ||
icon: cisco | ||
poller_modules: | ||
bgp-peers: 0 | ||
cisco-cbqos: 0 | ||
cisco-cef: 0 | ||
cisco-mac-accounting: 0 | ||
cisco-voice: 0 | ||
cisco-remote-access-monitor: 0 | ||
cisco-sla: 0 | ||
cisco-ipsec-flow-monitor: 0 | ||
cipsec-tunnels: 0 | ||
cisco-otv: 0 | ||
ospf: 0 | ||
wireless: 0 | ||
discovery_modules: | ||
cisco-cef: 0 | ||
cisco-sla: 0 | ||
cisco-mac-accounting: 0 | ||
cisco-otv: 0 | ||
cisco-pw: 0 | ||
cisco-vrf: 0 | ||
cisco-vrf-lite: 0 | ||
mib_dir: | ||
- cisco | ||
discovery: | ||
- sysDescr: | ||
- Cisco Service Control |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
/* | ||
* LibreNMS | ||
* | ||
* Copyright (c) 2017 Søren Friis Rosiak <sorenrosiak@gmail.com> | ||
* 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. | ||
*/ | ||
|
||
$explodeddata = explode(" ", $poll_device['sysDescr']); | ||
$version = $explodeddata['6']; | ||
$hardware = $explodeddata['11']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
1.3.6.1.2.1.1.1.0|4|Cisco Service Control, SW version: Version 5.2.0 Build 112, HW version: SCE8000 2x10GBE | ||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.9.1.913 |