NetXMS Support Forum

English Support => General Support => Topic started by: Rado on July 25, 2023, 05:16:49 PM

Title: Empty Value in Last Values
Post by: Rado on July 25, 2023, 05:16:49 PM
Hello,

i am new in NetXMS and I could use your help.

I have configured SNMP in Management Console and in my MikroTik hapac2 switch. When I want to collect data, I set up DCI, and when i walk MIB tree i can clearly see value of OID i want to monitor. However when I apply it, and look into the last values, i see that its active, but i see no value or time stamp.



Anyone has any idea?
MIB_WALK.png Data_Collection_Configuration.png Last_Values.png
Title: Re: Empty Value in Last Values
Post by: tolimanjo on July 26, 2023, 04:03:57 AM
Try adding '.0' to the end of the OID value. OID values for available parameters on a given MikroTik model can be found via the CLI, e.g.:
[admin@router-01] > /system health print oid
            voltage: .1.3.6.1.4.1.14988.1.1.3.8.0
            current: .1.3.6.1.4.1.14988.1.1.3.13.0
        temperature: .1.3.6.1.4.1.14988.1.1.3.10.0
    cpu-temperature: .1.3.6.1.4.1.14988.1.1.3.11.0
  power-consumption: .1.3.6.1.4.1.14988.1.1.3.12.0

Title: Re: Empty Value in Last Values
Post by: Rado on July 26, 2023, 09:45:06 AM
Hello,

thank your for your response, in NetXMS, it helped and we are finally getting values.

However when i put this command in CLI:
/system health print oid

i get blank result. Do i need some package or something?
Title: Re: Empty Value in Last Values
Post by: tolimanjo on July 27, 2023, 03:30:50 AM
Ah, the blank result just means that your model doesn't report 'health' values. You should see something like the following (on most models) when checking 'resource' values:

[admin@router-01] > /system resource print oid
    used-memory: .1.3.6.1.2.1.25.2.3.1.6.65536
        uptime: .1.3.6.1.2.1.1.3.0
    build-time: .1.3.6.1.4.1.14988.1.1.7.6.0
  total-memory: .1.3.6.1.2.1.25.2.3.1.5.65536
  cpu-frequency: .1.3.6.1.4.1.14988.1.1.3.14.0