Add support for PrimeKey Software Appliance (#15059)

* Add PK-SOFTWARE-APPLIANCE-V2 MIB

* Add support for PrimeKey Software Appliance

* Move file to correct path

* Make the OS detection more specific

* Thanks vscode

* Sync filename with osname

* Not supported

* Track SQL database size as volume

* Two fixes
This commit is contained in:
AdamB 2023-07-08 05:35:53 +01:00 committed by GitHub
parent 3ad19607d0
commit b27dfa5891
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 1661 additions and 0 deletions

View File

@ -0,0 +1,274 @@
mib: PK-SOFTWARE-APPLIANCE-V2
modules:
os:
version: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-systemVersion.0
sensors:
percent:
options:
skip_value_lt: 0
data:
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-internal-databaseUsage
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-internal-databaseUsage
num_oid: '.1.3.6.1.4.1.22408.1.4.1.3.1.4.{{ $index }}'
descr: 'Internal Database Usage %'
group: 'Database'
index: pk-SAV2-internal-databaseUsage
warn_limit: 80
high_limit: 95
state:
options:
skip_value_lt: 0
data:
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-authentication-service-status
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-authentication-service-status
num_oid: '.1.3.6.1.4.1.22408.1.4.1.1.1.{{ $index }}'
descr: 'Authentication'
group: 'Service Status'
index: pk-SAV2-authentication-service-status
state_name: pk-SAV2-authentication-service-status
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-crs-status
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-crs-status
num_oid: '.1.3.6.1.4.1.22408.1.4.1.1.2.{{ $index }}'
descr: 'Container Runtime'
group: 'Service Status'
index: pk-SAV2-crs-status
state_name: pk-SAV2-crs-status
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-documentation-status
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-documentation-status
num_oid: '.1.3.6.1.4.1.22408.1.4.1.1.3.{{ $index }}'
descr: 'Documentation'
group: 'Service Status'
index: pk-SAV2-documentation-status
state_name: pk-SAV2-documentation-status
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-monitoring-status
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-monitoring-status
num_oid: '.1.3.6.1.4.1.22408.1.4.1.1.4.{{ $index }}'
descr: 'Monitoring'
group: 'Service Status'
index: pk-SAV2-monitoring-status
state_name: pk-SAV2-monitoring-status
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-persistence-status
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-persistence-status
num_oid: '.1.3.6.1.4.1.22408.1.4.1.1.5.{{ $index }}'
descr: 'Persistent Data Store'
group: 'Service Status'
index: pk-SAV2-persistence-status
state_name: pk-SAV2-persistence-status
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-snmp-status
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-snmp-status
num_oid: '.1.3.6.1.4.1.22408.1.4.1.1.6.{{ $index }}'
descr: 'SNMP'
group: 'Service Status'
index: pk-SAV2-snmp-status
state_name: pk-SAV2-snmp-status
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-spc-status
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-spc-status
num_oid: '.1.3.6.1.4.1.22408.1.4.1.1.7.{{ $index }}'
descr: 'Support Package Creator'
group: 'Service Status'
index: pk-SAV2-spc-status
state_name: pk-SAV2-spc-status
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-vs-status
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-vs-status
num_oid: '.1.3.6.1.4.1.22408.1.4.1.1.8.{{ $index }}'
descr: 'Valuestore'
group: 'Service Status'
index: pk-SAV2-vs-status
state_name: pk-SAV2-vs-status
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-vsapi-status
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-vsapi-status
num_oid: '.1.3.6.1.4.1.22408.1.4.1.1.9.{{ $index }}'
descr: 'Valuestore API'
group: 'Service Status'
index: pk-SAV2-vsapi-status
state_name: pk-SAV2-vsapi-status
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-webconf-status
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-webconf-status
num_oid: '.1.3.6.1.4.1.22408.1.4.1.1.10.{{ $index }}'
descr: 'Webconf'
group: 'Service Status'
index: pk-SAV2-webconf-status
state_name: pk-SAV2-webconf-status
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-vault-status
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-vault-status
num_oid: '.1.3.6.1.4.1.22408.1.4.1.1.11.{{ $index }}'
descr: 'Vault'
group: 'Service Status'
index: pk-SAV2-vault-status
state_name: pk-SAV2-vault-status
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-networkLink-status
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-networkLink-status
num_oid: '.1.3.6.1.4.1.22408.1.4.1.2.1.{{ $index }}'
descr: 'Network Link'
group: 'Network Status'
index: pk-SAV2-networkLink-status
state_name: pk-SAV2-networkLink-status
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-internal-database-status
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-internal-database-status
num_oid: '.1.3.6.1.4.1.22408.1.4.1.3.1.1.{{ $index }}'
descr: 'Internal Database'
group: 'Service Status'
index: pk-SAV2-internal-database-status
state_name: pk-SAV2-internal-database-status
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-ejbca-status
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-ejbca-status
num_oid: '.1.3.6.1.4.1.22408.1.4.1.5.1.1.{{ $index }}'
descr: 'EJBCA'
group: 'Application Status'
index: pk-SAV2-ejbca-status
state_name: pk-SAV2-ejbca-status
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-ejbcaHealthCheck
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-ejbcaHealthCheck
num_oid: '.1.3.6.1.4.1.22408.1.4.1.5.1.3.{{ $index }}'
descr: 'EJBCA Health Check'
group: 'Application Status'
index: pk-SAV2-ejbcaHealthCheck
state_name: pk-SAV2-ejbcaHealthChecks
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-signserver-status
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-signserver-status
num_oid: '.1.3.6.1.4.1.22408.1.4.1.5.2.1.{{ $index }}'
descr: 'SignServer'
group: 'Application Status'
index: pk-SAV2-signserver-status
state_name: pk-SAV2-signserver-status
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-signserverHealthCheck
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-signserverHealthCheck
num_oid: '.1.3.6.1.4.1.22408.1.4.1.5.2.3.{{ $index }}'
descr: 'SignServer Health Check'
group: 'Application Status'
index: pk-SAV2-signserverHealthCheck
state_name: pk-SAV2-signserverHealthCheck
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-hsm-driver-luna7-status
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-hsm-driver-luna7-status
num_oid: '.1.3.6.1.4.1.22408.1.4.1.6.2.{{ $index }}'
descr: 'Luna 7 HSM'
group: 'HSM Status'
index: pk-SAV2-hsm-driver-luna7-status
state_name: pk-SAV2-hsm-driver-luna7-status
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-hsm-driver-softhsm-status
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-hsm-driver-softhsm-status
num_oid: '.1.3.6.1.4.1.22408.1.4.1.6.1.{{ $index }}'
descr: 'SoftHSM'
group: 'HSM Status'
index: pk-SAV2-hsm-driver-softhsm-status
state_name: pk-SAV2-hsm-driver-softhsm-status
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-hsm-driver-utimaco-status
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-hsm-driver-utimaco-status
num_oid: '.1.3.6.1.4.1.22408.1.4.1.6.3.1.{{ $index }}'
descr: 'Utimaco'
group: 'HSM Status'
index: pk-SAV2-hsm-driver-utimaco-status
state_name: pk-SAV2-hsm-driver-utimaco-status
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }
-
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-hsm-driver-ncipher-status
value: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-hsm-driver-ncipher-status
num_oid: '.1.3.6.1.4.1.22408.1.4.1.6.4.{{ $index }}'
descr: 'nCipher'
group: 'HSM Status'
index: pk-SAV2-hsm-driver-ncipher-status
state_name: pk-SAV2-hsm-driver-ncipher-status
states:
- { value: 0, generic: 0, graph: 0, descr: 'OK' }
- { value: 1, generic: 2, graph: 1, descr: 'Fault' }
- { value: -1, generic: 3, graph: 1, descr: 'Internal Error' }

View File

@ -0,0 +1,18 @@
os: primekey-sw
text: "Software Appliance"
type: appliance
icon: primekey
group: primekey
mib_dir: primekey
snmp_bulk: false
discovery_modules:
bgp-peers: false
cisco-vrf-lite: false
stp: false
discovery:
- sysObjectID:
- .1.3.6.1.4.1.8072.3.2.10
snmpget:
oid: PK-SOFTWARE-APPLIANCE-V2::pk-SAV2-systemVersion.0
op: "!="
value: false

View File

@ -0,0 +1,18 @@
<?php
// This isn't a volume, so we have to fake it a bit
if ($device['os'] === 'primekey-sw') {
$oids = snmp_get_multi_oid($device, ['pk-SAV2-internal-databaseAvailableStorage.0', 'pk-SAV2-internal-databaseTotalStorage.0'], '-OUQn', 'PK-SOFTWARE-APPLIANCE-V2');
$fstype = 'sql';
$descr = 'Internal Database';
$units = 1024;
$index = 0;
$free = $oids['.1.3.6.1.4.1.22408.1.4.1.3.1.2.0'];
$total = $oids['.1.3.6.1.4.1.22408.1.4.1.3.1.3.0'];
$used = $total - $free;
if (is_numeric($free) && is_numeric($total)) {
discover_storage($valid_storage, $device, $index, $fstype, 'primekey-sw-sql', $descr, $total, $units, $used);
}
unset($oids);
}

View File

@ -0,0 +1,7 @@
<?php
$sql_oids = snmp_get_multi_oid($device, ['pk-SAV2-internal-databaseAvailableStorage.0', 'pk-SAV2-internal-databaseTotalStorage.0'], '-OUQn', 'PK-SOFTWARE-APPLIANCE-V2');
$storage['free'] = $sql_oids['.1.3.6.1.4.1.22408.1.4.1.3.1.2.0'];
$storage['size'] = $sql_oids['.1.3.6.1.4.1.22408.1.4.1.3.1.3.0'];
$storage['used'] = $storage['size'] - $storage['free'];
$storage['units'] = 1024;
unset($sql_oids);

View File

@ -0,0 +1,428 @@
PK-SOFTWARE-APPLIANCE-V2 DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, enterprises, Integer32 FROM SNMPv2-SMI ;
primekey MODULE-IDENTITY
LAST-UPDATED "202205160000Z"
ORGANIZATION "PrimeKey Solutions AB"
CONTACT-INFO
"postal: PrimeKey Solutions AB
Solna Access, Plan A8,
Sundbybergsvagen 1
SE-171 73 Solna
Sweden
email: support@primekey.com"
DESCRIPTION
"PrimeKey EJBCA Software Appliance V2 MIB"
REVISION "202205160000Z"
DESCRIPTION "Version 2"
REVISION "202107220000Z"
DESCRIPTION "Initial Version"
::= { enterprises 22408 }
--
-- List of OIDs
--
primeKeyProducts OBJECT IDENTIFIER ::= { primekey 1 }
primeKeySoftwareApplianceSubTree OBJECT IDENTIFIER ::= { primeKeyProducts 4 }
pk-Software-Appliance-V2 OBJECT IDENTIFIER ::= { primeKeySoftwareApplianceSubTree 1 }
pk-SAV2-component-readyness OBJECT IDENTIFIER ::= { pk-Software-Appliance-V2 1 } -- This subtree contains the status/readyness of the Software Appliance's components.
pk-SAV2-network-subtree OBJECT IDENTIFIER ::= { pk-Software-Appliance-V2 2 } -- This subtree contains the networking related information of the Software Appliance.
pk-SAV2-database-subtree OBJECT IDENTIFIER ::= { pk-Software-Appliance-V2 3 } -- This subtree contains all database related information of the Software Appliance.
pk-SAV2-internal-database OBJECT IDENTIFIER ::= { pk-SAV2-database-subtree 1 } -- This subtree contains all information about the internal database of the Software Appliance.
pk-SAV2-version-subtree OBJECT IDENTIFIER ::= { pk-Software-Appliance-V2 4 } -- This subtree contains all information about important version related information of the Software Appliance.
pk-SAV2-application-subtree OBJECT IDENTIFIER ::= { pk-Software-Appliance-V2 5 } -- This subtree contains all information about customer facing applications on the Software Appliance.
pk-SAV2-ejbca OBJECT IDENTIFIER ::= { pk-SAV2-application-subtree 1 } -- This subtree contains all the information from EJBCA.
pk-SAV2-signserver OBJECT IDENTIFIER ::= { pk-SAV2-application-subtree 2 } -- This subtree contains all the information from SignSever.
pk-SAV2-hsm-subtree OBJECT IDENTIFIER ::= { pk-Software-Appliance-V2 6 } -- This subtree contains all the information about the HSM components on the Software Appliance.
pk-SAV2-hsm-utimaco-subtree OBJECT IDENTIFIER ::= { pk-SAV2-hsm-subtree 3 } -- This subtree contains all information regarding the Utimaco CryptoServer LAN
--
-- Scalars
--
pk-SAV2-authentication-service-status OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Authentication service status. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-component-readyness 1 } -- .1.3.6.1.4.1.22408.1.4.1.1.1.0
pk-SAV2-crs-status OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Container runtime system status. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-component-readyness 2 } -- .1.3.6.1.4.1.22408.1.4.1.1.2.0
pk-SAV2-documentation-status OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Documentation service status. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-component-readyness 3 } -- .1.3.6.1.4.1.22408.1.4.1.1.3.0
pk-SAV2-monitoring-status OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Monitoring service status. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-component-readyness 4 } -- .1.3.6.1.4.1.22408.1.4.1.1.4.0
pk-SAV2-persistence-status OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Persistent data storage service status. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-component-readyness 5 } -- .1.3.6.1.4.1.22408.1.4.1.1.5.0
pk-SAV2-snmp-status OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"SNMP service status. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-component-readyness 6 } -- .1.3.6.1.4.1.22408.1.4.1.1.6.0
pk-SAV2-spc-status OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Support package creator service status. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-component-readyness 7 } -- .1.3.6.1.4.1.22408.1.4.1.1.7.0
pk-SAV2-vs-status OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Valuestore service status. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-component-readyness 8 } -- .1.3.6.1.4.1.22408.1.4.1.1.8.0
pk-SAV2-vsapi-status OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Valuestore API service status. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-component-readyness 9 } -- .1.3.6.1.4.1.22408.1.4.1.1.9.0
pk-SAV2-webconf-status OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"WebConf service status. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-component-readyness 10 } -- .1.3.6.1.4.1.22408.1.4.1.1.10.0
pk-SAV2-vault-status OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Vault service status. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-component-readyness 11 } -- .1.3.6.1.4.1.22408.1.4.1.1.11.0
pk-SAV2-networkLink-status OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Network link status. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-network-subtree 1 } -- .1.3.6.1.4.1.22408.1.4.1.2.1.0
pk-SAV2-networkIpv4 OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Network IPV4 address. Possible values:
[STRING,
ERROR (internal error)]"
::= { pk-SAV2-network-subtree 2 } -- .1.3.6.1.4.1.22408.1.4.1.2.2.0
pk-SAV2-networkIpv4Prefix OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Network IPV4 Prefix (CIDR notation of subnet mask). Possible values:
[INTEGER,
ERROR (internal error)]"
::= { pk-SAV2-network-subtree 3 } -- .1.3.6.1.4.1.22408.1.4.1.2.3.0
pk-SAV2-networkIpv6 OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Network IPV6 address. Possible values:
[STRING,
ERROR (internal error)]"
::= { pk-SAV2-network-subtree 4 } -- .1.3.6.1.4.1.22408.1.4.1.2.4.0
pk-SAV2-networkIpv6Prefix OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Network IPV6 Prefix (CIDR notation of subnet mask). Possible values:
[INTEGER,
ERROR (internal error)]"
::= { pk-SAV2-network-subtree 5 } -- .1.3.6.1.4.1.22408.1.4.1.2.5.0
pk-SAV2-systemHostname OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Hostname, that is currently in use by the Software Appliance. Possible values:
[STRING,
ERROR (internal error)]"
::= { pk-SAV2-network-subtree 6 } -- .1.3.6.1.4.1.22408.1.4.1.2.6.0
pk-SAV2-internal-database-status OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Status of the database service. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-internal-database 1 } -- .1.3.6.1.4.1.22408.1.4.1.3.1.1.0
pk-SAV2-internal-databaseAvailableStorage OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Available storage reported by the database in MB. Possible values:
[INTEGER,
-1 (internal error)]"
::= { pk-SAV2-internal-database 2 } -- .1.3.6.1.4.1.22408.1.4.1.3.1.2.0
pk-SAV2-internal-databaseTotalStorage OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Available total storage reported by the database in MB. Possible values:
[INTEGER,
-1 (internal error)]"
::= { pk-SAV2-internal-database 3 } -- .1.3.6.1.4.1.22408.1.4.1.3.1.3.0
pk-SAV2-internal-databaseUsage OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Used storage reported by the database as percentage. Possible values:
[0-100,
-1 (internal error)]"
::= { pk-SAV2-internal-database 4 } -- .1.3.6.1.4.1.22408.1.4.1.3.1.4.0
pk-SAV2-systemVersion OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Software Appliance version. Possible values:
[STRING,
ERROR (internal error)]"
::= { pk-SAV2-version-subtree 1 } -- .1.3.6.1.4.1.22408.1.4.1.4.1.0
pk-SAV2-ejbca-status OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"EJBCA application status. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-ejbca 1 } -- .1.3.6.1.4.1.22408.1.4.1.5.1.1.0
pk-SAV2-ejbcaVersion OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"EJBCA version string. Possible values:
[STRING,
ERROR (internal error)]"
::= { pk-SAV2-ejbca 2 } -- .1.3.6.1.4.1.22408.1.4.1.5.1.2.0
pk-SAV2-ejbcaHealthCheck OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Boolean interpretation of the EJBCA health check output. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-ejbca 3 } -- .1.3.6.1.4.1.22408.1.4.1.5.1.3.0
pk-SAV2-signserver-status OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"SignServer application status. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-signserver 1 } -- .1.3.6.1.4.1.22408.1.4.1.5.2.1.0
pk-SAV2-signserverVersion OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"SignServer version string. Possible values:
[STRING,
ERROR (internal error)]"
::= { pk-SAV2-signserver 2 } -- .1.3.6.1.4.1.22408.1.4.1.5.2.2.0
pk-SAV2-signserverHealthCheck OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Boolean interpretation of the SignServer health check output. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-signserver 3 } -- .1.3.6.1.4.1.22408.1.4.1.5.2.3.0
pk-SAV2-hsm-driver-luna7-status OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Luna7 HSM service status. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-hsm-subtree 2 } -- .1.3.6.1.4.1.22408.1.4.1.6.2.0
pk-SAV2-hsm-driver-softhsm-status OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Soft HSM service status. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-hsm-subtree 1 } -- .1.3.6.1.4.1.22408.1.4.1.6.1.0
pk-SAV2-hsm-driver-utimaco-status OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Utimaco CryptoServer LAN service status. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-hsm-utimaco-subtree 1 } -- .1.3.6.1.4.1.22408.1.4.1.6.3.1.0
pk-SAV2-hsm-driver-utimaco-serialNumber OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Utimaco CryptoServer LAN serial number. Possible values:
[STRING,
ERROR (internal error)]"
::= { pk-SAV2-hsm-utimaco-subtree 2 } -- .1.3.6.1.4.1.22408.1.4.1.6.3.2.0
pk-SAV2-hsm-driver-utimaco-model OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Utimaco CryptoServer LAN model. Possible values:
[STRING,
ERROR (internal error)]"
::= { pk-SAV2-hsm-utimaco-subtree 3 } -- .1.3.6.1.4.1.22408.1.4.1.6.3.3.0
pk-SAV2-hsm-driver-utimaco-state OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Utimaco CryptoServer LAN state. Possible values:
[STRING,
ERROR (internal error)]"
::= { pk-SAV2-hsm-utimaco-subtree 4 } -- .1.3.6.1.4.1.22408.1.4.1.6.3.4.0
pk-SAV2-hsm-driver-utimaco-mode OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Utimaco CryptoServer LAN mode of operation. Possible values:
[STRING,
ERROR (internal error)]"
::= { pk-SAV2-hsm-utimaco-subtree 5 } -- .1.3.6.1.4.1.22408.1.4.1.6.3.5.0
pk-SAV2-hsm-driver-ncipher OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Entrust nCipher HSM service status. Possible values:
[0 (status ok),
1 (status not ok),
-1 (internal error)]"
::= { pk-SAV2-hsm-subtree 4 } -- .1.3.6.1.4.1.22408.1.4.1.6.4.0
END

885
tests/data/primekey-sw.json Normal file
View File

@ -0,0 +1,885 @@
{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.8072.3.2.10",
"sysDescr": "Linux snmp 4.18.0-425.13.1.el8_7.x86_64 #1 SMP Tue Feb 21 04:20:52 EST 2023 x86_64",
"sysContact": "<private>",
"version": "2.3.3",
"hardware": null,
"features": null,
"location": "<private>",
"os": "primekey-sw",
"type": "appliance",
"serial": null,
"icon": "primekey.svg"
}
]
},
"poller": "matches discovery"
},
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "percent",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.22408.1.4.1.3.1.4.0",
"sensor_index": "pk-SAV2-internal-databaseUsage",
"sensor_type": "primekey-sw",
"sensor_descr": "Internal Database Usage %",
"group": "Database",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 1,
"sensor_limit": 95,
"sensor_limit_warn": 80,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.22408.1.4.1.1.1.0",
"sensor_index": "pk-SAV2-authentication-service-status",
"sensor_type": "pk-SAV2-authentication-service-status",
"sensor_descr": "Authentication",
"group": "Service Status",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "pk-SAV2-authentication-service-status"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.22408.1.4.1.1.2.0",
"sensor_index": "pk-SAV2-crs-status",
"sensor_type": "pk-SAV2-crs-status",
"sensor_descr": "Container Runtime",
"group": "Service Status",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "pk-SAV2-crs-status"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.22408.1.4.1.1.3.0",
"sensor_index": "pk-SAV2-documentation-status",
"sensor_type": "pk-SAV2-documentation-status",
"sensor_descr": "Documentation",
"group": "Service Status",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "pk-SAV2-documentation-status"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.22408.1.4.1.5.1.1.0",
"sensor_index": "pk-SAV2-ejbca-status",
"sensor_type": "pk-SAV2-ejbca-status",
"sensor_descr": "EJBCA",
"group": "Application Status",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "pk-SAV2-ejbca-status"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.22408.1.4.1.5.1.3.0",
"sensor_index": "pk-SAV2-ejbcaHealthCheck",
"sensor_type": "pk-SAV2-ejbcaHealthChecks",
"sensor_descr": "EJBCA Health Check",
"group": "Application Status",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "pk-SAV2-ejbcaHealthChecks"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.22408.1.4.1.6.2.0",
"sensor_index": "pk-SAV2-hsm-driver-luna7-status",
"sensor_type": "pk-SAV2-hsm-driver-luna7-status",
"sensor_descr": "Luna 7 HSM",
"group": "HSM Status",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 1,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "pk-SAV2-hsm-driver-luna7-status"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.22408.1.4.1.6.1.0",
"sensor_index": "pk-SAV2-hsm-driver-softhsm-status",
"sensor_type": "pk-SAV2-hsm-driver-softhsm-status",
"sensor_descr": "SoftHSM",
"group": "HSM Status",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "pk-SAV2-hsm-driver-softhsm-status"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.22408.1.4.1.6.3.1.0",
"sensor_index": "pk-SAV2-hsm-driver-utimaco-status",
"sensor_type": "pk-SAV2-hsm-driver-utimaco-status",
"sensor_descr": "Utimaco",
"group": "HSM Status",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 1,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "pk-SAV2-hsm-driver-utimaco-status"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.22408.1.4.1.3.1.1.0",
"sensor_index": "pk-SAV2-internal-database-status",
"sensor_type": "pk-SAV2-internal-database-status",
"sensor_descr": "Internal Database",
"group": "Service Status",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "pk-SAV2-internal-database-status"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.22408.1.4.1.1.4.0",
"sensor_index": "pk-SAV2-monitoring-status",
"sensor_type": "pk-SAV2-monitoring-status",
"sensor_descr": "Monitoring",
"group": "Service Status",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "pk-SAV2-monitoring-status"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.22408.1.4.1.2.1.0",
"sensor_index": "pk-SAV2-networkLink-status",
"sensor_type": "pk-SAV2-networkLink-status",
"sensor_descr": "Network Link",
"group": "Network Status",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "pk-SAV2-networkLink-status"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.22408.1.4.1.1.5.0",
"sensor_index": "pk-SAV2-persistence-status",
"sensor_type": "pk-SAV2-persistence-status",
"sensor_descr": "Persistent Data Store",
"group": "Service Status",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "pk-SAV2-persistence-status"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.22408.1.4.1.1.6.0",
"sensor_index": "pk-SAV2-snmp-status",
"sensor_type": "pk-SAV2-snmp-status",
"sensor_descr": "SNMP",
"group": "Service Status",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "pk-SAV2-snmp-status"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.22408.1.4.1.1.7.0",
"sensor_index": "pk-SAV2-spc-status",
"sensor_type": "pk-SAV2-spc-status",
"sensor_descr": "Support Package Creator",
"group": "Service Status",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "pk-SAV2-spc-status"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.22408.1.4.1.1.11.0",
"sensor_index": "pk-SAV2-vault-status",
"sensor_type": "pk-SAV2-vault-status",
"sensor_descr": "Vault",
"group": "Service Status",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "pk-SAV2-vault-status"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.22408.1.4.1.1.8.0",
"sensor_index": "pk-SAV2-vs-status",
"sensor_type": "pk-SAV2-vs-status",
"sensor_descr": "Valuestore",
"group": "Service Status",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "pk-SAV2-vs-status"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.22408.1.4.1.1.9.0",
"sensor_index": "pk-SAV2-vsapi-status",
"sensor_type": "pk-SAV2-vsapi-status",
"sensor_descr": "Valuestore API",
"group": "Service Status",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "pk-SAV2-vsapi-status"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.22408.1.4.1.1.10.0",
"sensor_index": "pk-SAV2-webconf-status",
"sensor_type": "pk-SAV2-webconf-status",
"sensor_descr": "Webconf",
"group": "Service Status",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "pk-SAV2-webconf-status"
}
],
"state_indexes": [
{
"state_name": "pk-SAV2-authentication-service-status",
"state_descr": "Internal Error",
"state_draw_graph": 1,
"state_value": -1,
"state_generic_value": 3
},
{
"state_name": "pk-SAV2-authentication-service-status",
"state_descr": "OK",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "pk-SAV2-authentication-service-status",
"state_descr": "Fault",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "pk-SAV2-crs-status",
"state_descr": "Internal Error",
"state_draw_graph": 1,
"state_value": -1,
"state_generic_value": 3
},
{
"state_name": "pk-SAV2-crs-status",
"state_descr": "OK",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "pk-SAV2-crs-status",
"state_descr": "Fault",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "pk-SAV2-documentation-status",
"state_descr": "Internal Error",
"state_draw_graph": 1,
"state_value": -1,
"state_generic_value": 3
},
{
"state_name": "pk-SAV2-documentation-status",
"state_descr": "OK",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "pk-SAV2-documentation-status",
"state_descr": "Fault",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "pk-SAV2-ejbca-status",
"state_descr": "Internal Error",
"state_draw_graph": 1,
"state_value": -1,
"state_generic_value": 3
},
{
"state_name": "pk-SAV2-ejbca-status",
"state_descr": "OK",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "pk-SAV2-ejbca-status",
"state_descr": "Fault",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "pk-SAV2-ejbcaHealthChecks",
"state_descr": "Internal Error",
"state_draw_graph": 1,
"state_value": -1,
"state_generic_value": 3
},
{
"state_name": "pk-SAV2-ejbcaHealthChecks",
"state_descr": "OK",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "pk-SAV2-ejbcaHealthChecks",
"state_descr": "Fault",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "pk-SAV2-hsm-driver-luna7-status",
"state_descr": "Internal Error",
"state_draw_graph": 1,
"state_value": -1,
"state_generic_value": 3
},
{
"state_name": "pk-SAV2-hsm-driver-luna7-status",
"state_descr": "OK",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "pk-SAV2-hsm-driver-luna7-status",
"state_descr": "Fault",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "pk-SAV2-hsm-driver-softhsm-status",
"state_descr": "Internal Error",
"state_draw_graph": 1,
"state_value": -1,
"state_generic_value": 3
},
{
"state_name": "pk-SAV2-hsm-driver-softhsm-status",
"state_descr": "OK",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "pk-SAV2-hsm-driver-softhsm-status",
"state_descr": "Fault",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "pk-SAV2-hsm-driver-utimaco-status",
"state_descr": "Internal Error",
"state_draw_graph": 1,
"state_value": -1,
"state_generic_value": 3
},
{
"state_name": "pk-SAV2-hsm-driver-utimaco-status",
"state_descr": "OK",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "pk-SAV2-hsm-driver-utimaco-status",
"state_descr": "Fault",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "pk-SAV2-internal-database-status",
"state_descr": "Internal Error",
"state_draw_graph": 1,
"state_value": -1,
"state_generic_value": 3
},
{
"state_name": "pk-SAV2-internal-database-status",
"state_descr": "OK",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "pk-SAV2-internal-database-status",
"state_descr": "Fault",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "pk-SAV2-monitoring-status",
"state_descr": "Internal Error",
"state_draw_graph": 1,
"state_value": -1,
"state_generic_value": 3
},
{
"state_name": "pk-SAV2-monitoring-status",
"state_descr": "OK",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "pk-SAV2-monitoring-status",
"state_descr": "Fault",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "pk-SAV2-networkLink-status",
"state_descr": "Internal Error",
"state_draw_graph": 1,
"state_value": -1,
"state_generic_value": 3
},
{
"state_name": "pk-SAV2-networkLink-status",
"state_descr": "OK",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "pk-SAV2-networkLink-status",
"state_descr": "Fault",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "pk-SAV2-persistence-status",
"state_descr": "Internal Error",
"state_draw_graph": 1,
"state_value": -1,
"state_generic_value": 3
},
{
"state_name": "pk-SAV2-persistence-status",
"state_descr": "OK",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "pk-SAV2-persistence-status",
"state_descr": "Fault",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "pk-SAV2-snmp-status",
"state_descr": "Internal Error",
"state_draw_graph": 1,
"state_value": -1,
"state_generic_value": 3
},
{
"state_name": "pk-SAV2-snmp-status",
"state_descr": "OK",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "pk-SAV2-snmp-status",
"state_descr": "Fault",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "pk-SAV2-spc-status",
"state_descr": "Internal Error",
"state_draw_graph": 1,
"state_value": -1,
"state_generic_value": 3
},
{
"state_name": "pk-SAV2-spc-status",
"state_descr": "OK",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "pk-SAV2-spc-status",
"state_descr": "Fault",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "pk-SAV2-vault-status",
"state_descr": "Internal Error",
"state_draw_graph": 1,
"state_value": -1,
"state_generic_value": 3
},
{
"state_name": "pk-SAV2-vault-status",
"state_descr": "OK",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "pk-SAV2-vault-status",
"state_descr": "Fault",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "pk-SAV2-vs-status",
"state_descr": "Internal Error",
"state_draw_graph": 1,
"state_value": -1,
"state_generic_value": 3
},
{
"state_name": "pk-SAV2-vs-status",
"state_descr": "OK",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "pk-SAV2-vs-status",
"state_descr": "Fault",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "pk-SAV2-vsapi-status",
"state_descr": "Internal Error",
"state_draw_graph": 1,
"state_value": -1,
"state_generic_value": 3
},
{
"state_name": "pk-SAV2-vsapi-status",
"state_descr": "OK",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "pk-SAV2-vsapi-status",
"state_descr": "Fault",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "pk-SAV2-webconf-status",
"state_descr": "Internal Error",
"state_draw_graph": 1,
"state_value": -1,
"state_generic_value": 3
},
{
"state_name": "pk-SAV2-webconf-status",
"state_descr": "OK",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "pk-SAV2-webconf-status",
"state_descr": "Fault",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
}
]
},
"poller": "matches discovery"
}
}

View File

@ -0,0 +1,31 @@
1.3.6.1.2.1.1.1.0|4|Linux snmp 4.18.0-425.13.1.el8_7.x86_64 #1 SMP Tue Feb 21 04:20:52 EST 2023 x86_64
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.8072.3.2.10
1.3.6.1.2.1.1.3.0|67|503754
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.25.1.1.0|67|4195757
1.3.6.1.4.1.22408.1.4.1.1.1.0|2|0
1.3.6.1.4.1.22408.1.4.1.1.2.0|2|0
1.3.6.1.4.1.22408.1.4.1.1.3.0|2|0
1.3.6.1.4.1.22408.1.4.1.1.4.0|2|0
1.3.6.1.4.1.22408.1.4.1.1.5.0|2|0
1.3.6.1.4.1.22408.1.4.1.1.6.0|2|0
1.3.6.1.4.1.22408.1.4.1.1.7.0|2|0
1.3.6.1.4.1.22408.1.4.1.1.8.0|2|0
1.3.6.1.4.1.22408.1.4.1.1.9.0|2|0
1.3.6.1.4.1.22408.1.4.1.1.10.0|2|0
1.3.6.1.4.1.22408.1.4.1.1.11.0|2|0
1.3.6.1.4.1.22408.1.4.1.2.1.0|2|0
1.3.6.1.4.1.22408.1.4.1.3.1.1.0|2|0
1.3.6.1.4.1.22408.1.4.1.3.1.2.0|2|1898247
1.3.6.1.4.1.22408.1.4.1.3.1.3.0|2|1998634
1.3.6.1.4.1.22408.1.4.1.3.1.4.0|2|1
1.3.6.1.4.1.22408.1.4.1.4.1.0|4|2.3.3
1.3.6.1.4.1.22408.1.4.1.5.1.1.0|2|0
1.3.6.1.4.1.22408.1.4.1.5.1.3.0|2|0
1.3.6.1.4.1.22408.1.4.1.5.2.1.0|2|-1
1.3.6.1.4.1.22408.1.4.1.5.2.3.0|2|-1
1.3.6.1.4.1.22408.1.4.1.6.1.0|2|0
1.3.6.1.4.1.22408.1.4.1.6.2.0|2|1
1.3.6.1.4.1.22408.1.4.1.6.3.1.0|2|1