Using SNMP
Valentina Server, starting from 3.4 release, is able to operate with SNMP get and get_next requests.
Currently we support requests for the following oids:
- sysDescr(”1.3.6.1.2.1.1.1.0″ )
- sysUpTime(”1.3.6.1.2.1.1.3.0″ )
There are 3 additional oids available in version 5.0:
- sysPort(“1.3.6.1.2.1.1.8.0.0.0.1”) - returns PORT (Non-secure port to listen)
- sysSSLPort(“1.3.6.1.2.1.1.8.0.0.0.2”) - returns PORT_SSL (Secure port to listen by VServer)
- connectionsCount(“1.3.6.1.2.1.1.8.0.0.0.3”) - returns count of clients connected to vServer
There are 2 additional oids available in version 6.5.2:
- sysSqlitePort(“1.3.6.1.2.1.1.8.0.0.0.4”) - returns Sqlite PORT (Non-secure port to listen)
- sysSqliteSSLPort(“1.3.6.1.2.1.1.8.0.0.0.5”) - returns Sqlite PORT_SSL (Secure port to listen by VServer)
There are 3 additional oids available in version 9.2:
- sysMaxConnectionCount(“1.3.6.1.2.1.1.8.0.0.0.6”) - returns max Valentina connections count
- sysMaxSqliteConnectionCount(“1.3.6.1.2.1.1.8.0.0.0.7”) - returns max vSQLite connections count
- sysMaxRESTConnectionCount(“1.3.6.1.2.1.1.8.0.0.0.8”) - returns max REST connections count
Not much info but it makes a possibility to monitor vServer over SNMP.
Starting from 5.0 release this feature works on all Valentina-supported platforms.
SNMP Port
To enable this feature on the server side you need specify in the INI-file the SNMP port which Valentina Server will listen for SNMP requests. On default this port is 15161. 0 means turning off SNMP agent.