Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

How can we start SNMP scan at a specific point?

I would like that OCS start only at a specific point in the OID tree in order to control the information that the OCS server gets. How could I make the OCS server start it's SNMP scan at say .1?
in OCS Inventory NG agent for Unix by (180 points)

1 Answer

0 votes
In other words. How can I specify the starting OID? I found this code:
---

unless ( defined ( $self->{func_oid}{$system_oid} )) {

        my $spec_dir_snmp=$self->{spec_dir_snmp};

        # We init the default value

        $self->{func_oid}{$system_oid}={};

        $self->{func_oid}{$system_oid}{active}=0;

        $self->{func_oid}{$system_oid}{oid_value}="1.3.6.1.2.1.1.2.0";

        $self->{func_oid}{$system_oid}{oid_name}="Undefined";

---

The OID in the code is HP's and the code suggests that there is a will to control the OID it's scanning.
by (180 points)
 
Powered by Question2Answer
...