The capsd SNMP protocol plugin can detect SNMP tables. The equivalent SNMP detector in Provisiond can only detect SNMP scalars. It should be possible to detect services based on informations from SNMP tables. The implementation of the following match types can help to give the necessary flexibility in real world applications.
match type --> result ------------------------------
EXIST --> Service detected if the table exist ALL --> Service detected if ALL entries match an expected value ANY --> Service detected if 1 or more entries match an expected value NONE --> Service detected in the meaning of invert ALL
@Reader See this as suggestion, feel free for comments and feedback
Christian von Rockenthien February 12, 2015 at 11:28 AM
The same problem is still present in 14.0 and 15.0, without table scan can not regonize many services. For example, i habe HP ProLiant servers with differently equipped hard drives slots. The main oid for HDD is .1.3.6.1.4.1.232.3.2.5.1.1.6, the result for an server with slot 0 is : iso.3.6.1.4.1.232.3.2.5.1.1.6.0.0 = INTEGER: 2 iso.3.6.1.4.1.232.3.2.5.1.1.6.0.1 = INTEGER: 2 iso.3.6.1.4.1.232.3.2.5.1.1.6.0.2 = INTEGER: 2 iso.3.6.1.4.1.232.3.2.5.1.1.6.0.3 = INTEGER: 2
Juergen Weiss January 31, 2015 at 10:57 AM
The attached patch seems to work. It adds tables and hex values
Mandeep Mann January 21, 2014 at 3:17 AM
Do we have any options here besides switching back to capsd?
The capsd SNMP protocol plugin can detect SNMP tables. The equivalent SNMP detector in Provisiond can only detect SNMP scalars. It should be possible to detect services based on informations from SNMP tables. The implementation of the following match types can help to give the necessary flexibility in real world applications.
match type --> result
------------------------------ EXIST --> Service detected if the table exist
ALL --> Service detected if ALL entries match an expected value
ANY --> Service detected if 1 or more entries match an expected value
NONE --> Service detected in the meaning of invert ALL
@Reader See this as suggestion, feel free for comments and feedback