Identical graphs for all machines

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
prism
Posts: 8
Joined: Thu Nov 19, 2009 7:22 pm

Identical graphs for all machines

Post by prism »

Hello,

I'm a new cacti user and I'm experiencing something very odd. I have a small network of 3 machines with cacti setup on one of them and all run Red Hat Enterprise Linux WS release 4. I'm graphing the following stats:

Linux - Memory Usage
ucd/net - Load Average
Unix - Logged in Users
Unix - Processes

....and the following partitions via Data Query [Unix - Get Mounted Partitions]

/dev/sda1
/dev/sda2
/dev/sda5
/dev/sda6

And here's the problem: all graphs are idential! (even the current, average and max values in the legend are the same). Each device has been given it's appropriate ip address within Console -> Devices -> (Edit) so I'm not sure how it can be producing identical graphs :( Two machines are defined as Generic SNMP-enabled Host (the localhost is under the Local Linux Machine template).

The snmpd.conf file in two machines looks like:

Code: Select all

#For Cacti
rocommunity public
disk /dev/sda
While on my localhost (where Cacti lives) I have:

Code: Select all

#For Cacti
rocommunity public
No changes/additions were made to the default snmpd.conf file except for the above. And all three boxes have the snmpd daemon running on them.

I'm thinking I'm only graphing my localhost's stats because I raised the Load Average on one of my hosts by playing youtube videos on it and the Load Average graph for that particular host looked the same as the rest (no change). That graph should have gone up!

Anyone ever have a problem similar to this?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The [Linux|Unix] type templates are bad. They will be renamed with 088. Those only work for the local host and that's why the graphs look the same. Use the ucd/net replacements instead to monitor remote devices
R.
prism
Posts: 8
Joined: Thu Nov 19, 2009 7:22 pm

Post by prism »

gandalf wrote:The [Linux|Unix] type templates are bad. They will be renamed with 088. Those only work for the local host and that's why the graphs look the same. Use the ucd/net replacements instead to monitor remote devices
R.
Thank you gandalf. I will report back later with my results :)
prism
Posts: 8
Joined: Thu Nov 19, 2009 7:22 pm

Post by prism »

Ok, here's what I've done so far for one of the devices I'm monitoring:

(1) Deleted all graphs and graph templates from one of the devices (latigo).
(2) Changed Host Template from 'Generic SNMP-enabled Host' to 'ucd/net SNMP Host'.
(3) Under 'Create Graphs for this Host' I've added:

ucd/net - CPU Usage
ucd/net - Load Average
ucd/net - Memory Usage

My /etc/crontab looks like:

Code: Select all

[root@localhost ~]# cat /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

*/5 * * * * cactiuser php /var/www/html/cacti/poller.php > /dev/null 2>&1
The above three graphs are now blank. The grid shows up, but no line is plotted. So I started taking the appropriate debugging steps.

Check Basic Data Gathering: Basically I tried all OIDs executed by the poller (see poller_cache.jpg).

Code: Select all

[root@localhost ~]# snmpget -v 1 -c public latigo_address .1.3.6.1.4.1.2021.11.51.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::ssCpuRawNice.0

[root@localhost ~]# snmpget -v 1 -c public latigo_address .1.3.6.1.4.1.2021.11.52.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::ssCpuRawSystem.0

[root@localhost ~]# snmpget -v 1 -c public latigo_address .1.3.6.1.4.1.2021.11.50.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::ssCpuRawUser.0

[root@localhost ~]# snmpget -v 1 -c public latigo_address .1.3.6.1.4.1.2021.10.1.3.1
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::laLoad.1

[root@localhost ~]# snmpget -v 1 -c public latigo_address .1.3.6.1.4.1.2021.10.1.3.3
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::laLoad.3

[root@localhost ~]# snmpget -v 1 -c public latigo_address .1.3.6.1.4.1.2021.10.1.3.2
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::laLoad.2

[root@localhost ~]# snmpget -v 1 -c public latigo_address .1.3.6.1.4.1.2021.4.14.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::memBuffer.0

[root@localhost ~]# snmpget -v 1 -c public latigo_address .1.3.6.1.4.1.2021.4.15.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::memCached.0

[root@localhost ~]# snmpget -v 1 -c public latigo_address .1.3.6.1.4.1.2021.4.6.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::memAvailReal.0
Doing an smnpwalk on any of the above OIDs also returns an error. Here's an example:

Code: Select all

[root@localhost ~]# snmpwalk -v 1 -c public latigo_address .1.3.6.1.4.1.2021.4.6.0
End of MIB
It seems like the poller is using invalid OIDs. I think this is where the problems is at.
I also tried a valid OID to make sure snmp was working:

Code: Select all

[root@localhost ~]# snmpwalk -v 1 -c public latigo_address .1.3.6.1.2.1.1.3.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (8564679) 23:47:26.79
[root@localhost ~]#
[root@localhost ~]# snmpget -v 1 -c public latigo_address .1.3.6.1.2.1.1.3.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (8565810) 23:47:38.10
Check Cacti's Poller: I set Poller Logging Level to DEBUG and the following are the cacti.log entries for latigo (the name of the device).

Code: Select all

11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] DS[72] SNMP: v1: host_address, dsname: mem_free, oid: .1.3.6.1.4.1.2021.4.6.0, output: U
11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] DS[72] WARNING: Result from SNMP not valid. Partial Result: U
11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] DS[71] SNMP: v1: host_address, dsname: mem_cache, oid: .1.3.6.1.4.1.2021.4.15.0, output: U
11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] DS[71] WARNING: Result from SNMP not valid. Partial Result: U
11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] DS[70] SNMP: v1: host_address, dsname: mem_buffers, oid: .1.3.6.1.4.1.2021.4.14.0, output: U
11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] DS[70] WARNING: Result from SNMP not valid. Partial Result: U
11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] DS[69] SNMP: v1: host_address, dsname: load_5min, oid: .1.3.6.1.4.1.2021.10.1.3.2, output: U
11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] DS[69] WARNING: Result from SNMP not valid. Partial Result: U
11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] DS[68] SNMP: v1: host_address, dsname: load_15min, oid: .1.3.6.1.4.1.2021.10.1.3.3, output: U
11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] DS[68] WARNING: Result from SNMP not valid. Partial Result: U
11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] DS[67] SNMP: v1: host_address, dsname: load_1min, oid: .1.3.6.1.4.1.2021.10.1.3.1, output: U
11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] DS[67] WARNING: Result from SNMP not valid. Partial Result: U
11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] DS[66] SNMP: v1: host_address, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, output: U
11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] DS[66] WARNING: Result from SNMP not valid. Partial Result: U
11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] DS[65] SNMP: v1: host_address, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, output: U
11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] DS[65] WARNING: Result from SNMP not valid. Partial Result: U
11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] DS[64] SNMP: v1: host_address, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, output: U
11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] DS[64] WARNING: Result from SNMP not valid. Partial Result: U
11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] RECACHE: Processing 2 items in the auto reindex cache for 'latigo_address'.
11/20/2009 04:25:02 PM - CMDPHP: Poller[0] Host[16] SNMP: Host responded to SNMP
Check RRD File Ownership:

Code: Select all

[root@localhost cacti]# ls -l rra | grep latigo
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 14:55 linux_box_latigo_cpu_nice_46.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 15:10 linux_box_latigo_cpu_nice_55.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 16:30 linux_box_latigo_cpu_nice_64.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 14:55 linux_box_latigo_cpu_system_47.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 15:10 linux_box_latigo_cpu_system_56.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 16:30 linux_box_latigo_cpu_system_65.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 14:55 linux_box_latigo_cpu_user_48.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 15:10 linux_box_latigo_cpu_user_57.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 16:30 linux_box_latigo_cpu_user_66.rrd
-rw-r--r--  1 cactiuser cactiuser  94664 Nov 20 13:40 linux_box_latigo_hdd_free_39.rrd
-rw-r--r--  1 cactiuser cactiuser  94664 Nov 20 13:40 linux_box_latigo_hdd_free_40.rrd
-rw-r--r--  1 cactiuser cactiuser  94664 Nov 20 13:40 linux_box_latigo_hdd_free_41.rrd
-rw-r--r--  1 cactiuser cactiuser  94664 Nov 20 13:40 linux_box_latigo_hdd_free_42.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 14:55 linux_box_latigo_load_15min_50.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 15:10 linux_box_latigo_load_15min_59.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 16:30 linux_box_latigo_load_15min_68.rrd
-rw-r--r--  1 cactiuser cactiuser 141488 Nov 20 13:40 linux_box_latigo_load_1min_18.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 14:55 linux_box_latigo_load_1min_49.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 15:10 linux_box_latigo_load_1min_58.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 16:30 linux_box_latigo_load_1min_67.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 14:55 linux_box_latigo_load_5min_51.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 15:10 linux_box_latigo_load_5min_60.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 16:30 linux_box_latigo_load_5min_69.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 13:40 linux_box_latigo_mem_buffers_16.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 17 11:30 linux_box_latigo_mem_buffers_21.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 14:55 linux_box_latigo_mem_buffers_52.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 15:10 linux_box_latigo_mem_buffers_61.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 16:30 linux_box_latigo_mem_buffers_70.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 17 11:30 linux_box_latigo_mem_cache_22.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 14:55 linux_box_latigo_mem_cache_53.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 15:10 linux_box_latigo_mem_cache_62.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 16:30 linux_box_latigo_mem_cache_71.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 17 11:30 linux_box_latigo_mem_free_23.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 14:55 linux_box_latigo_mem_free_54.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 15:10 linux_box_latigo_mem_free_63.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 16:30 linux_box_latigo_mem_free_72.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 13:40 linux_box_latigo_mem_swap_17.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 13:40 linux_box_latigo_proc_20.rrd
-rw-r--r--  1 cactiuser cactiuser  47840 Nov 20 13:40 linux_box_latigo_users_19.rrd
Check RRD File Numbers: Executed rrdtool fetch and info commands on a particular .rrd file.

Code: Select all

[root@localhost rra]# rrdtool fetch linux_box_latigo_cpu_system_65.rrd AVERAGE
                     cpu_system

1258677600: nan
1258677900: nan
1258678200: nan
1258678500: nan
1258678800: nan
1258679100: nan
1258679400: nan
1258679700: nan
1258680000: nan
1258680300: nan
1258680600: nan
1258680900: nan
1258681200: nan
1258681500: nan
1258681800: nan
1258682100: nan
1258682400: nan
1258682700: nan
1258683000: nan
1258683300: nan
1258683600: nan
1258683900: nan
1258684200: nan
1258684500: nan
1258684800: nan
1258685100: nan
1258685400: nan
1258685700: nan
1258686000: nan
1258686300: nan
1258686600: nan
1258686900: nan
1258687200: nan
1258687500: nan
1258687800: nan
1258688100: nan
1258688400: nan
1258688700: nan
1258689000: nan
1258689300: nan
1258689600: nan
1258689900: nan
1258690200: nan
1258690500: nan
1258690800: nan
1258691100: nan
1258691400: nan
1258691700: nan
1258692000: nan
1258692300: nan
1258692600: nan
1258692900: nan
1258693200: nan
1258693500: nan
1258693800: nan
1258694100: nan
1258694400: nan
1258694700: nan
1258695000: nan
1258695300: nan
1258695600: nan
1258695900: nan
1258696200: nan
1258696500: nan
1258696800: nan
1258697100: nan
1258697400: nan
1258697700: nan
1258698000: nan
1258698300: nan
1258698600: nan
1258698900: nan
1258699200: nan
1258699500: nan
1258699800: nan
1258700100: nan
1258700400: nan
1258700700: nan
1258701000: nan
1258701300: nan
1258701600: nan
1258701900: nan
1258702200: nan
1258702500: nan
1258702800: nan
1258703100: nan
1258703400: nan
1258703700: nan
1258704000: nan
1258704300: nan
1258704600: nan
1258704900: nan
1258705200: nan
1258705500: nan
1258705800: nan
1258706100: nan
1258706400: nan
1258706700: nan
1258707000: nan
1258707300: nan
1258707600: nan
1258707900: nan
1258708200: nan
1258708500: nan
1258708800: nan
1258709100: nan
1258709400: nan
1258709700: nan
1258710000: nan
1258710300: nan
1258710600: nan
1258710900: nan
1258711200: nan
1258711500: nan
1258711800: nan
1258712100: nan
1258712400: nan
1258712700: nan
1258713000: nan
1258713300: nan
1258713600: nan
1258713900: nan
1258714200: nan
1258714500: nan
1258714800: nan
1258715100: nan
1258715400: nan
1258715700: nan
1258716000: nan
1258716300: nan
1258716600: nan
1258716900: nan
1258717200: nan
1258717500: nan
1258717800: nan
1258718100: nan
1258718400: nan
1258718700: nan
1258719000: nan
1258719300: nan
1258719600: nan
1258719900: nan
1258720200: nan
1258720500: nan
1258720800: nan
1258721100: nan
1258721400: nan
1258721700: nan
1258722000: nan
1258722300: nan
1258722600: nan
1258722900: nan
1258723200: nan
1258723500: nan
1258723800: nan
1258724100: nan
1258724400: nan
1258724700: nan
1258725000: nan
1258725300: nan
1258725600: nan
1258725900: nan
1258726200: nan
1258726500: nan
1258726800: nan
1258727100: nan
1258727400: nan
1258727700: nan
1258728000: nan
1258728300: nan
1258728600: nan
1258728900: nan
1258729200: nan
1258729500: nan
1258729800: nan
1258730100: nan
1258730400: nan
1258730700: nan
1258731000: nan
1258731300: nan
1258731600: nan
1258731900: nan
1258732200: nan
1258732500: nan
1258732800: nan
1258733100: nan
1258733400: nan
1258733700: nan
1258734000: nan
1258734300: nan
1258734600: nan
1258734900: nan
1258735200: nan
1258735500: nan
1258735800: nan
1258736100: nan
1258736400: nan
1258736700: nan
1258737000: nan
1258737300: nan
1258737600: nan
1258737900: nan
1258738200: nan
1258738500: nan
1258738800: nan
1258739100: nan
1258739400: nan
1258739700: nan
1258740000: nan
1258740300: nan
1258740600: nan
1258740900: nan
1258741200: nan
1258741500: nan
1258741800: nan
1258742100: nan
1258742400: nan
1258742700: nan
1258743000: nan
1258743300: nan
1258743600: nan
1258743900: nan
1258744200: nan
1258744500: nan
1258744800: nan
1258745100: nan
1258745400: nan
1258745700: nan
1258746000: nan
1258746300: nan
1258746600: nan
1258746900: nan
1258747200: nan
1258747500: nan
1258747800: nan
1258748100: nan
1258748400: nan
1258748700: nan
1258749000: nan
1258749300: nan
1258749600: nan
1258749900: nan
1258750200: nan
1258750500: nan
1258750800: nan
1258751100: nan
1258751400: nan
1258751700: nan
1258752000: nan
1258752300: nan
1258752600: nan
1258752900: nan
1258753200: nan
1258753500: nan
1258753800: nan
1258754100: nan
1258754400: nan
1258754700: nan
1258755000: nan
1258755300: nan
1258755600: nan
1258755900: nan
1258756200: nan
1258756500: nan
1258756800: nan
1258757100: nan
1258757400: nan
1258757700: nan
1258758000: nan
1258758300: nan
1258758600: nan
1258758900: nan
1258759200: nan
1258759500: nan
1258759800: nan
1258760100: nan
1258760400: nan
1258760700: nan
1258761000: nan
1258761300: nan
1258761600: nan
1258761900: nan
1258762200: nan
1258762500: nan
1258762800: nan
1258763100: nan
1258763400: nan
1258763700: nan
1258764000: nan

[root@localhost rra]# rrdtool info linux_box_latigo_cpu_system_65.rrd
filename = "linux_box_latigo_cpu_system_65.rrd"
rrd_version = "0003"
step = 300
last_update = 1258763702
ds[cpu_system].type = "COUNTER"
ds[cpu_system].minimal_heartbeat = 600
ds[cpu_system].min = 0.0000000000e+00
ds[cpu_system].max = 1.0000000000e+02
ds[cpu_system].last_ds = "U"
ds[cpu_system].value = NaN
ds[cpu_system].unknown_sec = 2
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 1
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 7
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 7
rra[4].cf = "MAX"
rra[4].rows = 600
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 700
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = NaN
rra[5].cdp_prep[0].unknown_datapoints = 1
rra[6].cf = "MAX"
rra[6].rows = 775
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 7
rra[7].cf = "MAX"
rra[7].rows = 797
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = NaN
rra[7].cdp_prep[0].unknown_datapoints = 7
Check RRDTool Graph Statement: The files referenced in the command given to rrdtool definitely exist within /var/www/html/cacti/rra (see graph_statement.jpg for one example).

Having gone through the debugging steps, it looks like I'm getting blank graphs because the poller is using invalid OIDs, but I'm not entirely certain. Can anyone help? :(
Attachments
poller_cache.jpg
poller_cache.jpg (78.97 KiB) Viewed 2655 times
graph_statement.jpg
graph_statement.jpg (143.48 KiB) Viewed 2655 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The failing SNMP requests are the root cause.
There's one that's working. So the target device seems to respond to SNMP but not to all requests.
This is usually either
- the target device's SNMP daemon has OID dependant permissions set
- the device does not support the specific OIDs. Traffic OIDs should be supported by every device whereas HOST MIB is not mandatory
R.
prism
Posts: 8
Joined: Thu Nov 19, 2009 7:22 pm

Post by prism »

Hi gandalf, thanks again for responding. Just some questions:
gandalf wrote:....SNMP daemon has OID dependant permissions set
How can I check what the permissions are on the device I'm monitoring?

Not sure if it helps, but the device has this entry in the /etc/hosts.allow file:

Code: Select all

snmpd: ALL
gandalf wrote: - the device does not support the specific OIDs...
Can an old version of net-snmp running on the device be a cause of this?
prism
Posts: 8
Joined: Thu Nov 19, 2009 7:22 pm

Post by prism »

Got everything running :D

I added the following line to the snmpd.conf file:

Code: Select all

view systemview included .1.3.6.1.4.1.
Thanks again gandalf for the help !
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests