mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	device: Initial support for CXR-Networks Terminal Server (#9169)
* device: Initial support for CXR-Networks Terminal Server * device: Support for CXR-Networks Terminal Server - CodeClimate + cleaning * device: renamed cxr-networks-ts and code improvement * device: cxr-networks-ts test data * device: renamed os as cxr-ts * device: renamed os as cxr-ts, test data
This commit is contained in:
		
							
								
								
									
										10
									
								
								includes/definitions/cxr-ts.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								includes/definitions/cxr-ts.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
os: cxr-ts
 | 
			
		||||
text: 'CXR Networks TS'
 | 
			
		||||
type: network
 | 
			
		||||
icon: cxr-networks
 | 
			
		||||
over:
 | 
			
		||||
    - { graph: device_bits, text: 'Device Traffic' }
 | 
			
		||||
mib_dir:
 | 
			
		||||
    - cxr-networks
 | 
			
		||||
discovery:
 | 
			
		||||
    - sysObjectID: .1.3.6.1.4.1.1425.
 | 
			
		||||
							
								
								
									
										33
									
								
								includes/definitions/discovery/cxr-ts.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								includes/definitions/discovery/cxr-ts.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
mib: CXR-TS-MIB
 | 
			
		||||
modules:
 | 
			
		||||
    sensors:
 | 
			
		||||
        state:
 | 
			
		||||
            data:
 | 
			
		||||
                -
 | 
			
		||||
                    oid: system
 | 
			
		||||
                    value: ftpdService
 | 
			
		||||
                    num_oid: .1.3.6.1.4.1.1425.1040.1.8.
 | 
			
		||||
                    descr: FTP Service
 | 
			
		||||
                    state_name: ftpdService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: on, graph: 0, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: off, graph: 0, value: 2, generic: 1 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: system
 | 
			
		||||
                    value: httpdService
 | 
			
		||||
                    num_oid: .1.3.6.1.4.1.1425.1040.1.9.
 | 
			
		||||
                    descr: HTTP Service
 | 
			
		||||
                    state_name: httpdService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: on, graph: 0, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: off, graph: 0, value: 2, generic: 1 }
 | 
			
		||||
                -
 | 
			
		||||
                    oid: system
 | 
			
		||||
                    value: telnetdService
 | 
			
		||||
                    num_oid: .1.3.6.1.4.1.1425.1040.1.10.
 | 
			
		||||
                    descr: Telnet Service
 | 
			
		||||
                    state_name: telnetdService
 | 
			
		||||
                    states:
 | 
			
		||||
                        - { descr: on, graph: 0, value: 1, generic: 0 }
 | 
			
		||||
                        - { descr: off, graph: 0, value: 2, generic: 1 }
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user