Verify the data being returned from SNMP.

The graph you're looking at comes from ucd-mib's data, I think.

Adam.

Sent from BlueMail
On 12 Jun 2019, at 11:51, Simon Mousey Smith via observium <observium@observium.org> wrote:
Hi All

Ive only just noticed, but since I did a fresh install of observium on a new server and then migrated old data over,

the memory for ‘localhost’ is showing as MINUS or NAN%?


Anybody have an ideas?

I don’t have anything special in the snmpd.conf as it shows below

root@observium:~# cat /etc/snmp/snmpd.conf 
#  Listen for connections on all interfaces (both IPv4 *and* IPv6)
agentAddress udp:161,udp6:[::1]:161
#  Full view access
view   all         included   .1
#  system + hrSystem groups only
view   systemonly  included   .1.3.6.1.2.1.1
view   systemonly  included   .1.3.6.1.2.1.25.1
#  Default access to full view
rocommunity public 127.0.0.1    -V all
#  Default access to basic system info
#rocommunity public  default    -V systemonly
#  System contact and location
syslocation L24 XXX
syscontact Simon Smith
#  Disk Monitoring
disk       /     10000
disk       /var  5%
includeAllDisks  10%
# Unacceptable 1-, 5-, and 15-minute load averages
load   12 10 5
# This line allows Observium to detect the host OS if the distro script is installed
extend .1.3.6.1.4.1.2021.7890.1 distro /usr/local/bin/distro
# This lines allows Observium to detect hardware, vendor and serial
#extend .1.3.6.1.4.1.2021.7890.2 hardware /bin/cat /sys/devices/virtual/dmi/id/product_name
#extend .1.3.6.1.4.1.2021.7890.3 vendor   /bin/cat /sys/devices/virtual/dmi/id/sys_vendor
#extend .1.3.6.1.4.1.2021.7890.4 serial   /bin/cat /sys/devices/virtual/dmi/id/product_serial
# This line allows Observium to collect an accurate uptime
extend uptime /bin/cat /proc/uptime
# This line enables Observium's ifAlias description injection
pass_persist .1.3.6.1.2.1.31.1.1.1.18 /usr/local/bin/ifAlias_persist
root@observium:~# 

The code was copied over from the observium docs - https://docs.observium.org/device_linux/

Regards

Simon




observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium