News:

We really need your input in this questionnaire

Main Menu

Empty Value in Last Values

Started by Rado, July 25, 2023, 05:16:49 PM

Previous topic - Next topic

Rado

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

tolimanjo

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


Rado

#2
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?

tolimanjo

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