mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
newdevice: Added basic Cisco SCE detection (#6666)
* newdevice: Basic Cisco SCE Support fix #6630 * add os polling * add group
This commit is contained in:
committed by
Neil Lathwood
parent
8252553eaa
commit
b06176aa17
36
includes/definitions/ciscosce.yaml
Normal file
36
includes/definitions/ciscosce.yaml
Normal file
@@ -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
|
15
includes/polling/os/ciscosce.inc.php
Normal file
15
includes/polling/os/ciscosce.inc.php
Normal file
@@ -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'];
|
2
tests/snmpsim/ciscosce.snmprec
Normal file
2
tests/snmpsim/ciscosce.snmprec
Normal file
@@ -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
|
Reference in New Issue
Block a user