newdevice: Added basic Cisco SCE detection (#6666)

* newdevice: Basic Cisco SCE Support

fix #6630

* add os polling

* add group
This commit is contained in:
Søren Rosiak
2017-05-17 23:19:10 +02:00
committed by Neil Lathwood
parent 8252553eaa
commit b06176aa17
3 changed files with 53 additions and 0 deletions

View 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

View 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'];

View 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