mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added FortiMail support (#10895)
* Added FortiMail support * Added FortiMail support * Update fortimail.inc.php * optimized discovery * Syntax change * Added test data Co-authored-by: Neil Lathwood <gh+n@laf.io>
This commit is contained in:
8
includes/definitions/discovery/fortimail.yaml
Normal file
8
includes/definitions/discovery/fortimail.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
mib: FORTINET-FORTIMAIL-MIB
|
||||
modules:
|
||||
processors:
|
||||
data:
|
||||
-
|
||||
oid: fmlSysCpuUsage
|
||||
num_oid: '.1.3.6.1.4.1.12356.105.1.6.{{ $index }}'
|
||||
type: fortimail
|
12
includes/definitions/fortimail.yaml
Normal file
12
includes/definitions/fortimail.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
os: fortimail
|
||||
text: 'Fortinet FortiMail'
|
||||
type: firewall
|
||||
icon: fortinet
|
||||
group: fortinet
|
||||
over:
|
||||
- { graph: device_bits, text: 'Device Traffic' }
|
||||
- { graph: device_processor, text: 'CPU Usage' }
|
||||
- { graph: device_mempool, text: 'Memory Usage' }
|
||||
discovery:
|
||||
- sysObjectID:
|
||||
- .1.3.6.1.4.1.12356.105
|
10
includes/discovery/mempools/fortimail.inc.php
Normal file
10
includes/discovery/mempools/fortimail.inc.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
if ($device['os'] == 'fortimail') {
|
||||
echo 'FORTIMAIL-MEMORY-POOL: ';
|
||||
$usage = str_replace('"', "", snmp_get($device, 'FORTINET-FORTIMAIL-MIB::fmlSysMemUsage.0', '-OvQ'));
|
||||
if (is_numeric($usage)) {
|
||||
// fmlSysMemCapacity: Total physical memory (RAM) installed (KB)
|
||||
// Conversion from kilobyte (base 2) to byte (base 10): Precision = 1024
|
||||
discover_mempool($valid_mempool, $device, 0, 'fortimail', 'Physical Memory', '1024', null, null);
|
||||
}
|
||||
}
|
8
includes/polling/mempools/fortimail.inc.php
Normal file
8
includes/polling/mempools/fortimail.inc.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
echo 'FortiMail MemPool';
|
||||
$mempool['perc'] = snmp_get($device, 'FORTINET-FORTIMAIL-MIB::fmlSysMemUsage.0', '-OvQ');
|
||||
// There is no OID for MemCapacity. Using fixed value based on "diag hardware sysinfo"
|
||||
$mempool['total'] = 4123984 * $mempool['mempool_precision'];
|
||||
$mempool['used'] = round($mempool['total'] * ($mempool['perc'] / 100));
|
||||
$mempool['free'] = ($mempool['total'] - $mempool['used']);
|
||||
echo '(U: '.$mempool['used'].' T: '.$mempool['total'].' F: '.$mempool['free'].') ';
|
9
includes/polling/os/fortimail.inc.php
Normal file
9
includes/polling/os/fortimail.inc.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
$temp_data = snmp_get_multi_oid($device, 'fmlSysModel.0 fmlSysVersion.0 fmlSysSerial.0', '-OUQs', 'FORTINET-FORTIMAIL-MIB');
|
||||
|
||||
$hardware = $temp_data['fmlSysModel.0'];
|
||||
$version = $temp_data['fmlSysVersion.0'];
|
||||
$serial = $temp_data['fmlSysSerial.0'];
|
||||
|
||||
unset($temp_data);
|
735
mibs/fortinet/FORTINET-FORTIMAIL-MIB
Normal file
735
mibs/fortinet/FORTINET-FORTIMAIL-MIB
Normal file
@@ -0,0 +1,735 @@
|
||||
--
|
||||
-- MODULE-IDENTITY
|
||||
-- OrgName
|
||||
-- Fortinet, Inc.
|
||||
-- ContactInfo
|
||||
-- Technical Support
|
||||
-- e-mail: support@fortinet.com
|
||||
-- http://www.fortinet.com
|
||||
--
|
||||
|
||||
FORTINET-FORTIMAIL-MIB DEFINITIONS ::= BEGIN
|
||||
IMPORTS
|
||||
MODULE-COMPLIANCE, NOTIFICATION-GROUP, OBJECT-GROUP
|
||||
FROM SNMPv2-CONF
|
||||
DisplayString, TEXTUAL-CONVENTION
|
||||
FROM SNMPv2-TC
|
||||
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, Integer32, Gauge32,
|
||||
IpAddress
|
||||
FROM SNMPv2-SMI
|
||||
ifIndex
|
||||
FROM IF-MIB
|
||||
FnBoolState, FnIndex, FnSessionProto, fortinet
|
||||
FROM FORTINET-CORE-MIB;
|
||||
|
||||
fnFortiMailMib MODULE-IDENTITY
|
||||
LAST-UPDATED "201306280000Z"
|
||||
ORGANIZATION
|
||||
"Fortinet Technologies, Inc."
|
||||
CONTACT-INFO
|
||||
"Technical Support
|
||||
email: support@fortinet.com
|
||||
http://www.fortinet.com
|
||||
"
|
||||
DESCRIPTION
|
||||
"Add fmlMailQueueStatistics listing mail queues and
|
||||
number of emails and size of emails in queues"
|
||||
REVISION "201306280000Z"
|
||||
DESCRIPTION
|
||||
"MIB module for Fortinet FortiMail devices"
|
||||
REVISION "201003230000Z"
|
||||
DESCRIPTION
|
||||
"Inherit FORTINET-CORE-MIB, combine FortiMail traps"
|
||||
REVISION "200910220000Z"
|
||||
DESCRIPTION
|
||||
"MIB module for FortiMail devices."
|
||||
::= { fortinet 105 }
|
||||
|
||||
--
|
||||
-- Textual conventions --
|
||||
--
|
||||
|
||||
FmlIpv6Address ::= TEXTUAL-CONVENTION
|
||||
DISPLAY-HINT "2x:"
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This data type is used to model IPv6 addresses.
|
||||
This is a binary string of 16 octets in network
|
||||
byte-order."
|
||||
SYNTAX OCTET STRING (SIZE (16))
|
||||
|
||||
FmlOpMode ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"fortimail operation mode."
|
||||
SYNTAX INTEGER {
|
||||
gateway (1),
|
||||
transparent (2),
|
||||
server (3)
|
||||
}
|
||||
|
||||
FmlSysEventCodeVal ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"enumerated type for System component events."
|
||||
SYNTAX INTEGER {
|
||||
systemHalt (1),
|
||||
systemReboot (2),
|
||||
systemReload (3),
|
||||
systemUpgrade (4),
|
||||
guiUpgrade (5),
|
||||
logdiskFormat (6),
|
||||
maildiskFormat (7),
|
||||
avDBUpdateSuccess (8),
|
||||
avDBUpdateNetworkError (9),
|
||||
avDBUpdateFailure (10)
|
||||
}
|
||||
|
||||
FmlRAIDCodeVal ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"enumerated type for RAID system events."
|
||||
SYNTAX INTEGER {
|
||||
degradedArray (1),
|
||||
sparesMissing (2),
|
||||
rebuildStarted (3),
|
||||
rebuildFinished (4),
|
||||
fail (5),
|
||||
failSpare (6),
|
||||
spareActive (7)
|
||||
}
|
||||
|
||||
FmlHAEventIdVal ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"enumerated type for HA events."
|
||||
SYNTAX INTEGER {
|
||||
masterUnitSwitch (1),
|
||||
slaveUnitSwitch (2),
|
||||
unitShutdown (3)
|
||||
}
|
||||
|
||||
FmlHAModeVal ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"enumerated type for HA mode."
|
||||
SYNTAX INTEGER {
|
||||
off (0),
|
||||
master (1),
|
||||
slave (2),
|
||||
configMaster (3),
|
||||
configSlave (4)
|
||||
}
|
||||
|
||||
|
||||
--
|
||||
--
|
||||
--
|
||||
|
||||
fmlTraps OBJECT IDENTIFIER ::= { fnFortiMailMib 0 }
|
||||
fmlSystem OBJECT IDENTIFIER ::= { fnFortiMailMib 1 }
|
||||
fmlSysOptions OBJECT IDENTIFIER ::= { fmlSystem 101 }
|
||||
fmlIp OBJECT IDENTIFIER ::= { fmlSystem 102 }
|
||||
fmlMailOptions OBJECT IDENTIFIER ::= { fmlSystem 103 }
|
||||
fmlHwSensors OBJECT IDENTIFIER ::= { fmlSystem 110 }
|
||||
fmlSysHA OBJECT IDENTIFIER ::= { fmlSystem 200 }
|
||||
fmlMIBConformance OBJECT IDENTIFIER ::= { fnFortiMailMib 600 }
|
||||
|
||||
|
||||
--
|
||||
-- fnFortiMailMib.fmlSystem
|
||||
--
|
||||
|
||||
fmlSysModel OBJECT-TYPE
|
||||
SYNTAX DisplayString ( SIZE ( 0 .. 64 ) )
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "System model string"
|
||||
::= { fmlSystem 1 }
|
||||
|
||||
fmlSysSerial OBJECT-TYPE
|
||||
SYNTAX DisplayString ( SIZE ( 0 .. 32 ) )
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Device serial number"
|
||||
::= { fmlSystem 2 }
|
||||
|
||||
fmlSysVersion OBJECT-TYPE
|
||||
SYNTAX DisplayString ( SIZE ( 0 .. 128 ) )
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Device firmware version"
|
||||
::= { fmlSystem 3 }
|
||||
|
||||
fmlSysVersionAv OBJECT-TYPE
|
||||
SYNTAX DisplayString ( SIZE ( 0 .. 128 ) )
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Antivirus DB version"
|
||||
::= { fmlSystem 4 }
|
||||
|
||||
fmlSysOpMode OBJECT-TYPE
|
||||
SYNTAX FmlOpMode
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Operational mode (Gateway, Transparent or Server)"
|
||||
::= { fmlSystem 5 }
|
||||
|
||||
fmlSysCpuUsage OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Instantaneous CPU usage"
|
||||
::= { fmlSystem 6 }
|
||||
|
||||
fmlSysMemUsage OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Instantaneous memory utilization"
|
||||
::= { fmlSystem 7 }
|
||||
|
||||
fmlSysLogDiskUsage OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Instantaneous log disk usage"
|
||||
::= { fmlSystem 8 }
|
||||
|
||||
fmlSysMailDiskUsage OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Instantaneous mail disk usage"
|
||||
::= { fmlSystem 9 }
|
||||
|
||||
fmlSysSesCount OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Instantaneous session count"
|
||||
::= { fmlSystem 10 }
|
||||
|
||||
fmlSysEventCode OBJECT-TYPE
|
||||
SYNTAX FmlSysEventCodeVal
|
||||
MAX-ACCESS accessible-for-notify
|
||||
STATUS current
|
||||
DESCRIPTION "System component events"
|
||||
::= { fmlSystem 11 }
|
||||
|
||||
fmlRAIDCode OBJECT-TYPE
|
||||
SYNTAX FmlRAIDCodeVal
|
||||
MAX-ACCESS accessible-for-notify
|
||||
STATUS current
|
||||
DESCRIPTION "RAID system events"
|
||||
::= { fmlSystem 12 }
|
||||
|
||||
fmlRAIDDevName OBJECT-TYPE
|
||||
SYNTAX DisplayString ( SIZE ( 0 .. 32 ) )
|
||||
MAX-ACCESS accessible-for-notify
|
||||
STATUS current
|
||||
DESCRIPTION "RAID Device name"
|
||||
::= { fmlSystem 13 }
|
||||
|
||||
fmlHAEventId OBJECT-TYPE
|
||||
SYNTAX FmlHAEventIdVal
|
||||
MAX-ACCESS accessible-for-notify
|
||||
STATUS current
|
||||
DESCRIPTION "HA event type ID"
|
||||
::= { fmlSystem 14 }
|
||||
|
||||
fmlHAUnitIp OBJECT-TYPE
|
||||
SYNTAX IpAddress
|
||||
MAX-ACCESS accessible-for-notify
|
||||
STATUS current
|
||||
DESCRIPTION "Unit IP address where event occurs "
|
||||
::= { fmlSystem 15 }
|
||||
|
||||
fmlHAEventReason OBJECT-TYPE
|
||||
SYNTAX DisplayString ( SIZE ( 0 .. 32 ) )
|
||||
MAX-ACCESS accessible-for-notify
|
||||
STATUS current
|
||||
DESCRIPTION "The reason for the HA event"
|
||||
::= { fmlSystem 16 }
|
||||
|
||||
fmlSysLoad OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Instantaneous system load"
|
||||
::= { fmlSystem 30 }
|
||||
|
||||
fmlRemoteStorageStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER { false(0), true(1) }
|
||||
MAX-ACCESS accessible-for-notify
|
||||
STATUS obsolete
|
||||
DESCRIPTION "Remote Storage Status"
|
||||
::= { fmlSystem 31 }
|
||||
--
|
||||
-- fnFortiMailMib.fmlSystem.fmlSysOptions
|
||||
--
|
||||
|
||||
fmlSysOptIdleTimeout OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Idle period after which the administrator
|
||||
is automatically logged out off the system"
|
||||
::= { fmlSysOptions 1 }
|
||||
|
||||
fmlSysOptAuthTimeout OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Authentication idle timeout value"
|
||||
::= { fmlSysOptions 2 }
|
||||
|
||||
--
|
||||
-- fnFortiMailMib.fmlSystem.fmlIp
|
||||
--
|
||||
|
||||
fmlIpSessTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF FmlIpSessEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION "IP Sessions Info"
|
||||
::= { fmlIp 2 }
|
||||
|
||||
fmlIpSessEntry OBJECT-TYPE
|
||||
SYNTAX FmlIpSessEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION "Particular IP Session info"
|
||||
INDEX { fmlIpSessIndex }
|
||||
::= { fmlIpSessTable 1 }
|
||||
|
||||
FmlIpSessEntry ::=
|
||||
SEQUENCE {
|
||||
fmlIpSessIndex FnIndex,
|
||||
fmlIpSessProto FnSessionProto,
|
||||
fmlIpSessFromAddr IpAddress,
|
||||
fmlIpv6SessFromAddr FmlIpv6Address,
|
||||
fmlIpSessFromPort Integer32,
|
||||
fmlIpSessToAddr IpAddress,
|
||||
fmlIpv6SessToAddr FmlIpv6Address,
|
||||
fmlIpSessToPort Integer32,
|
||||
fmlIpSessExp Gauge32
|
||||
}
|
||||
|
||||
fmlIpSessIndex OBJECT-TYPE
|
||||
SYNTAX FnIndex
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION "An index value that uniquely identifies
|
||||
an IP session"
|
||||
::= { fmlIpSessEntry 1 }
|
||||
|
||||
fmlIpSessProto OBJECT-TYPE
|
||||
SYNTAX FnSessionProto
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "The protocol of the connection"
|
||||
::= { fmlIpSessEntry 2 }
|
||||
|
||||
fmlIpSessFromAddr OBJECT-TYPE
|
||||
SYNTAX IpAddress
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Source IP address"
|
||||
::= { fmlIpSessEntry 3 }
|
||||
|
||||
fmlIpv6SessFromAddr OBJECT-TYPE
|
||||
SYNTAX FmlIpv6Address
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Source IP address"
|
||||
::= { fmlIpSessEntry 4}
|
||||
|
||||
|
||||
fmlIpSessFromPort OBJECT-TYPE
|
||||
SYNTAX Integer32 ( 0 .. 65535 )
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Source Port number"
|
||||
::= { fmlIpSessEntry 5 }
|
||||
|
||||
fmlIpSessToAddr OBJECT-TYPE
|
||||
SYNTAX IpAddress
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Destination IP address"
|
||||
::= { fmlIpSessEntry 6 }
|
||||
|
||||
fmlIpv6SessToAddr OBJECT-TYPE
|
||||
SYNTAX FmlIpv6Address
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Source IP address"
|
||||
::= { fmlIpSessEntry 7}
|
||||
|
||||
|
||||
fmlIpSessToPort OBJECT-TYPE
|
||||
SYNTAX Integer32 ( 0 .. 65535 )
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Destination Port number"
|
||||
::= { fmlIpSessEntry 8 }
|
||||
|
||||
fmlIpSessExp OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Time (in seconds) before connection expires"
|
||||
::= { fmlIpSessEntry 9 }
|
||||
|
||||
--
|
||||
-- fnFortiMailMib.fmlSystem.fmlMailOptions
|
||||
--
|
||||
fmlMailOptionsDeferQueue OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS obsolete
|
||||
DESCRIPTION "Instantaneous deferred emails number"
|
||||
::= { fmlMailOptions 1 }
|
||||
|
||||
fmlMailQueueStatistics OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF FmlMailQueueEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION "Statistics of mail queues"
|
||||
::= { fmlMailOptions 2 }
|
||||
|
||||
fmlMailQueueEntry OBJECT-TYPE
|
||||
SYNTAX FmlMailQueueEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION "Statistics of a mail queue, e.g. number of mails in queue, size of mails"
|
||||
INDEX { fmlMailQueueIndex }
|
||||
::= { fmlMailQueueStatistics 1 }
|
||||
|
||||
FmlMailQueueEntry ::= SEQUENCE {
|
||||
fmlMailQueueIndex FnIndex,
|
||||
fmlMailQueueName DisplayString,
|
||||
fmlMailQueueMailCount Gauge32,
|
||||
fmlMailQueueMailSize Gauge32
|
||||
}
|
||||
|
||||
fmlMailQueueIndex OBJECT-TYPE
|
||||
SYNTAX FnIndex
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "mail queue index"
|
||||
::= { fmlMailQueueEntry 1 }
|
||||
|
||||
fmlMailQueueName OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "mail queue name"
|
||||
::= { fmlMailQueueEntry 2 }
|
||||
|
||||
fmlMailQueueMailCount OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "number of emails in mail queue"
|
||||
::= { fmlMailQueueEntry 3 }
|
||||
|
||||
fmlMailQueueMailSize OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "size of emails in mail queue in KB"
|
||||
::= { fmlMailQueueEntry 4 }
|
||||
|
||||
--
|
||||
-- fnFortiMailMib.fmlSystem.fmlHwSensors
|
||||
--
|
||||
|
||||
fmlHwSensorCount OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "The number of hardware sensors in the system"
|
||||
::= { fmlHwSensors 1 }
|
||||
|
||||
fmlHwSensorTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF FmlHwSensorEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION "A list of hardware sensors in the system user accounts"
|
||||
::= { fmlHwSensors 2 }
|
||||
|
||||
fmlHwSensorEntry OBJECT-TYPE
|
||||
SYNTAX FmlHwSensorEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION "An entry containing information of hardware sensors"
|
||||
INDEX { fmlHwSensorEntIndex }
|
||||
::= { fmlHwSensorTable 1 }
|
||||
|
||||
FmlHwSensorEntry ::= SEQUENCE {
|
||||
fmlHwSensorEntIndex FnIndex,
|
||||
fmlHwSensorEntName DisplayString,
|
||||
fmlHwSensorEntValue DisplayString,
|
||||
fmlHwSensorEntAlarmStatus INTEGER
|
||||
}
|
||||
|
||||
fmlHwSensorEntIndex OBJECT-TYPE
|
||||
SYNTAX FnIndex
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION "Index of the hardware sensors"
|
||||
::= { fmlHwSensorEntry 1 }
|
||||
|
||||
fmlHwSensorEntName OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Sensor Name"
|
||||
::= { fmlHwSensorEntry 2 }
|
||||
|
||||
fmlHwSensorEntValue OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Reading value of the sensor"
|
||||
::= { fmlHwSensorEntry 3 }
|
||||
|
||||
fmlHwSensorEntAlarmStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER { false(0), true(1) }
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Alarm status of the sensor"
|
||||
::= { fmlHwSensorEntry 4 }
|
||||
|
||||
--
|
||||
-- fnFortiMailMib.fmlSystem.fmlSysHA
|
||||
--
|
||||
|
||||
fmlHAMode OBJECT-TYPE
|
||||
SYNTAX FmlHAModeVal
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Configured HA mode"
|
||||
::= { fmlSysHA 1 }
|
||||
|
||||
fmlHAEffectiveMode OBJECT-TYPE
|
||||
SYNTAX FmlHAModeVal
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Effective HA mode"
|
||||
::= { fmlSysHA 2 }
|
||||
|
||||
--
|
||||
-- fnFortiMailMib.fmlTraps
|
||||
--
|
||||
|
||||
fmlTrapCpuHighThreshold NOTIFICATION-TYPE
|
||||
OBJECTS { fmlSysSerial }
|
||||
STATUS obsolete
|
||||
DESCRIPTION "Trap being sent if CPU usage becomes too high, which is defined in FORTINET-CORE-MIB"
|
||||
::= { fmlTraps 101 }
|
||||
|
||||
fmlTrapMemLowThreshold NOTIFICATION-TYPE
|
||||
OBJECTS { fmlSysSerial }
|
||||
STATUS obsolete
|
||||
DESCRIPTION "Trap being sent if memory usage becomes too high, which is defined in FORTINET-CORE-MIB"
|
||||
::= { fmlTraps 102 }
|
||||
|
||||
fmlTrapLogDiskHighThreshold NOTIFICATION-TYPE
|
||||
OBJECTS { fmlSysSerial }
|
||||
STATUS obsolete
|
||||
DESCRIPTION "Trap being sent if Log disk usage becomes too high, which is defined in FORTINET-CORE-MIB"
|
||||
::= { fmlTraps 103 }
|
||||
|
||||
fmlTrapMailDiskHighThreshold NOTIFICATION-TYPE
|
||||
OBJECTS { fmlSysSerial}
|
||||
STATUS current
|
||||
DESCRIPTION "Trap being sent if Mailbox disk usage becomes too high"
|
||||
::= { fmlTraps 104 }
|
||||
|
||||
fmlTrapMailDeferredQueueHighThreshold NOTIFICATION-TYPE
|
||||
OBJECTS { fmlSysSerial }
|
||||
STATUS current
|
||||
DESCRIPTION "Trap being sent if Mail server deferred emails becomes too high"
|
||||
::= { fmlTraps 105 }
|
||||
|
||||
fmlTrapAvThresholdEvent NOTIFICATION-TYPE
|
||||
OBJECTS { fmlSysSerial }
|
||||
STATUS current
|
||||
DESCRIPTION "Trap being sent when detected virus number reaches the threshold"
|
||||
::= { fmlTraps 106 }
|
||||
|
||||
fmlTrapSpamThresholdEvent NOTIFICATION-TYPE
|
||||
OBJECTS { fmlSysSerial }
|
||||
STATUS current
|
||||
DESCRIPTION "Trap being sent when detected spam email number reaches the threshold"
|
||||
::= { fmlTraps 107 }
|
||||
|
||||
fmlTrapPSUFailureEvent NOTIFICATION-TYPE
|
||||
OBJECTS { fmlSysSerial, fmlHwSensorEntName, fmlHwSensorEntValue, fmlHwSensorEntAlarmStatus }
|
||||
STATUS obsolete
|
||||
DESCRIPTION "Trap being sent when detected a power suply unit failure, which is defined in FORTINET-CORE-MIB"
|
||||
::= { fmlTraps 108 }
|
||||
|
||||
fmlTrapSystemEvent NOTIFICATION-TYPE
|
||||
OBJECTS { fmlSysSerial, fmlSysEventCode }
|
||||
STATUS current
|
||||
DESCRIPTION "Trap being sent when system component halt, reboot, upgrade etc.,"
|
||||
::= { fmlTraps 201 }
|
||||
|
||||
fmlTrapRAIDEvent NOTIFICATION-TYPE
|
||||
OBJECTS { fmlSysSerial, fmlRAIDCode, fmlRAIDDevName }
|
||||
STATUS current
|
||||
DESCRIPTION "Trap being sent for RAID operation"
|
||||
::= { fmlTraps 202 }
|
||||
|
||||
fmlTrapHAEvent NOTIFICATION-TYPE
|
||||
OBJECTS { fmlSysSerial, fmlHAEventId, fmlHAUnitIp, fmlHAEventReason }
|
||||
STATUS current
|
||||
DESCRIPTION "Trap being sent when HA event occurs"
|
||||
::= { fmlTraps 203 }
|
||||
|
||||
fmlTrapRemoteStorage NOTIFICATION-TYPE
|
||||
OBJECTS { fmlSysSerial, fmlRemoteStorageStatus }
|
||||
STATUS obsolete
|
||||
DESCRIPTION "Trap being sent when status of the remote storage changes"
|
||||
::= { fmlTraps 205 }
|
||||
|
||||
fmlTrapIpChange NOTIFICATION-TYPE
|
||||
OBJECTS { fmlSysSerial, ifIndex }
|
||||
STATUS obsolete
|
||||
DESCRIPTION "Trap being sent when IP address of
|
||||
the specified interface has been
|
||||
changed, which is defined in FORTINET-CORE-MIB"
|
||||
::= { fmlTraps 301 }
|
||||
|
||||
--
|
||||
-- fnFortiMailMib.fmlMIBConformance
|
||||
--
|
||||
|
||||
fmlSystemConformanceGroup OBJECT-GROUP
|
||||
OBJECTS { fmlSysModel, fmlSysSerial, fmlSysVersion, fmlSysVersionAv, fmlSysOpMode, fmlSysCpuUsage,
|
||||
fmlSysMemUsage, fmlSysLogDiskUsage, fmlSysMailDiskUsage, fmlSysSesCount, fmlSysEventCode,
|
||||
fmlRAIDCode, fmlRAIDDevName, fmlHAEventId, fmlHAUnitIp, fmlHAEventReason,
|
||||
fmlSysLoad }
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"object related to fortimail system."
|
||||
::= { fmlMIBConformance 1 }
|
||||
|
||||
fmlSysOptionsConformanceGroup OBJECT-GROUP
|
||||
OBJECTS { fmlSysOptIdleTimeout, fmlSysOptAuthTimeout }
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"object related to fortimail system option."
|
||||
::= { fmlMIBConformance 2 }
|
||||
|
||||
fmlIpConformanceGroup OBJECT-GROUP
|
||||
OBJECTS { fmlIpSessProto, fmlIpSessFromAddr, fmlIpSessFromPort, fmlIpSessToAddr,
|
||||
fmlIpSessToPort, fmlIpSessExp }
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"object related to fortimail ip."
|
||||
::= { fmlMIBConformance 3 }
|
||||
|
||||
fmlMailOptionsConformanceGroup OBJECT-GROUP
|
||||
OBJECTS { fmlMailQueueName, fmlMailQueueMailCount, fmlMailQueueMailSize }
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"object related to fortimail mail options."
|
||||
::= { fmlMIBConformance 4 }
|
||||
|
||||
fmlHwSensorsConformanceGroup OBJECT-GROUP
|
||||
OBJECTS { fmlHwSensorCount, fmlHwSensorEntName, fmlHwSensorEntValue,
|
||||
fmlHwSensorEntAlarmStatus }
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"object related to fortimail hw sensors."
|
||||
::= { fmlMIBConformance 5 }
|
||||
|
||||
fmlHAModeConformanceGroup OBJECT-GROUP
|
||||
OBJECTS { fmlHAMode, fmlHAEffectiveMode }
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"object related to fortimail HA mode."
|
||||
::= { fmlMIBConformance 6 }
|
||||
|
||||
fmlTrapsComplianceGroup NOTIFICATION-GROUP
|
||||
NOTIFICATIONS {
|
||||
fmlTrapMailDiskHighThreshold,
|
||||
fmlTrapMailDeferredQueueHighThreshold,
|
||||
fmlTrapAvThresholdEvent,
|
||||
fmlTrapSpamThresholdEvent,
|
||||
fmlTrapSystemEvent,
|
||||
fmlTrapRAIDEvent,
|
||||
fmlTrapHAEvent
|
||||
}
|
||||
STATUS current
|
||||
DESCRIPTION "Event notifications"
|
||||
::= { fmlMIBConformance 7 }
|
||||
|
||||
fmlObsoleteTrapsComplianceGroup NOTIFICATION-GROUP
|
||||
NOTIFICATIONS {
|
||||
fmlTrapCpuHighThreshold,
|
||||
fmlTrapMemLowThreshold,
|
||||
fmlTrapLogDiskHighThreshold,
|
||||
fmlTrapPSUFailureEvent,
|
||||
fmlTrapIpChange
|
||||
}
|
||||
STATUS obsolete
|
||||
DESCRIPTION "Event notifications, items in this group are defined in FORTINET-CORE-MIB"
|
||||
::= { fmlMIBConformance 8 }
|
||||
|
||||
fmlMIBCompliance MODULE-COMPLIANCE
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"the compliance statement for the application MIB."
|
||||
|
||||
MODULE -- this module
|
||||
|
||||
GROUP fmlSystemConformanceGroup
|
||||
DESCRIPTION
|
||||
"this group is mandatory for all Fortimail appliances supporting this MIB."
|
||||
|
||||
GROUP fmlSysOptionsConformanceGroup
|
||||
DESCRIPTION
|
||||
"this group is mandatory for all Fortimail appliances supporting this MIB."
|
||||
|
||||
GROUP fmlIpConformanceGroup
|
||||
DESCRIPTION
|
||||
"this group is mandatory for all Fortimail appliances supporting this MIB."
|
||||
|
||||
GROUP fmlMailOptionsConformanceGroup
|
||||
DESCRIPTION
|
||||
"this group is mandatory for all Fortimail appliances supporting this MIB."
|
||||
|
||||
GROUP fmlHwSensorsConformanceGroup
|
||||
DESCRIPTION
|
||||
"this group is mandatory for all Fortimail appliances supporting this MIB."
|
||||
|
||||
GROUP fmlHAModeConformanceGroup
|
||||
DESCRIPTION
|
||||
"this group is mandatory for all Fortimail appliances supporting this MIB."
|
||||
|
||||
GROUP fmlTrapsComplianceGroup
|
||||
DESCRIPTION
|
||||
"this group is mandatory for all Fortimail appliances supporting this MIB."
|
||||
|
||||
::= { fmlMIBConformance 100 }
|
||||
|
||||
fmlObsoleteMIBCompliance MODULE-COMPLIANCE
|
||||
STATUS obsolete
|
||||
DESCRIPTION
|
||||
"the obsolete compliance statement for the application MIB."
|
||||
|
||||
MODULE
|
||||
|
||||
GROUP fmlObsoleteTrapsComplianceGroup
|
||||
DESCRIPTION
|
||||
"items in this group are defined in FORTINET-CORE-MIB."
|
||||
|
||||
::= { fmlMIBConformance 101 }
|
||||
|
||||
END
|
924
tests/data/fortimail.json
Normal file
924
tests/data/fortimail.json
Normal file
@@ -0,0 +1,924 @@
|
||||
{
|
||||
"os": {
|
||||
"discovery": {
|
||||
"devices": [
|
||||
{
|
||||
"sysName": "<private>",
|
||||
"sysObjectID": ".1.3.6.1.4.1.12356.105",
|
||||
"sysDescr": null,
|
||||
"sysContact": null,
|
||||
"version": null,
|
||||
"hardware": null,
|
||||
"features": null,
|
||||
"os": "fortimail",
|
||||
"type": "firewall",
|
||||
"serial": null,
|
||||
"icon": "fortinet.svg",
|
||||
"location": null
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": {
|
||||
"devices": [
|
||||
{
|
||||
"sysName": "<private>",
|
||||
"sysObjectID": ".1.3.6.1.4.1.12356.105",
|
||||
"sysDescr": null,
|
||||
"sysContact": "<private>",
|
||||
"version": null,
|
||||
"hardware": null,
|
||||
"features": null,
|
||||
"os": "fortimail",
|
||||
"type": "firewall",
|
||||
"serial": null,
|
||||
"icon": "fortinet.svg",
|
||||
"location": "<private>"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"ports": {
|
||||
"discovery": {
|
||||
"ports": [
|
||||
{
|
||||
"port_descr_type": null,
|
||||
"port_descr_descr": null,
|
||||
"port_descr_circuit": null,
|
||||
"port_descr_speed": null,
|
||||
"port_descr_notes": null,
|
||||
"ifDescr": "port1",
|
||||
"ifName": "port1",
|
||||
"portName": null,
|
||||
"ifIndex": 1,
|
||||
"ifSpeed": null,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": null,
|
||||
"ifPromiscuousMode": null,
|
||||
"ifHighSpeed": null,
|
||||
"ifHighSpeed_prev": null,
|
||||
"ifOperStatus": "up",
|
||||
"ifOperStatus_prev": null,
|
||||
"ifAdminStatus": null,
|
||||
"ifAdminStatus_prev": null,
|
||||
"ifDuplex": null,
|
||||
"ifMtu": null,
|
||||
"ifType": "ethernetCsmacd",
|
||||
"ifAlias": "port1",
|
||||
"ifPhysAddress": null,
|
||||
"ifHardType": null,
|
||||
"ifLastChange": 0,
|
||||
"ifVlan": "",
|
||||
"ifTrunk": null,
|
||||
"counter_in": null,
|
||||
"counter_out": null,
|
||||
"ignore": 0,
|
||||
"disabled": 0,
|
||||
"detailed": 0,
|
||||
"deleted": 0,
|
||||
"pagpOperationMode": null,
|
||||
"pagpPortState": null,
|
||||
"pagpPartnerDeviceId": null,
|
||||
"pagpPartnerLearnMethod": null,
|
||||
"pagpPartnerIfIndex": null,
|
||||
"pagpPartnerGroupIfIndex": null,
|
||||
"pagpPartnerDeviceName": null,
|
||||
"pagpEthcOperationMode": null,
|
||||
"pagpDeviceId": null,
|
||||
"pagpGroupIfIndex": null,
|
||||
"ifInUcastPkts": null,
|
||||
"ifInUcastPkts_prev": null,
|
||||
"ifInUcastPkts_delta": null,
|
||||
"ifInUcastPkts_rate": null,
|
||||
"ifOutUcastPkts": null,
|
||||
"ifOutUcastPkts_prev": null,
|
||||
"ifOutUcastPkts_delta": null,
|
||||
"ifOutUcastPkts_rate": null,
|
||||
"ifInErrors": null,
|
||||
"ifInErrors_prev": null,
|
||||
"ifInErrors_delta": null,
|
||||
"ifInErrors_rate": null,
|
||||
"ifOutErrors": null,
|
||||
"ifOutErrors_prev": null,
|
||||
"ifOutErrors_delta": null,
|
||||
"ifOutErrors_rate": null,
|
||||
"ifInOctets": null,
|
||||
"ifInOctets_prev": null,
|
||||
"ifInOctets_delta": null,
|
||||
"ifInOctets_rate": null,
|
||||
"ifOutOctets": null,
|
||||
"ifOutOctets_prev": null,
|
||||
"ifOutOctets_delta": null,
|
||||
"ifOutOctets_rate": null,
|
||||
"poll_prev": null,
|
||||
"ifInNUcastPkts": null,
|
||||
"ifInNUcastPkts_prev": null,
|
||||
"ifInNUcastPkts_delta": null,
|
||||
"ifInNUcastPkts_rate": null,
|
||||
"ifOutNUcastPkts": null,
|
||||
"ifOutNUcastPkts_prev": null,
|
||||
"ifOutNUcastPkts_delta": null,
|
||||
"ifOutNUcastPkts_rate": null,
|
||||
"ifInDiscards": null,
|
||||
"ifInDiscards_prev": null,
|
||||
"ifInDiscards_delta": null,
|
||||
"ifInDiscards_rate": null,
|
||||
"ifOutDiscards": null,
|
||||
"ifOutDiscards_prev": null,
|
||||
"ifOutDiscards_delta": null,
|
||||
"ifOutDiscards_rate": null,
|
||||
"ifInUnknownProtos": null,
|
||||
"ifInUnknownProtos_prev": null,
|
||||
"ifInUnknownProtos_delta": null,
|
||||
"ifInUnknownProtos_rate": null,
|
||||
"ifInBroadcastPkts": null,
|
||||
"ifInBroadcastPkts_prev": null,
|
||||
"ifInBroadcastPkts_delta": null,
|
||||
"ifInBroadcastPkts_rate": null,
|
||||
"ifOutBroadcastPkts": null,
|
||||
"ifOutBroadcastPkts_prev": null,
|
||||
"ifOutBroadcastPkts_delta": null,
|
||||
"ifOutBroadcastPkts_rate": null,
|
||||
"ifInMulticastPkts": null,
|
||||
"ifInMulticastPkts_prev": null,
|
||||
"ifInMulticastPkts_delta": null,
|
||||
"ifInMulticastPkts_rate": null,
|
||||
"ifOutMulticastPkts": null,
|
||||
"ifOutMulticastPkts_prev": null,
|
||||
"ifOutMulticastPkts_delta": null,
|
||||
"ifOutMulticastPkts_rate": null
|
||||
},
|
||||
{
|
||||
"port_descr_type": null,
|
||||
"port_descr_descr": null,
|
||||
"port_descr_circuit": null,
|
||||
"port_descr_speed": null,
|
||||
"port_descr_notes": null,
|
||||
"ifDescr": "port2",
|
||||
"ifName": "port2",
|
||||
"portName": null,
|
||||
"ifIndex": 2,
|
||||
"ifSpeed": null,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": null,
|
||||
"ifPromiscuousMode": null,
|
||||
"ifHighSpeed": null,
|
||||
"ifHighSpeed_prev": null,
|
||||
"ifOperStatus": "down",
|
||||
"ifOperStatus_prev": null,
|
||||
"ifAdminStatus": null,
|
||||
"ifAdminStatus_prev": null,
|
||||
"ifDuplex": null,
|
||||
"ifMtu": null,
|
||||
"ifType": "ethernetCsmacd",
|
||||
"ifAlias": "port2",
|
||||
"ifPhysAddress": null,
|
||||
"ifHardType": null,
|
||||
"ifLastChange": 0,
|
||||
"ifVlan": "",
|
||||
"ifTrunk": null,
|
||||
"counter_in": null,
|
||||
"counter_out": null,
|
||||
"ignore": 0,
|
||||
"disabled": 0,
|
||||
"detailed": 0,
|
||||
"deleted": 0,
|
||||
"pagpOperationMode": null,
|
||||
"pagpPortState": null,
|
||||
"pagpPartnerDeviceId": null,
|
||||
"pagpPartnerLearnMethod": null,
|
||||
"pagpPartnerIfIndex": null,
|
||||
"pagpPartnerGroupIfIndex": null,
|
||||
"pagpPartnerDeviceName": null,
|
||||
"pagpEthcOperationMode": null,
|
||||
"pagpDeviceId": null,
|
||||
"pagpGroupIfIndex": null,
|
||||
"ifInUcastPkts": null,
|
||||
"ifInUcastPkts_prev": null,
|
||||
"ifInUcastPkts_delta": null,
|
||||
"ifInUcastPkts_rate": null,
|
||||
"ifOutUcastPkts": null,
|
||||
"ifOutUcastPkts_prev": null,
|
||||
"ifOutUcastPkts_delta": null,
|
||||
"ifOutUcastPkts_rate": null,
|
||||
"ifInErrors": null,
|
||||
"ifInErrors_prev": null,
|
||||
"ifInErrors_delta": null,
|
||||
"ifInErrors_rate": null,
|
||||
"ifOutErrors": null,
|
||||
"ifOutErrors_prev": null,
|
||||
"ifOutErrors_delta": null,
|
||||
"ifOutErrors_rate": null,
|
||||
"ifInOctets": null,
|
||||
"ifInOctets_prev": null,
|
||||
"ifInOctets_delta": null,
|
||||
"ifInOctets_rate": null,
|
||||
"ifOutOctets": null,
|
||||
"ifOutOctets_prev": null,
|
||||
"ifOutOctets_delta": null,
|
||||
"ifOutOctets_rate": null,
|
||||
"poll_prev": null,
|
||||
"ifInNUcastPkts": null,
|
||||
"ifInNUcastPkts_prev": null,
|
||||
"ifInNUcastPkts_delta": null,
|
||||
"ifInNUcastPkts_rate": null,
|
||||
"ifOutNUcastPkts": null,
|
||||
"ifOutNUcastPkts_prev": null,
|
||||
"ifOutNUcastPkts_delta": null,
|
||||
"ifOutNUcastPkts_rate": null,
|
||||
"ifInDiscards": null,
|
||||
"ifInDiscards_prev": null,
|
||||
"ifInDiscards_delta": null,
|
||||
"ifInDiscards_rate": null,
|
||||
"ifOutDiscards": null,
|
||||
"ifOutDiscards_prev": null,
|
||||
"ifOutDiscards_delta": null,
|
||||
"ifOutDiscards_rate": null,
|
||||
"ifInUnknownProtos": null,
|
||||
"ifInUnknownProtos_prev": null,
|
||||
"ifInUnknownProtos_delta": null,
|
||||
"ifInUnknownProtos_rate": null,
|
||||
"ifInBroadcastPkts": null,
|
||||
"ifInBroadcastPkts_prev": null,
|
||||
"ifInBroadcastPkts_delta": null,
|
||||
"ifInBroadcastPkts_rate": null,
|
||||
"ifOutBroadcastPkts": null,
|
||||
"ifOutBroadcastPkts_prev": null,
|
||||
"ifOutBroadcastPkts_delta": null,
|
||||
"ifOutBroadcastPkts_rate": null,
|
||||
"ifInMulticastPkts": null,
|
||||
"ifInMulticastPkts_prev": null,
|
||||
"ifInMulticastPkts_delta": null,
|
||||
"ifInMulticastPkts_rate": null,
|
||||
"ifOutMulticastPkts": null,
|
||||
"ifOutMulticastPkts_prev": null,
|
||||
"ifOutMulticastPkts_delta": null,
|
||||
"ifOutMulticastPkts_rate": null
|
||||
},
|
||||
{
|
||||
"port_descr_type": null,
|
||||
"port_descr_descr": null,
|
||||
"port_descr_circuit": null,
|
||||
"port_descr_speed": null,
|
||||
"port_descr_notes": null,
|
||||
"ifDescr": "port3",
|
||||
"ifName": "port3",
|
||||
"portName": null,
|
||||
"ifIndex": 3,
|
||||
"ifSpeed": null,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": null,
|
||||
"ifPromiscuousMode": null,
|
||||
"ifHighSpeed": null,
|
||||
"ifHighSpeed_prev": null,
|
||||
"ifOperStatus": "down",
|
||||
"ifOperStatus_prev": null,
|
||||
"ifAdminStatus": null,
|
||||
"ifAdminStatus_prev": null,
|
||||
"ifDuplex": null,
|
||||
"ifMtu": null,
|
||||
"ifType": "ethernetCsmacd",
|
||||
"ifAlias": "port3",
|
||||
"ifPhysAddress": null,
|
||||
"ifHardType": null,
|
||||
"ifLastChange": 0,
|
||||
"ifVlan": "",
|
||||
"ifTrunk": null,
|
||||
"counter_in": null,
|
||||
"counter_out": null,
|
||||
"ignore": 0,
|
||||
"disabled": 0,
|
||||
"detailed": 0,
|
||||
"deleted": 0,
|
||||
"pagpOperationMode": null,
|
||||
"pagpPortState": null,
|
||||
"pagpPartnerDeviceId": null,
|
||||
"pagpPartnerLearnMethod": null,
|
||||
"pagpPartnerIfIndex": null,
|
||||
"pagpPartnerGroupIfIndex": null,
|
||||
"pagpPartnerDeviceName": null,
|
||||
"pagpEthcOperationMode": null,
|
||||
"pagpDeviceId": null,
|
||||
"pagpGroupIfIndex": null,
|
||||
"ifInUcastPkts": null,
|
||||
"ifInUcastPkts_prev": null,
|
||||
"ifInUcastPkts_delta": null,
|
||||
"ifInUcastPkts_rate": null,
|
||||
"ifOutUcastPkts": null,
|
||||
"ifOutUcastPkts_prev": null,
|
||||
"ifOutUcastPkts_delta": null,
|
||||
"ifOutUcastPkts_rate": null,
|
||||
"ifInErrors": null,
|
||||
"ifInErrors_prev": null,
|
||||
"ifInErrors_delta": null,
|
||||
"ifInErrors_rate": null,
|
||||
"ifOutErrors": null,
|
||||
"ifOutErrors_prev": null,
|
||||
"ifOutErrors_delta": null,
|
||||
"ifOutErrors_rate": null,
|
||||
"ifInOctets": null,
|
||||
"ifInOctets_prev": null,
|
||||
"ifInOctets_delta": null,
|
||||
"ifInOctets_rate": null,
|
||||
"ifOutOctets": null,
|
||||
"ifOutOctets_prev": null,
|
||||
"ifOutOctets_delta": null,
|
||||
"ifOutOctets_rate": null,
|
||||
"poll_prev": null,
|
||||
"ifInNUcastPkts": null,
|
||||
"ifInNUcastPkts_prev": null,
|
||||
"ifInNUcastPkts_delta": null,
|
||||
"ifInNUcastPkts_rate": null,
|
||||
"ifOutNUcastPkts": null,
|
||||
"ifOutNUcastPkts_prev": null,
|
||||
"ifOutNUcastPkts_delta": null,
|
||||
"ifOutNUcastPkts_rate": null,
|
||||
"ifInDiscards": null,
|
||||
"ifInDiscards_prev": null,
|
||||
"ifInDiscards_delta": null,
|
||||
"ifInDiscards_rate": null,
|
||||
"ifOutDiscards": null,
|
||||
"ifOutDiscards_prev": null,
|
||||
"ifOutDiscards_delta": null,
|
||||
"ifOutDiscards_rate": null,
|
||||
"ifInUnknownProtos": null,
|
||||
"ifInUnknownProtos_prev": null,
|
||||
"ifInUnknownProtos_delta": null,
|
||||
"ifInUnknownProtos_rate": null,
|
||||
"ifInBroadcastPkts": null,
|
||||
"ifInBroadcastPkts_prev": null,
|
||||
"ifInBroadcastPkts_delta": null,
|
||||
"ifInBroadcastPkts_rate": null,
|
||||
"ifOutBroadcastPkts": null,
|
||||
"ifOutBroadcastPkts_prev": null,
|
||||
"ifOutBroadcastPkts_delta": null,
|
||||
"ifOutBroadcastPkts_rate": null,
|
||||
"ifInMulticastPkts": null,
|
||||
"ifInMulticastPkts_prev": null,
|
||||
"ifInMulticastPkts_delta": null,
|
||||
"ifInMulticastPkts_rate": null,
|
||||
"ifOutMulticastPkts": null,
|
||||
"ifOutMulticastPkts_prev": null,
|
||||
"ifOutMulticastPkts_delta": null,
|
||||
"ifOutMulticastPkts_rate": null
|
||||
},
|
||||
{
|
||||
"port_descr_type": null,
|
||||
"port_descr_descr": null,
|
||||
"port_descr_circuit": null,
|
||||
"port_descr_speed": null,
|
||||
"port_descr_notes": null,
|
||||
"ifDescr": "port4",
|
||||
"ifName": "port4",
|
||||
"portName": null,
|
||||
"ifIndex": 4,
|
||||
"ifSpeed": null,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": null,
|
||||
"ifPromiscuousMode": null,
|
||||
"ifHighSpeed": null,
|
||||
"ifHighSpeed_prev": null,
|
||||
"ifOperStatus": "down",
|
||||
"ifOperStatus_prev": null,
|
||||
"ifAdminStatus": null,
|
||||
"ifAdminStatus_prev": null,
|
||||
"ifDuplex": null,
|
||||
"ifMtu": null,
|
||||
"ifType": "ethernetCsmacd",
|
||||
"ifAlias": "port4",
|
||||
"ifPhysAddress": null,
|
||||
"ifHardType": null,
|
||||
"ifLastChange": 0,
|
||||
"ifVlan": "",
|
||||
"ifTrunk": null,
|
||||
"counter_in": null,
|
||||
"counter_out": null,
|
||||
"ignore": 0,
|
||||
"disabled": 0,
|
||||
"detailed": 0,
|
||||
"deleted": 0,
|
||||
"pagpOperationMode": null,
|
||||
"pagpPortState": null,
|
||||
"pagpPartnerDeviceId": null,
|
||||
"pagpPartnerLearnMethod": null,
|
||||
"pagpPartnerIfIndex": null,
|
||||
"pagpPartnerGroupIfIndex": null,
|
||||
"pagpPartnerDeviceName": null,
|
||||
"pagpEthcOperationMode": null,
|
||||
"pagpDeviceId": null,
|
||||
"pagpGroupIfIndex": null,
|
||||
"ifInUcastPkts": null,
|
||||
"ifInUcastPkts_prev": null,
|
||||
"ifInUcastPkts_delta": null,
|
||||
"ifInUcastPkts_rate": null,
|
||||
"ifOutUcastPkts": null,
|
||||
"ifOutUcastPkts_prev": null,
|
||||
"ifOutUcastPkts_delta": null,
|
||||
"ifOutUcastPkts_rate": null,
|
||||
"ifInErrors": null,
|
||||
"ifInErrors_prev": null,
|
||||
"ifInErrors_delta": null,
|
||||
"ifInErrors_rate": null,
|
||||
"ifOutErrors": null,
|
||||
"ifOutErrors_prev": null,
|
||||
"ifOutErrors_delta": null,
|
||||
"ifOutErrors_rate": null,
|
||||
"ifInOctets": null,
|
||||
"ifInOctets_prev": null,
|
||||
"ifInOctets_delta": null,
|
||||
"ifInOctets_rate": null,
|
||||
"ifOutOctets": null,
|
||||
"ifOutOctets_prev": null,
|
||||
"ifOutOctets_delta": null,
|
||||
"ifOutOctets_rate": null,
|
||||
"poll_prev": null,
|
||||
"ifInNUcastPkts": null,
|
||||
"ifInNUcastPkts_prev": null,
|
||||
"ifInNUcastPkts_delta": null,
|
||||
"ifInNUcastPkts_rate": null,
|
||||
"ifOutNUcastPkts": null,
|
||||
"ifOutNUcastPkts_prev": null,
|
||||
"ifOutNUcastPkts_delta": null,
|
||||
"ifOutNUcastPkts_rate": null,
|
||||
"ifInDiscards": null,
|
||||
"ifInDiscards_prev": null,
|
||||
"ifInDiscards_delta": null,
|
||||
"ifInDiscards_rate": null,
|
||||
"ifOutDiscards": null,
|
||||
"ifOutDiscards_prev": null,
|
||||
"ifOutDiscards_delta": null,
|
||||
"ifOutDiscards_rate": null,
|
||||
"ifInUnknownProtos": null,
|
||||
"ifInUnknownProtos_prev": null,
|
||||
"ifInUnknownProtos_delta": null,
|
||||
"ifInUnknownProtos_rate": null,
|
||||
"ifInBroadcastPkts": null,
|
||||
"ifInBroadcastPkts_prev": null,
|
||||
"ifInBroadcastPkts_delta": null,
|
||||
"ifInBroadcastPkts_rate": null,
|
||||
"ifOutBroadcastPkts": null,
|
||||
"ifOutBroadcastPkts_prev": null,
|
||||
"ifOutBroadcastPkts_delta": null,
|
||||
"ifOutBroadcastPkts_rate": null,
|
||||
"ifInMulticastPkts": null,
|
||||
"ifInMulticastPkts_prev": null,
|
||||
"ifInMulticastPkts_delta": null,
|
||||
"ifInMulticastPkts_rate": null,
|
||||
"ifOutMulticastPkts": null,
|
||||
"ifOutMulticastPkts_prev": null,
|
||||
"ifOutMulticastPkts_delta": null,
|
||||
"ifOutMulticastPkts_rate": null
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": {
|
||||
"ports": [
|
||||
{
|
||||
"port_descr_type": null,
|
||||
"port_descr_descr": null,
|
||||
"port_descr_circuit": null,
|
||||
"port_descr_speed": null,
|
||||
"port_descr_notes": null,
|
||||
"ifDescr": "port1",
|
||||
"ifName": "port1",
|
||||
"portName": null,
|
||||
"ifIndex": 1,
|
||||
"ifSpeed": 1895825408,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": null,
|
||||
"ifPromiscuousMode": null,
|
||||
"ifHighSpeed": null,
|
||||
"ifHighSpeed_prev": null,
|
||||
"ifOperStatus": "up",
|
||||
"ifOperStatus_prev": "up",
|
||||
"ifAdminStatus": "up",
|
||||
"ifAdminStatus_prev": null,
|
||||
"ifDuplex": "0",
|
||||
"ifMtu": 1500,
|
||||
"ifType": "ethernetCsmacd",
|
||||
"ifAlias": "port1",
|
||||
"ifPhysAddress": "0050568d0000",
|
||||
"ifHardType": null,
|
||||
"ifLastChange": 0,
|
||||
"ifVlan": "",
|
||||
"ifTrunk": null,
|
||||
"counter_in": null,
|
||||
"counter_out": null,
|
||||
"ignore": 0,
|
||||
"disabled": 0,
|
||||
"detailed": 0,
|
||||
"deleted": 0,
|
||||
"pagpOperationMode": null,
|
||||
"pagpPortState": null,
|
||||
"pagpPartnerDeviceId": null,
|
||||
"pagpPartnerLearnMethod": null,
|
||||
"pagpPartnerIfIndex": null,
|
||||
"pagpPartnerGroupIfIndex": null,
|
||||
"pagpPartnerDeviceName": null,
|
||||
"pagpEthcOperationMode": null,
|
||||
"pagpDeviceId": null,
|
||||
"pagpGroupIfIndex": null,
|
||||
"ifInUcastPkts": 20556866,
|
||||
"ifInUcastPkts_prev": 0,
|
||||
"ifInUcastPkts_delta": null,
|
||||
"ifInUcastPkts_rate": null,
|
||||
"ifOutUcastPkts": 400988,
|
||||
"ifOutUcastPkts_prev": 0,
|
||||
"ifOutUcastPkts_delta": null,
|
||||
"ifOutUcastPkts_rate": null,
|
||||
"ifInErrors": 0,
|
||||
"ifInErrors_prev": 0,
|
||||
"ifInErrors_delta": null,
|
||||
"ifInErrors_rate": null,
|
||||
"ifOutErrors": 0,
|
||||
"ifOutErrors_prev": 0,
|
||||
"ifOutErrors_delta": null,
|
||||
"ifOutErrors_rate": null,
|
||||
"ifInOctets": 850061015,
|
||||
"ifInOctets_prev": 0,
|
||||
"ifInOctets_delta": null,
|
||||
"ifInOctets_rate": null,
|
||||
"ifOutOctets": 98156280,
|
||||
"ifOutOctets_prev": 0,
|
||||
"ifOutOctets_delta": null,
|
||||
"ifOutOctets_rate": null,
|
||||
"poll_prev": null,
|
||||
"ifInNUcastPkts": 7720,
|
||||
"ifInNUcastPkts_prev": 0,
|
||||
"ifInNUcastPkts_delta": null,
|
||||
"ifInNUcastPkts_rate": null,
|
||||
"ifOutNUcastPkts": 0,
|
||||
"ifOutNUcastPkts_prev": 0,
|
||||
"ifOutNUcastPkts_delta": null,
|
||||
"ifOutNUcastPkts_rate": null,
|
||||
"ifInDiscards": 3154692,
|
||||
"ifInDiscards_prev": 0,
|
||||
"ifInDiscards_delta": null,
|
||||
"ifInDiscards_rate": null,
|
||||
"ifOutDiscards": 0,
|
||||
"ifOutDiscards_prev": 0,
|
||||
"ifOutDiscards_delta": null,
|
||||
"ifOutDiscards_rate": null,
|
||||
"ifInUnknownProtos": 0,
|
||||
"ifInUnknownProtos_prev": 0,
|
||||
"ifInUnknownProtos_delta": null,
|
||||
"ifInUnknownProtos_rate": null,
|
||||
"ifInBroadcastPkts": 0,
|
||||
"ifInBroadcastPkts_prev": 0,
|
||||
"ifInBroadcastPkts_delta": null,
|
||||
"ifInBroadcastPkts_rate": null,
|
||||
"ifOutBroadcastPkts": 0,
|
||||
"ifOutBroadcastPkts_prev": 0,
|
||||
"ifOutBroadcastPkts_delta": null,
|
||||
"ifOutBroadcastPkts_rate": null,
|
||||
"ifInMulticastPkts": 0,
|
||||
"ifInMulticastPkts_prev": 0,
|
||||
"ifInMulticastPkts_delta": null,
|
||||
"ifInMulticastPkts_rate": null,
|
||||
"ifOutMulticastPkts": 0,
|
||||
"ifOutMulticastPkts_prev": 0,
|
||||
"ifOutMulticastPkts_delta": null,
|
||||
"ifOutMulticastPkts_rate": null
|
||||
},
|
||||
{
|
||||
"port_descr_type": null,
|
||||
"port_descr_descr": null,
|
||||
"port_descr_circuit": null,
|
||||
"port_descr_speed": null,
|
||||
"port_descr_notes": null,
|
||||
"ifDescr": "port2",
|
||||
"ifName": "port2",
|
||||
"portName": null,
|
||||
"ifIndex": 2,
|
||||
"ifSpeed": 0,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": null,
|
||||
"ifPromiscuousMode": null,
|
||||
"ifHighSpeed": null,
|
||||
"ifHighSpeed_prev": null,
|
||||
"ifOperStatus": "down",
|
||||
"ifOperStatus_prev": "down",
|
||||
"ifAdminStatus": "up",
|
||||
"ifAdminStatus_prev": null,
|
||||
"ifDuplex": "0",
|
||||
"ifMtu": 1500,
|
||||
"ifType": "ethernetCsmacd",
|
||||
"ifAlias": "port2",
|
||||
"ifPhysAddress": "0050568d0000",
|
||||
"ifHardType": null,
|
||||
"ifLastChange": 0,
|
||||
"ifVlan": "",
|
||||
"ifTrunk": null,
|
||||
"counter_in": null,
|
||||
"counter_out": null,
|
||||
"ignore": 0,
|
||||
"disabled": 0,
|
||||
"detailed": 0,
|
||||
"deleted": 0,
|
||||
"pagpOperationMode": null,
|
||||
"pagpPortState": null,
|
||||
"pagpPartnerDeviceId": null,
|
||||
"pagpPartnerLearnMethod": null,
|
||||
"pagpPartnerIfIndex": null,
|
||||
"pagpPartnerGroupIfIndex": null,
|
||||
"pagpPartnerDeviceName": null,
|
||||
"pagpEthcOperationMode": null,
|
||||
"pagpDeviceId": null,
|
||||
"pagpGroupIfIndex": null,
|
||||
"ifInUcastPkts": 0,
|
||||
"ifInUcastPkts_prev": 0,
|
||||
"ifInUcastPkts_delta": null,
|
||||
"ifInUcastPkts_rate": null,
|
||||
"ifOutUcastPkts": 0,
|
||||
"ifOutUcastPkts_prev": 0,
|
||||
"ifOutUcastPkts_delta": null,
|
||||
"ifOutUcastPkts_rate": null,
|
||||
"ifInErrors": 0,
|
||||
"ifInErrors_prev": 0,
|
||||
"ifInErrors_delta": null,
|
||||
"ifInErrors_rate": null,
|
||||
"ifOutErrors": 0,
|
||||
"ifOutErrors_prev": 0,
|
||||
"ifOutErrors_delta": null,
|
||||
"ifOutErrors_rate": null,
|
||||
"ifInOctets": 0,
|
||||
"ifInOctets_prev": 0,
|
||||
"ifInOctets_delta": null,
|
||||
"ifInOctets_rate": null,
|
||||
"ifOutOctets": 0,
|
||||
"ifOutOctets_prev": 0,
|
||||
"ifOutOctets_delta": null,
|
||||
"ifOutOctets_rate": null,
|
||||
"poll_prev": null,
|
||||
"ifInNUcastPkts": 0,
|
||||
"ifInNUcastPkts_prev": 0,
|
||||
"ifInNUcastPkts_delta": null,
|
||||
"ifInNUcastPkts_rate": null,
|
||||
"ifOutNUcastPkts": 0,
|
||||
"ifOutNUcastPkts_prev": 0,
|
||||
"ifOutNUcastPkts_delta": null,
|
||||
"ifOutNUcastPkts_rate": null,
|
||||
"ifInDiscards": 0,
|
||||
"ifInDiscards_prev": 0,
|
||||
"ifInDiscards_delta": null,
|
||||
"ifInDiscards_rate": null,
|
||||
"ifOutDiscards": 0,
|
||||
"ifOutDiscards_prev": 0,
|
||||
"ifOutDiscards_delta": null,
|
||||
"ifOutDiscards_rate": null,
|
||||
"ifInUnknownProtos": 0,
|
||||
"ifInUnknownProtos_prev": 0,
|
||||
"ifInUnknownProtos_delta": null,
|
||||
"ifInUnknownProtos_rate": null,
|
||||
"ifInBroadcastPkts": 0,
|
||||
"ifInBroadcastPkts_prev": 0,
|
||||
"ifInBroadcastPkts_delta": null,
|
||||
"ifInBroadcastPkts_rate": null,
|
||||
"ifOutBroadcastPkts": 0,
|
||||
"ifOutBroadcastPkts_prev": 0,
|
||||
"ifOutBroadcastPkts_delta": null,
|
||||
"ifOutBroadcastPkts_rate": null,
|
||||
"ifInMulticastPkts": 0,
|
||||
"ifInMulticastPkts_prev": 0,
|
||||
"ifInMulticastPkts_delta": null,
|
||||
"ifInMulticastPkts_rate": null,
|
||||
"ifOutMulticastPkts": 0,
|
||||
"ifOutMulticastPkts_prev": 0,
|
||||
"ifOutMulticastPkts_delta": null,
|
||||
"ifOutMulticastPkts_rate": null
|
||||
},
|
||||
{
|
||||
"port_descr_type": null,
|
||||
"port_descr_descr": null,
|
||||
"port_descr_circuit": null,
|
||||
"port_descr_speed": null,
|
||||
"port_descr_notes": null,
|
||||
"ifDescr": "port3",
|
||||
"ifName": "port3",
|
||||
"portName": null,
|
||||
"ifIndex": 3,
|
||||
"ifSpeed": 0,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": null,
|
||||
"ifPromiscuousMode": null,
|
||||
"ifHighSpeed": null,
|
||||
"ifHighSpeed_prev": null,
|
||||
"ifOperStatus": "down",
|
||||
"ifOperStatus_prev": "down",
|
||||
"ifAdminStatus": "up",
|
||||
"ifAdminStatus_prev": null,
|
||||
"ifDuplex": "0",
|
||||
"ifMtu": 1500,
|
||||
"ifType": "ethernetCsmacd",
|
||||
"ifAlias": "port3",
|
||||
"ifPhysAddress": "0050568d0000",
|
||||
"ifHardType": null,
|
||||
"ifLastChange": 0,
|
||||
"ifVlan": "",
|
||||
"ifTrunk": null,
|
||||
"counter_in": null,
|
||||
"counter_out": null,
|
||||
"ignore": 0,
|
||||
"disabled": 0,
|
||||
"detailed": 0,
|
||||
"deleted": 0,
|
||||
"pagpOperationMode": null,
|
||||
"pagpPortState": null,
|
||||
"pagpPartnerDeviceId": null,
|
||||
"pagpPartnerLearnMethod": null,
|
||||
"pagpPartnerIfIndex": null,
|
||||
"pagpPartnerGroupIfIndex": null,
|
||||
"pagpPartnerDeviceName": null,
|
||||
"pagpEthcOperationMode": null,
|
||||
"pagpDeviceId": null,
|
||||
"pagpGroupIfIndex": null,
|
||||
"ifInUcastPkts": 0,
|
||||
"ifInUcastPkts_prev": 0,
|
||||
"ifInUcastPkts_delta": null,
|
||||
"ifInUcastPkts_rate": null,
|
||||
"ifOutUcastPkts": 0,
|
||||
"ifOutUcastPkts_prev": 0,
|
||||
"ifOutUcastPkts_delta": null,
|
||||
"ifOutUcastPkts_rate": null,
|
||||
"ifInErrors": 0,
|
||||
"ifInErrors_prev": 0,
|
||||
"ifInErrors_delta": null,
|
||||
"ifInErrors_rate": null,
|
||||
"ifOutErrors": 0,
|
||||
"ifOutErrors_prev": 0,
|
||||
"ifOutErrors_delta": null,
|
||||
"ifOutErrors_rate": null,
|
||||
"ifInOctets": 0,
|
||||
"ifInOctets_prev": 0,
|
||||
"ifInOctets_delta": null,
|
||||
"ifInOctets_rate": null,
|
||||
"ifOutOctets": 0,
|
||||
"ifOutOctets_prev": 0,
|
||||
"ifOutOctets_delta": null,
|
||||
"ifOutOctets_rate": null,
|
||||
"poll_prev": null,
|
||||
"ifInNUcastPkts": 0,
|
||||
"ifInNUcastPkts_prev": 0,
|
||||
"ifInNUcastPkts_delta": null,
|
||||
"ifInNUcastPkts_rate": null,
|
||||
"ifOutNUcastPkts": 0,
|
||||
"ifOutNUcastPkts_prev": 0,
|
||||
"ifOutNUcastPkts_delta": null,
|
||||
"ifOutNUcastPkts_rate": null,
|
||||
"ifInDiscards": 0,
|
||||
"ifInDiscards_prev": 0,
|
||||
"ifInDiscards_delta": null,
|
||||
"ifInDiscards_rate": null,
|
||||
"ifOutDiscards": 0,
|
||||
"ifOutDiscards_prev": 0,
|
||||
"ifOutDiscards_delta": null,
|
||||
"ifOutDiscards_rate": null,
|
||||
"ifInUnknownProtos": 0,
|
||||
"ifInUnknownProtos_prev": 0,
|
||||
"ifInUnknownProtos_delta": null,
|
||||
"ifInUnknownProtos_rate": null,
|
||||
"ifInBroadcastPkts": 0,
|
||||
"ifInBroadcastPkts_prev": 0,
|
||||
"ifInBroadcastPkts_delta": null,
|
||||
"ifInBroadcastPkts_rate": null,
|
||||
"ifOutBroadcastPkts": 0,
|
||||
"ifOutBroadcastPkts_prev": 0,
|
||||
"ifOutBroadcastPkts_delta": null,
|
||||
"ifOutBroadcastPkts_rate": null,
|
||||
"ifInMulticastPkts": 0,
|
||||
"ifInMulticastPkts_prev": 0,
|
||||
"ifInMulticastPkts_delta": null,
|
||||
"ifInMulticastPkts_rate": null,
|
||||
"ifOutMulticastPkts": 0,
|
||||
"ifOutMulticastPkts_prev": 0,
|
||||
"ifOutMulticastPkts_delta": null,
|
||||
"ifOutMulticastPkts_rate": null
|
||||
},
|
||||
{
|
||||
"port_descr_type": null,
|
||||
"port_descr_descr": null,
|
||||
"port_descr_circuit": null,
|
||||
"port_descr_speed": null,
|
||||
"port_descr_notes": null,
|
||||
"ifDescr": "port4",
|
||||
"ifName": "port4",
|
||||
"portName": null,
|
||||
"ifIndex": 4,
|
||||
"ifSpeed": 0,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": null,
|
||||
"ifPromiscuousMode": null,
|
||||
"ifHighSpeed": null,
|
||||
"ifHighSpeed_prev": null,
|
||||
"ifOperStatus": "down",
|
||||
"ifOperStatus_prev": "down",
|
||||
"ifAdminStatus": "up",
|
||||
"ifAdminStatus_prev": null,
|
||||
"ifDuplex": "0",
|
||||
"ifMtu": 1500,
|
||||
"ifType": "ethernetCsmacd",
|
||||
"ifAlias": "port4",
|
||||
"ifPhysAddress": "0050568d0000",
|
||||
"ifHardType": null,
|
||||
"ifLastChange": 0,
|
||||
"ifVlan": "",
|
||||
"ifTrunk": null,
|
||||
"counter_in": null,
|
||||
"counter_out": null,
|
||||
"ignore": 0,
|
||||
"disabled": 0,
|
||||
"detailed": 0,
|
||||
"deleted": 0,
|
||||
"pagpOperationMode": null,
|
||||
"pagpPortState": null,
|
||||
"pagpPartnerDeviceId": null,
|
||||
"pagpPartnerLearnMethod": null,
|
||||
"pagpPartnerIfIndex": null,
|
||||
"pagpPartnerGroupIfIndex": null,
|
||||
"pagpPartnerDeviceName": null,
|
||||
"pagpEthcOperationMode": null,
|
||||
"pagpDeviceId": null,
|
||||
"pagpGroupIfIndex": null,
|
||||
"ifInUcastPkts": 0,
|
||||
"ifInUcastPkts_prev": 0,
|
||||
"ifInUcastPkts_delta": null,
|
||||
"ifInUcastPkts_rate": null,
|
||||
"ifOutUcastPkts": 0,
|
||||
"ifOutUcastPkts_prev": 0,
|
||||
"ifOutUcastPkts_delta": null,
|
||||
"ifOutUcastPkts_rate": null,
|
||||
"ifInErrors": 0,
|
||||
"ifInErrors_prev": 0,
|
||||
"ifInErrors_delta": null,
|
||||
"ifInErrors_rate": null,
|
||||
"ifOutErrors": 0,
|
||||
"ifOutErrors_prev": 0,
|
||||
"ifOutErrors_delta": null,
|
||||
"ifOutErrors_rate": null,
|
||||
"ifInOctets": 0,
|
||||
"ifInOctets_prev": 0,
|
||||
"ifInOctets_delta": null,
|
||||
"ifInOctets_rate": null,
|
||||
"ifOutOctets": 0,
|
||||
"ifOutOctets_prev": 0,
|
||||
"ifOutOctets_delta": null,
|
||||
"ifOutOctets_rate": null,
|
||||
"poll_prev": null,
|
||||
"ifInNUcastPkts": 0,
|
||||
"ifInNUcastPkts_prev": 0,
|
||||
"ifInNUcastPkts_delta": null,
|
||||
"ifInNUcastPkts_rate": null,
|
||||
"ifOutNUcastPkts": 0,
|
||||
"ifOutNUcastPkts_prev": 0,
|
||||
"ifOutNUcastPkts_delta": null,
|
||||
"ifOutNUcastPkts_rate": null,
|
||||
"ifInDiscards": 0,
|
||||
"ifInDiscards_prev": 0,
|
||||
"ifInDiscards_delta": null,
|
||||
"ifInDiscards_rate": null,
|
||||
"ifOutDiscards": 0,
|
||||
"ifOutDiscards_prev": 0,
|
||||
"ifOutDiscards_delta": null,
|
||||
"ifOutDiscards_rate": null,
|
||||
"ifInUnknownProtos": 0,
|
||||
"ifInUnknownProtos_prev": 0,
|
||||
"ifInUnknownProtos_delta": null,
|
||||
"ifInUnknownProtos_rate": null,
|
||||
"ifInBroadcastPkts": 0,
|
||||
"ifInBroadcastPkts_prev": 0,
|
||||
"ifInBroadcastPkts_delta": null,
|
||||
"ifInBroadcastPkts_rate": null,
|
||||
"ifOutBroadcastPkts": 0,
|
||||
"ifOutBroadcastPkts_prev": 0,
|
||||
"ifOutBroadcastPkts_delta": null,
|
||||
"ifOutBroadcastPkts_rate": null,
|
||||
"ifInMulticastPkts": 0,
|
||||
"ifInMulticastPkts_prev": 0,
|
||||
"ifInMulticastPkts_delta": null,
|
||||
"ifInMulticastPkts_rate": null,
|
||||
"ifOutMulticastPkts": 0,
|
||||
"ifOutMulticastPkts_prev": 0,
|
||||
"ifOutMulticastPkts_delta": null,
|
||||
"ifOutMulticastPkts_rate": null
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"processors": {
|
||||
"discovery": {
|
||||
"processors": [
|
||||
{
|
||||
"entPhysicalIndex": 0,
|
||||
"hrDeviceIndex": 0,
|
||||
"processor_oid": ".1.3.6.1.4.1.12356.105.1.6.0",
|
||||
"processor_index": "0",
|
||||
"processor_type": "fortimail",
|
||||
"processor_usage": 0,
|
||||
"processor_descr": "Processor",
|
||||
"processor_precision": 1,
|
||||
"processor_perc_warn": 75
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
}
|
||||
}
|
163
tests/snmpsim/fortimail.snmprec
Normal file
163
tests/snmpsim/fortimail.snmprec
Normal file
@@ -0,0 +1,163 @@
|
||||
1.3.6.1.2.1.1.1.0|4|
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.12356.105
|
||||
1.3.6.1.2.1.1.3.0|67|364776420
|
||||
1.3.6.1.2.1.1.4.0|4|<private>
|
||||
1.3.6.1.2.1.1.5.0|4|<private>
|
||||
1.3.6.1.2.1.1.6.0|4|<private>
|
||||
1.3.6.1.2.1.2.2.1.1.1|2|1
|
||||
1.3.6.1.2.1.2.2.1.1.2|2|2
|
||||
1.3.6.1.2.1.2.2.1.1.3|2|3
|
||||
1.3.6.1.2.1.2.2.1.1.4|2|4
|
||||
1.3.6.1.2.1.2.2.1.2.1|4|port1
|
||||
1.3.6.1.2.1.2.2.1.2.2|4|port2
|
||||
1.3.6.1.2.1.2.2.1.2.3|4|port3
|
||||
1.3.6.1.2.1.2.2.1.2.4|4|port4
|
||||
1.3.6.1.2.1.2.2.1.3.1|2|6
|
||||
1.3.6.1.2.1.2.2.1.3.2|2|6
|
||||
1.3.6.1.2.1.2.2.1.3.3|2|6
|
||||
1.3.6.1.2.1.2.2.1.3.4|2|6
|
||||
1.3.6.1.2.1.2.2.1.4.1|2|1500
|
||||
1.3.6.1.2.1.2.2.1.4.2|2|1500
|
||||
1.3.6.1.2.1.2.2.1.4.3|2|1500
|
||||
1.3.6.1.2.1.2.2.1.4.4|2|1500
|
||||
1.3.6.1.2.1.2.2.1.5.1|66|1895825408
|
||||
1.3.6.1.2.1.2.2.1.5.2|66|0
|
||||
1.3.6.1.2.1.2.2.1.5.3|66|0
|
||||
1.3.6.1.2.1.2.2.1.5.4|66|0
|
||||
1.3.6.1.2.1.2.2.1.6.1|4x|0050568D0000
|
||||
1.3.6.1.2.1.2.2.1.6.2|4x|0050568D0000
|
||||
1.3.6.1.2.1.2.2.1.6.3|4x|0050568D0000
|
||||
1.3.6.1.2.1.2.2.1.6.4|4x|0050568D0000
|
||||
1.3.6.1.2.1.2.2.1.7.1|2|1
|
||||
1.3.6.1.2.1.2.2.1.7.2|2|1
|
||||
1.3.6.1.2.1.2.2.1.7.3|2|1
|
||||
1.3.6.1.2.1.2.2.1.7.4|2|1
|
||||
1.3.6.1.2.1.2.2.1.8.1|2|1
|
||||
1.3.6.1.2.1.2.2.1.8.2|2|2
|
||||
1.3.6.1.2.1.2.2.1.8.3|2|2
|
||||
1.3.6.1.2.1.2.2.1.8.4|2|2
|
||||
1.3.6.1.2.1.2.2.1.9.1|67|0
|
||||
1.3.6.1.2.1.2.2.1.9.2|67|0
|
||||
1.3.6.1.2.1.2.2.1.9.3|67|0
|
||||
1.3.6.1.2.1.2.2.1.9.4|67|0
|
||||
1.3.6.1.2.1.2.2.1.10.1|65|850061015
|
||||
1.3.6.1.2.1.2.2.1.10.2|65|0
|
||||
1.3.6.1.2.1.2.2.1.10.3|65|0
|
||||
1.3.6.1.2.1.2.2.1.10.4|65|0
|
||||
1.3.6.1.2.1.2.2.1.11.1|65|20556866
|
||||
1.3.6.1.2.1.2.2.1.11.2|65|0
|
||||
1.3.6.1.2.1.2.2.1.11.3|65|0
|
||||
1.3.6.1.2.1.2.2.1.11.4|65|0
|
||||
1.3.6.1.2.1.2.2.1.12.1|65|7720
|
||||
1.3.6.1.2.1.2.2.1.12.2|65|0
|
||||
1.3.6.1.2.1.2.2.1.12.3|65|0
|
||||
1.3.6.1.2.1.2.2.1.12.4|65|0
|
||||
1.3.6.1.2.1.2.2.1.13.1|65|3154692
|
||||
1.3.6.1.2.1.2.2.1.13.2|65|0
|
||||
1.3.6.1.2.1.2.2.1.13.3|65|0
|
||||
1.3.6.1.2.1.2.2.1.13.4|65|0
|
||||
1.3.6.1.2.1.2.2.1.14.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.14.2|65|0
|
||||
1.3.6.1.2.1.2.2.1.14.3|65|0
|
||||
1.3.6.1.2.1.2.2.1.14.4|65|0
|
||||
1.3.6.1.2.1.2.2.1.15.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.15.2|65|0
|
||||
1.3.6.1.2.1.2.2.1.15.3|65|0
|
||||
1.3.6.1.2.1.2.2.1.15.4|65|0
|
||||
1.3.6.1.2.1.2.2.1.16.1|65|98156280
|
||||
1.3.6.1.2.1.2.2.1.16.2|65|0
|
||||
1.3.6.1.2.1.2.2.1.16.3|65|0
|
||||
1.3.6.1.2.1.2.2.1.16.4|65|0
|
||||
1.3.6.1.2.1.2.2.1.17.1|65|400988
|
||||
1.3.6.1.2.1.2.2.1.17.2|65|0
|
||||
1.3.6.1.2.1.2.2.1.17.3|65|0
|
||||
1.3.6.1.2.1.2.2.1.17.4|65|0
|
||||
1.3.6.1.2.1.2.2.1.18.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.18.2|65|0
|
||||
1.3.6.1.2.1.2.2.1.18.3|65|0
|
||||
1.3.6.1.2.1.2.2.1.18.4|65|0
|
||||
1.3.6.1.2.1.2.2.1.19.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.19.2|65|0
|
||||
1.3.6.1.2.1.2.2.1.19.3|65|0
|
||||
1.3.6.1.2.1.2.2.1.19.4|65|0
|
||||
1.3.6.1.2.1.2.2.1.20.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.20.2|65|0
|
||||
1.3.6.1.2.1.2.2.1.20.3|65|0
|
||||
1.3.6.1.2.1.2.2.1.20.4|65|0
|
||||
1.3.6.1.2.1.2.2.1.21.1|66|0
|
||||
1.3.6.1.2.1.2.2.1.21.2|66|0
|
||||
1.3.6.1.2.1.2.2.1.21.3|66|0
|
||||
1.3.6.1.2.1.2.2.1.21.4|66|0
|
||||
1.3.6.1.2.1.2.2.1.22.1|6|0.0.0.0.0.0.0.0.0
|
||||
1.3.6.1.2.1.2.2.1.22.2|6|0.0.0.0.0.0.0.0.0
|
||||
1.3.6.1.2.1.2.2.1.22.3|6|0.0.0.0.0.0.0.0.0
|
||||
1.3.6.1.2.1.2.2.1.22.4|6|0.0.0.0.0.0.0.0.0
|
||||
1.3.6.1.2.1.2.2.1.23.1|2|0
|
||||
1.3.6.1.2.1.2.2.1.23.2|2|0
|
||||
1.3.6.1.2.1.2.2.1.23.3|2|0
|
||||
1.3.6.1.2.1.2.2.1.23.4|2|0
|
||||
1.3.6.1.2.1.4.3.0|65|795313
|
||||
1.3.6.1.2.1.4.4.0|65|0
|
||||
1.3.6.1.2.1.4.5.0|65|737
|
||||
1.3.6.1.2.1.4.6.0|65|0
|
||||
1.3.6.1.2.1.4.7.0|65|0
|
||||
1.3.6.1.2.1.4.8.0|65|0
|
||||
1.3.6.1.2.1.4.9.0|65|794494
|
||||
1.3.6.1.2.1.4.10.0|65|769830
|
||||
1.3.6.1.2.1.4.11.0|65|0
|
||||
1.3.6.1.2.1.4.12.0|65|0
|
||||
1.3.6.1.2.1.4.14.0|65|0
|
||||
1.3.6.1.2.1.4.15.0|65|0
|
||||
1.3.6.1.2.1.4.16.0|65|0
|
||||
1.3.6.1.2.1.4.17.0|65|0
|
||||
1.3.6.1.2.1.4.18.0|65|0
|
||||
1.3.6.1.2.1.4.19.0|65|0
|
||||
1.3.6.1.2.1.4.20.1.2.192.168.1.99|2|1
|
||||
1.3.6.1.2.1.4.20.1.2.192.168.99.1|2|1
|
||||
1.3.6.1.2.1.4.20.1.3.192.168.1.99|64|255.255.255.0
|
||||
1.3.6.1.2.1.4.20.1.3.192.168.99.1|64|255.255.255.0
|
||||
1.3.6.1.2.1.5.1.0|65|7811
|
||||
1.3.6.1.2.1.5.2.0|65|7706
|
||||
1.3.6.1.2.1.5.3.0|65|0
|
||||
1.3.6.1.2.1.5.4.0|65|35
|
||||
1.3.6.1.2.1.5.5.0|65|0
|
||||
1.3.6.1.2.1.5.6.0|65|0
|
||||
1.3.6.1.2.1.5.7.0|65|0
|
||||
1.3.6.1.2.1.5.8.0|65|0
|
||||
1.3.6.1.2.1.5.9.0|65|52
|
||||
1.3.6.1.2.1.5.10.0|65|0
|
||||
1.3.6.1.2.1.5.11.0|65|12
|
||||
1.3.6.1.2.1.5.12.0|65|0
|
||||
1.3.6.1.2.1.5.13.0|65|6
|
||||
1.3.6.1.2.1.5.14.0|65|0
|
||||
1.3.6.1.2.1.5.15.0|65|181
|
||||
1.3.6.1.2.1.5.16.0|65|0
|
||||
1.3.6.1.2.1.5.17.0|65|117
|
||||
1.3.6.1.2.1.5.18.0|65|0
|
||||
1.3.6.1.2.1.5.19.0|65|0
|
||||
1.3.6.1.2.1.5.20.0|65|0
|
||||
1.3.6.1.2.1.5.21.0|65|0
|
||||
1.3.6.1.2.1.5.22.0|65|0
|
||||
1.3.6.1.2.1.5.23.0|65|52
|
||||
1.3.6.1.2.1.5.24.0|65|0
|
||||
1.3.6.1.2.1.5.25.0|65|12
|
||||
1.3.6.1.2.1.5.26.0|65|0
|
||||
1.3.6.1.2.1.6.5.0|65|5261
|
||||
1.3.6.1.2.1.6.6.0|65|12741
|
||||
1.3.6.1.2.1.6.7.0|65|143
|
||||
1.3.6.1.2.1.6.8.0|65|919
|
||||
1.3.6.1.2.1.6.9.0|66|0
|
||||
1.3.6.1.2.1.6.10.0|65|337361
|
||||
1.3.6.1.2.1.6.11.0|65|324730
|
||||
1.3.6.1.2.1.6.12.0|65|353
|
||||
1.3.6.1.2.1.6.14.0|65|4
|
||||
1.3.6.1.2.1.6.15.0|65|8927
|
||||
1.3.6.1.2.1.7.1.0|65|348993
|
||||
1.3.6.1.2.1.7.2.0|65|2141
|
||||
1.3.6.1.2.1.7.3.0|65|0
|
||||
1.3.6.1.2.1.7.4.0|65|470803
|
||||
1.3.6.1.2.1.10.7.2.1.19.1|2|0
|
||||
1.3.6.1.2.1.10.7.2.1.19.2|2|0
|
||||
1.3.6.1.2.1.10.7.2.1.19.3|2|0
|
||||
1.3.6.1.2.1.10.7.2.1.19.4|2|0
|
||||
1.3.6.1.4.1.12356.105.1.6.0|66|0
|
Reference in New Issue
Block a user