mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	add support for ucopia appliances (#13031)
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								html/images/logos/ucopia.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								html/images/logos/ucopia.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 5.8 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								html/images/os/ucopia.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								html/images/os/ucopia.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 8.0 KiB  | 
							
								
								
									
										291
									
								
								includes/definitions/discovery/ucopia.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										291
									
								
								includes/definitions/discovery/ucopia.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,291 @@
 | 
			
		||||
mib: CONTROLLER-MIB
 | 
			
		||||
modules:
 | 
			
		||||
    sensors:
 | 
			
		||||
        pre-cache:
 | 
			
		||||
            data:
 | 
			
		||||
                -
 | 
			
		||||
                    oid:
 | 
			
		||||
                        - licenseUsers
 | 
			
		||||
 | 
			
		||||
        state:
 | 
			
		||||
            data:
 | 
			
		||||
                -
 | 
			
		||||
                    oid: highAvailabilityStatus
 | 
			
		||||
                    value: highAvailabilityStatus
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.3.7.0.{{ $index }}'
 | 
			
		||||
                    descr: 'High Availability Status'
 | 
			
		||||
                    index: 'highAvailabilityStatus.{{ $index }}'
 | 
			
		||||
                    state_name: highAvailabilityStatus
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Standalone, graph: 1, value: 0, generic: 0 }
 | 
			
		||||
                        - { descr: Master, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Active, graph: 1, value: 2, generic: 0 }
 | 
			
		||||
                        - { descr: Passive, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                        - { descr: Fault, graph: 1, value: 4, generic: 2 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: debugValue
 | 
			
		||||
                    value: debugValue
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.3.2.0.{{ $index }}'
 | 
			
		||||
                    descr: 'Debug Value'
 | 
			
		||||
                    index: 'debugValue.{{ $index }}'
 | 
			
		||||
                    state_name: debugValue
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Emergency, graph: 1, value: 0, generic: 2 }
 | 
			
		||||
                        - { descr: Alert, graph: 1, value: 1, generic: 2 }
 | 
			
		||||
                        - { descr: Critical, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Error, graph: 1, value: 3, generic: 2 }
 | 
			
		||||
                        - { descr: Warning, graph: 1, value: 4, generic: 1 }
 | 
			
		||||
                        - { descr: Notice, graph: 1, value: 5, generic: 0 }
 | 
			
		||||
                        - { descr: Informational, graph: 1, value: 6, generic: 0 }
 | 
			
		||||
                        - { descr: Debug, graph: 1, value: 7, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: webServerService
 | 
			
		||||
                    value: webServerService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.1.0.{{ $index }}'
 | 
			
		||||
                    descr: 'Web Server Status'
 | 
			
		||||
                    index: 'webServerService.{{ $index }}'
 | 
			
		||||
                    state_name: webServerService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: sqlServerService
 | 
			
		||||
                    value: sqlServerService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.2.0.{{ $index }}'
 | 
			
		||||
                    descr: 'SQL Server Status'
 | 
			
		||||
                    index: 'sqlServerService.{{ $index }}'
 | 
			
		||||
                    state_name: sqlServerService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: urlSnifferService
 | 
			
		||||
                    value: urlSnifferService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.3.0.{{ $index }}'
 | 
			
		||||
                    descr: 'URL Sniffer Status'
 | 
			
		||||
                    index: 'urlSnifferService.{{ $index }}'
 | 
			
		||||
                    state_name: urlSnifferService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: portalService
 | 
			
		||||
                    value: portalService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.4.0.{{ $index }}'
 | 
			
		||||
                    descr: 'Portal Status'
 | 
			
		||||
                    index: 'portalService.{{ $index }}'
 | 
			
		||||
                    state_name: portalService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: webProxyService
 | 
			
		||||
                    value: webProxyService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.5.0.{{ $index }}'
 | 
			
		||||
                    descr: 'Web Proxy Status'
 | 
			
		||||
                    index: 'webProxyService.{{ $index }}'
 | 
			
		||||
                    state_name: webProxyService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: autodisconnectService
 | 
			
		||||
                    value: autodisconnectService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.6.0.{{ $index }}'
 | 
			
		||||
                    descr: 'Auto Disconnect Status'
 | 
			
		||||
                    index: 'autodisconnectService.{{ $index }}'
 | 
			
		||||
                    state_name: autodisconnectService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: printingServerService
 | 
			
		||||
                    value: printingServerService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.7.0.{{ $index }}'
 | 
			
		||||
                    descr: 'Printing Server Status'
 | 
			
		||||
                    index: 'printingServerService.{{ $index }}'
 | 
			
		||||
                    state_name: printingServerService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: dhcpServerService
 | 
			
		||||
                    value: dhcpServerService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.8.0.{{ $index }}'
 | 
			
		||||
                    descr: 'DHCP Server Status'
 | 
			
		||||
                    index: 'dhcpServerService.{{ $index }}'
 | 
			
		||||
                    state_name: dhcpServerService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: dnsServerService
 | 
			
		||||
                    value: dnsServerService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.9.0.{{ $index }}'
 | 
			
		||||
                    descr: 'DNS Server Status'
 | 
			
		||||
                    index: 'dnsServerService.{{ $index }}'
 | 
			
		||||
                    state_name: dnsServerService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: staticIpManagerService
 | 
			
		||||
                    value: staticIpManagerService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.10.0.{{ $index }}'
 | 
			
		||||
                    descr: 'Static IP Manager Status'
 | 
			
		||||
                    index: 'staticIpManagerService.{{ $index }}'
 | 
			
		||||
                    state_name: staticIpManagerService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: highAvailabilityService
 | 
			
		||||
                    value: highAvailabilityService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.11.0.{{ $index }}'
 | 
			
		||||
                    descr: 'High Availability Service Status'
 | 
			
		||||
                    index: 'highAvailabilityService.{{ $index }}'
 | 
			
		||||
                    state_name: highAvailabilityService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: ldapDirectoryService
 | 
			
		||||
                    value: ldapDirectoryService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.12.0.{{ $index }}'
 | 
			
		||||
                    descr: 'LDAP Directory Status'
 | 
			
		||||
                    index: 'ldapDirectoryService.{{ $index }}'
 | 
			
		||||
                    state_name: ldapDirectoryService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: ldapReplicationManagerService
 | 
			
		||||
                    value: ldapReplicationManagerService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.13.0.{{ $index }}'
 | 
			
		||||
                    descr: 'LDAP Replication Manager Status'
 | 
			
		||||
                    index: 'ldapReplicationManagerService.{{ $index }}'
 | 
			
		||||
                    state_name: ldapReplicationManagerService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: timeServerService
 | 
			
		||||
                    value: timeServerService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.14.0.{{ $index }}'
 | 
			
		||||
                    descr: 'NTP Status'
 | 
			
		||||
                    index: 'timeServerService.{{ $index }}'
 | 
			
		||||
                    state_name: timeServerService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: radiusServerService
 | 
			
		||||
                    value: radiusServerService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.15.0.{{ $index }}'
 | 
			
		||||
                    descr: 'RADIUS Status'
 | 
			
		||||
                    index: 'radiusServerService.{{ $index }}'
 | 
			
		||||
                    state_name: radiusServerService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: sambaService
 | 
			
		||||
                    value: sambaService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.16.0.{{ $index }}'
 | 
			
		||||
                    descr: 'SAMBA Status'
 | 
			
		||||
                    index: 'sambaService.{{ $index }}'
 | 
			
		||||
                    state_name: sambaService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: sshService
 | 
			
		||||
                    value: sshService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.17.0.{{ $index }}'
 | 
			
		||||
                    descr: 'SSH Status'
 | 
			
		||||
                    index: 'sshService.{{ $index }}'
 | 
			
		||||
                    state_name: sshService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: syslogService
 | 
			
		||||
                    value: syslogService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.18.0.{{ $index }}'
 | 
			
		||||
                    descr: 'Syslog Status'
 | 
			
		||||
                    index: 'syslogService.{{ $index }}'
 | 
			
		||||
                    state_name: syslogService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: syslogService
 | 
			
		||||
                    value: usersLogService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.19.0.{{ $index }}'
 | 
			
		||||
                    descr: 'Users Log Status'
 | 
			
		||||
                    index: 'usersLogService.{{ $index }}'
 | 
			
		||||
                    state_name: usersLogService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: pmsClientService
 | 
			
		||||
                    value: pmsClientService
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.4.20.0.{{ $index }}'
 | 
			
		||||
                    descr: 'PMSClient Status'
 | 
			
		||||
                    index: 'pmsClientService.{{ $index }}'
 | 
			
		||||
                    state_name: pmsClientService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: Running, graph: 1, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: Stopped, graph: 1, value: 2, generic: 2 }
 | 
			
		||||
                        - { descr: Disabled, graph: 1, value: 3, generic: 0 }
 | 
			
		||||
        count:
 | 
			
		||||
            data:
 | 
			
		||||
                -
 | 
			
		||||
                    oid: totalConnectedUsers
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.3.1.0.{{ $index }}'
 | 
			
		||||
                    index: 'totalConnectedUsers.{{ $index }}'
 | 
			
		||||
                    descr: Connected Users
 | 
			
		||||
                    high_limit: licenseUsers
 | 
			
		||||
 | 
			
		||||
        temperature:
 | 
			
		||||
            data:
 | 
			
		||||
                -
 | 
			
		||||
                    oid: cpuTemperature
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.3.3.0.{{ $index }}'
 | 
			
		||||
                    index: 'cpuTemperature.{{ $index }}'
 | 
			
		||||
                    descr: CPU Temperature
 | 
			
		||||
                    skip_values:
 | 
			
		||||
                         -
 | 
			
		||||
                            oid: cpuTemperature
 | 
			
		||||
                            op: '='
 | 
			
		||||
                            value: ''
 | 
			
		||||
                -
 | 
			
		||||
                    oid: diskTemperature
 | 
			
		||||
                    num_oid: '.1.3.6.1.4.1.31218.3.4.0.{{ $index }}'
 | 
			
		||||
                    index: 'diskTemperature.{{ $index }}'
 | 
			
		||||
                    descr: Disk Temperature
 | 
			
		||||
                    skip_values:
 | 
			
		||||
                         -
 | 
			
		||||
                            oid: diskTemperature
 | 
			
		||||
                            op: '='
 | 
			
		||||
                            value: ''
 | 
			
		||||
							
								
								
									
										12
									
								
								includes/definitions/ucopia.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								includes/definitions/ucopia.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
os: ucopia
 | 
			
		||||
text: Ucopia
 | 
			
		||||
type: network
 | 
			
		||||
icon: ucopia
 | 
			
		||||
mib_dir: ucopia
 | 
			
		||||
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.31218.
 | 
			
		||||
							
								
								
									
										408
									
								
								mibs/ucopia/CONTROLLER-MIB
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										408
									
								
								mibs/ucopia/CONTROLLER-MIB
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,408 @@
 | 
			
		||||
CONTROLLER-MIB DEFINITIONS ::= BEGIN
 | 
			
		||||
	
 | 
			
		||||
--
 | 
			
		||||
-- Imports type from other MIBS
 | 
			
		||||
--
 | 
			
		||||
IMPORTS	
 | 
			
		||||
	MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, Integer32, Gauge32, enterprises
 | 
			
		||||
		FROM SNMPv2-SMI
 | 
			
		||||
	
 | 
			
		||||
	OBJECT-GROUP, NOTIFICATION-GROUP, MODULE-COMPLIANCE
 | 
			
		||||
		FROM SNMPv2-CONF;
 | 
			
		||||
	
 | 
			
		||||
ucopia MODULE-IDENTITY
 | 
			
		||||
	LAST-UPDATED "201701240000Z"
 | 
			
		||||
	ORGANIZATION "www.ucopia.com"
 | 
			
		||||
	CONTACT-INFO
 | 
			
		||||
		"UCOPIA Communications
 | 
			
		||||
		postal: 201, avenue Pierre Brossolette
 | 
			
		||||
				92120 MONTROUGE, France
 | 
			
		||||
		email:  contactus@ucopia.com"
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Re-design notifications"
 | 
			
		||||
	REVISION "201701240000Z"
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"The MIB module for SNMP variables specific to UCOPIA controller."
 | 
			
		||||
	::= { enterprises 31218 }
 | 
			
		||||
	
 | 
			
		||||
--
 | 
			
		||||
-- top level structure
 | 
			
		||||
--
 | 
			
		||||
ucpMIBConformance      OBJECT IDENTIFIER ::= { ucopia 1 }
 | 
			
		||||
ucpNotifications       OBJECT IDENTIFIER ::= { ucopia 2 }
 | 
			
		||||
ucpMIBGroups           OBJECT IDENTIFIER ::= { ucpMIBConformance 1 }
 | 
			
		||||
ucpMIBCompliances      OBJECT IDENTIFIER ::= { ucpMIBConformance 2 }
 | 
			
		||||
ucpNotificationPrefix  OBJECT IDENTIFIER ::= { ucpNotifications 0 }
 | 
			
		||||
ucpState               OBJECT IDENTIFIER ::= { ucopia 3 }
 | 
			
		||||
serviceStatus          OBJECT IDENTIFIER ::= { ucopia 4 }
 | 
			
		||||
 | 
			
		||||
statesGroup  OBJECT-GROUP
 | 
			
		||||
	OBJECTS {
 | 
			
		||||
		totalConnectedUsers,
 | 
			
		||||
		debugValue,
 | 
			
		||||
		cpuTemperature,
 | 
			
		||||
		diskTemperature,
 | 
			
		||||
		licenseUsers,
 | 
			
		||||
		sysObjectDescription,
 | 
			
		||||
		highAvailabilityStatus
 | 
			
		||||
	}
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"The objects relating to controller states."
 | 
			
		||||
	::= { ucpMIBGroups 1 }
 | 
			
		||||
 | 
			
		||||
servicesGroup OBJECT-GROUP
 | 
			
		||||
	OBJECTS {
 | 
			
		||||
		webServerService,
 | 
			
		||||
		sqlServerService,
 | 
			
		||||
		urlSnifferService,
 | 
			
		||||
		portalService,
 | 
			
		||||
		webProxyService,
 | 
			
		||||
		autodisconnectService,
 | 
			
		||||
		printingServerService,
 | 
			
		||||
		dhcpServerService,
 | 
			
		||||
		dnsServerService,
 | 
			
		||||
		staticIpManagerService,
 | 
			
		||||
		highAvailabilityService,
 | 
			
		||||
		ldapDirectoryService,
 | 
			
		||||
		ldapReplicationManagerService,
 | 
			
		||||
		timeServerService,
 | 
			
		||||
		radiusServerService,
 | 
			
		||||
		sambaService,
 | 
			
		||||
		sshService,
 | 
			
		||||
		syslogService,
 | 
			
		||||
		usersLogService,
 | 
			
		||||
		pmsClientService
 | 
			
		||||
	}
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"The objects relating to controller services."
 | 
			
		||||
	::= { ucpMIBGroups 2 }
 | 
			
		||||
 | 
			
		||||
notificationsGroup NOTIFICATION-GROUP
 | 
			
		||||
	NOTIFICATIONS {
 | 
			
		||||
		ucpServiceFaultStateNotification
 | 
			
		||||
	}
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"The notifications relating to the services status of the controller."
 | 
			
		||||
	::= { ucpMIBGroups 3 }
 | 
			
		||||
 | 
			
		||||
ucpCompliance MODULE-COMPLIANCE
 | 
			
		||||
	STATUS  current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
			"The compliance statement for the controller MIB."
 | 
			
		||||
    MODULE  -- this module
 | 
			
		||||
    MANDATORY-GROUPS {
 | 
			
		||||
    	statesGroup,
 | 
			
		||||
    	servicesGroup,
 | 
			
		||||
    	notificationsGroup
 | 
			
		||||
    }
 | 
			
		||||
   ::= { ucpMIBCompliances 2 }
 | 
			
		||||
 | 
			
		||||
--
 | 
			
		||||
-- States
 | 
			
		||||
--
 | 
			
		||||
totalConnectedUsers OBJECT-TYPE
 | 
			
		||||
	SYNTAX Gauge32
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"A value which indicates the number of connected users on this controller."
 | 
			
		||||
	::= { ucpState 1 }
 | 
			
		||||
	
 | 
			
		||||
debugValue OBJECT-TYPE
 | 
			
		||||
	SYNTAX Integer32 (0..7)
 | 
			
		||||
	MAX-ACCESS read-write
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"A value which indicates the debug level.
 | 
			
		||||
		Numerical	Severity
 | 
			
		||||
		0	Emergency: system is unusable
 | 
			
		||||
		1	Alert: action must be taken immediately
 | 
			
		||||
		2	Critical: critical conditions
 | 
			
		||||
		3	Error: error conditions
 | 
			
		||||
		4	Warning: warning conditions
 | 
			
		||||
		5	Notice: normal but significant condition
 | 
			
		||||
		6	Informational: informational messages
 | 
			
		||||
		7	Debug: debug-level messages"
 | 
			
		||||
	::= { ucpState 2 }
 | 
			
		||||
 | 
			
		||||
cpuTemperature OBJECT-TYPE
 | 
			
		||||
	SYNTAX Integer32 (0..100)
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Processor temperature (in degree Celsius)"
 | 
			
		||||
	::= { ucpState 3 }
 | 
			
		||||
 | 
			
		||||
diskTemperature OBJECT-TYPE
 | 
			
		||||
	SYNTAX Integer32 (0..100)
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Disk temperature (in degree Celsius)"
 | 
			
		||||
	::= { ucpState 4 }
 | 
			
		||||
 | 
			
		||||
licenseUsers OBJECT-TYPE
 | 
			
		||||
	SYNTAX Integer32
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"The number of users that the license allow to be connected simulteaneously."
 | 
			
		||||
	::= { ucpState 5 }
 | 
			
		||||
 | 
			
		||||
sysObjectDescription OBJECT-TYPE
 | 
			
		||||
	SYNTAX DisplayString (SIZE (0..255))
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"The description of 'what kind of the box' is being managed."
 | 
			
		||||
	::= { ucpState 6 }
 | 
			
		||||
 | 
			
		||||
highAvailabilityStatus OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { standalone(0), master(1), active(2), passive(3), fault(4) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the controller current status in high availability cluster
 | 
			
		||||
		(0) Standalone
 | 
			
		||||
		(1) Master (HA)
 | 
			
		||||
		(2) Active node (HA)
 | 
			
		||||
		(3) Passive node (HA)
 | 
			
		||||
		(4) FAULT (HA)"
 | 
			
		||||
	::= { ucpState 7 }
 | 
			
		||||
 | 
			
		||||
--
 | 
			
		||||
-- Services Status
 | 
			
		||||
--
 | 
			
		||||
webServerService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the status of Web Server service
 | 
			
		||||
		(1) Running, service is running
 | 
			
		||||
		(2) Stopped, service is stopped or crashed
 | 
			
		||||
		(3) Disabled, service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 1 }
 | 
			
		||||
 | 
			
		||||
sqlServerService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the status of SQL Server service
 | 
			
		||||
		(1) Running, service is running
 | 
			
		||||
		(2) Stopped, service is stopped or crashed
 | 
			
		||||
		(3) Disabled, service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 2 }
 | 
			
		||||
 | 
			
		||||
urlSnifferService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the status of URL sniffer service
 | 
			
		||||
		(1) Running, service is running
 | 
			
		||||
		(2) Stopped, service is stopped or crashed
 | 
			
		||||
		(3) Disabled, service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 3 }
 | 
			
		||||
 | 
			
		||||
portalService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the status of Portal service
 | 
			
		||||
		(1) Running, service is running
 | 
			
		||||
		(2) Stopped, service is stopped or crashed
 | 
			
		||||
		(3) Disabled, service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 4 }
 | 
			
		||||
 | 
			
		||||
webProxyService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the status of Web Proxy service
 | 
			
		||||
		(1) Running, service is running
 | 
			
		||||
		(2) Stopped, service is stopped or crashed
 | 
			
		||||
		(3) Disabled, service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 5 }
 | 
			
		||||
 | 
			
		||||
autodisconnectService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the status of Autodisconnect service
 | 
			
		||||
		(1) Running, service is running
 | 
			
		||||
		(2) Stopped, service is stopped or crashed
 | 
			
		||||
		(3) Disabled, service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 6 }
 | 
			
		||||
 | 
			
		||||
printingServerService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the status of Printing Server service
 | 
			
		||||
		(1) Running, service is running
 | 
			
		||||
		(2) Stopped, service is stopped or crashed
 | 
			
		||||
		(3) Disabled, service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 7 }
 | 
			
		||||
 | 
			
		||||
dhcpServerService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
				"Indicates status of DHCP server.
 | 
			
		||||
				(1) running	service is running
 | 
			
		||||
				(2) stopped	service is stopped or crashed
 | 
			
		||||
				(3) disabled	service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 8 }
 | 
			
		||||
 | 
			
		||||
dnsServerService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the status of DNS Server service
 | 
			
		||||
		(1) Running, service is running
 | 
			
		||||
		(2) Stopped, service is stopped or crashed
 | 
			
		||||
		(3) Disabled, service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 9 }
 | 
			
		||||
 | 
			
		||||
staticIpManagerService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the status of Static IP Manager service
 | 
			
		||||
		(1) Running, service is running
 | 
			
		||||
		(2) Stopped, service is stopped or crashed
 | 
			
		||||
		(3) Disabled, service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 10 }
 | 
			
		||||
 | 
			
		||||
highAvailabilityService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the status of High-Availability service
 | 
			
		||||
		(1) Running, service is running
 | 
			
		||||
		(2) Stopped, service is stopped or crashed
 | 
			
		||||
		(3) Disabled, service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 11 }
 | 
			
		||||
 | 
			
		||||
ldapDirectoryService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the status of LDAP Directory service
 | 
			
		||||
		(1) Running, service is running
 | 
			
		||||
		(2) Stopped, service is stopped or crashed
 | 
			
		||||
		(3) Disabled, service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 12 }
 | 
			
		||||
 | 
			
		||||
ldapReplicationManagerService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the status of LDAP Replication Manager service
 | 
			
		||||
		(1) Running, service is running
 | 
			
		||||
		(2) Stopped, service is stopped or crashed
 | 
			
		||||
		(3) Disabled, service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 13 }
 | 
			
		||||
 | 
			
		||||
timeServerService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the status of Time Server service
 | 
			
		||||
		(1) Running, service is running
 | 
			
		||||
		(2) Stopped, service is stopped or crashed
 | 
			
		||||
		(3) Disabled, service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 14 }
 | 
			
		||||
 | 
			
		||||
radiusServerService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the status of Radius Server service
 | 
			
		||||
		(1) Running, service is running
 | 
			
		||||
		(2) Stopped, service is stopped or crashed
 | 
			
		||||
		(3) Disabled, service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 15 }
 | 
			
		||||
 | 
			
		||||
sambaService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the status of Samba service
 | 
			
		||||
		(1) Running, service is running
 | 
			
		||||
		(2) Stopped, service is stopped or crashed
 | 
			
		||||
		(3) Disabled, service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 16 }
 | 
			
		||||
 | 
			
		||||
sshService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the status of Ssh service
 | 
			
		||||
		(1) Running, service is running
 | 
			
		||||
		(2) Stopped, service is stopped or crashed
 | 
			
		||||
		(3) Disabled, service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 17 }
 | 
			
		||||
 | 
			
		||||
syslogService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the status of Syslog service
 | 
			
		||||
		(1) Running, service is running
 | 
			
		||||
		(2) Stopped, service is stopped or crashed
 | 
			
		||||
		(3) Disabled, service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 18 }
 | 
			
		||||
 | 
			
		||||
usersLogService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the status of Users Log service
 | 
			
		||||
		(1) Running, service is running
 | 
			
		||||
		(2) Stopped, service is stopped or crashed
 | 
			
		||||
		(3) Disabled, service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 19 }
 | 
			
		||||
 | 
			
		||||
pmsClientService OBJECT-TYPE
 | 
			
		||||
	SYNTAX INTEGER { running(1), stopped(2), disabled(3) }
 | 
			
		||||
	MAX-ACCESS read-only
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Indicates the status of PMSClient service
 | 
			
		||||
		(1) Running, service is running
 | 
			
		||||
		(2) Stopped, service is stopped or crashed
 | 
			
		||||
		(3) Disabled, service is disabled by configuration."
 | 
			
		||||
	::= { serviceStatus 20 }
 | 
			
		||||
	
 | 
			
		||||
--
 | 
			
		||||
-- Notifications
 | 
			
		||||
--
 | 
			
		||||
ucpServiceFaultStateNotification NOTIFICATION-TYPE
 | 
			
		||||
	STATUS current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"A notification, used to alert that a service has entered a fault state"
 | 
			
		||||
	::= { ucpNotificationPrefix 1 }
 | 
			
		||||
 | 
			
		||||
END
 | 
			
		||||
							
								
								
									
										5667
									
								
								tests/data/ucopia_ucopia.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5667
									
								
								tests/data/ucopia_ucopia.json
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1092
									
								
								tests/snmpsim/ucopia_ucopia.snmprec
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1092
									
								
								tests/snmpsim/ucopia_ucopia.snmprec
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user