 |
lists.netmrg.net NetMRG discussion and support
|
|
|
| Author |
Message |
ogi Beginner
Joined: 27 Sep 2004 Posts: 2
|
Posted: Mon Sep 27, 2004 7:56 am Post subject: %ifIndex% and %dskIndex% in SNMP Tests |
|
|
I've installed NetMRG 1.17 and did what is written in Tutorials of the NetMRG Reference. I have lo, eth0, eth1 and sit0. eth0 and sit0 are unused. Via View Interface Cache, I've enabled lo, eth1 and all disks, which show up under Server and give correct information.
But when I go to Reporting / Device Tree / [Something] / Server / System / Interfaces - Bytes In / view, the graph is empty. Same for Bytes Out, Disks Available, and Disks Used. Why?
Searching for an answer, I see that in Tests / SNMP, some variables %ifIndex% and %dskIndex%. Where I can set these variables. Is it supposed to manually set these variables with correct SNMP values? |
|
| Back to top |
|
 |
balleman Site Admin
Joined: 20 Jan 2003 Posts: 282
|
Posted: Wed Sep 29, 2004 12:39 am Post subject: |
|
|
| Look at the results from "netmrg-gatherer -sm"... post them here if you can't find the problem. |
|
| Back to top |
|
 |
ogi Beginner
Joined: 27 Sep 2004 Posts: 2
|
Posted: Wed Sep 29, 2004 3:38 am Post subject: |
|
|
| Code: |
NetMRG starting.
Creating Lockfile.
Initializing SNMP library.
Initializing RRDTOOL pipe.
[ACTIVE] Last: 0, Now: 0
[Dev: 0002] Starting device thread at 2004-09-29 06:31:39.
[Dev: 0002] MySQL connection established.
[Dev: 0002] Server / <Field Omitted>
[Dev: 0002] SNMP Uptime is 42802122
[Dev: 0002] Number of Interfaces is 4
[Dev: 0002] [Sub: 0004] Starting Subdevice.
[Dev: 0002] [Sub: 0004] [Mon: 0030] Starting Monitor.
[Dev: 0002] [Sub: 0004] [Mon: 0030] Value: 79
[Dev: 0002] [Sub: 0004] [Mon: 0029] Starting Monitor.
[Dev: 0002] [Sub: 0004] [Mon: 0029] Value: 1
[Dev: 0002] [Sub: 0004] [Mon: 0020] Starting Monitor.
[Dev: 0002] [Sub: 0004] [Mon: 0020] Value: 76492
[Dev: 0002] [Sub: 0004] [Mon: 0019] Starting Monitor.
[Dev: 0002] [Sub: 0004] [Mon: 0019] Value: 22746
[Dev: 0002] [Sub: 0004] [Mon: 0021] Starting Monitor.
[Dev: 0002] [Sub: 0004] [Mon: 0021] Value: 1291
[Dev: 0002] [Sub: 0004] [Mon: 0026] Starting Monitor.
[Dev: 0002] [Sub: 0004] [Mon: 0026] Value: 0.00
[Dev: 0002] [Sub: 0004] [Mon: 0026] Value is non-integer.
[Dev: 0002] [Sub: 0004] [Mon: 0027] Starting Monitor.
[Dev: 0002] [Sub: 0004] [Mon: 0027] Value: 0.01
[Dev: 0002] [Sub: 0004] [Mon: 0027] Value is non-integer.
[Dev: 0002] [Sub: 0004] [Mon: 0028] Starting Monitor.
[Dev: 0002] [Sub: 0004] [Mon: 0028] Value: 0.00
[Dev: 0002] [Sub: 0004] [Mon: 0028] Value is non-integer.
[Dev: 0002] [Sub: 0004] [Mon: 0017] Starting Monitor.
[Dev: 0002] [Sub: 0004] [Mon: 0017] Value: 2097144
[Dev: 0002] [Sub: 0004] [Mon: 0018] Starting Monitor.
[Dev: 0002] [Sub: 0004] [Mon: 0018] Value: 520196
[Dev: 0002] [Sub: 0004] [Mon: 0031] Starting Monitor.
[Dev: 0002] [Sub: 0004] [Mon: 0031] Value: 1
[Dev: 0002] [Sub: 0004] [Mon: 0025] Starting Monitor.
[Dev: 0002] [Sub: 0004] [Mon: 0025] Value: U
[Dev: 0002] [Sub: 0004] [Mon: 0025] Value is non-integer.
[Dev: 0002] [Sub: 0004] [Mon: 0024] Starting Monitor.
[Dev: 0002] [Sub: 0004] [Mon: 0024] Value: U
[Dev: 0002] [Sub: 0004] [Mon: 0024] Value is non-integer.
[Dev: 0002] [Sub: 0004] [Mon: 0023] Starting Monitor.
[Dev: 0002] [Sub: 0004] [Mon: 0023] Value: U
[Dev: 0002] [Sub: 0004] [Mon: 0023] Value is non-integer.
[Dev: 0002] [Sub: 0004] [Mon: 0022] Starting Monitor.
[Dev: 0002] [Sub: 0004] [Mon: 0022] Value: U
[Dev: 0002] [Sub: 0004] [Mon: 0022] Value is non-integer.
[Dev: 0002] [Sub: 0005] Starting Subdevice.
[Dev: 0002] [Sub: 0005] [Mon: 0032] Starting Monitor.
[Dev: 0002] [Sub: 0005] [Mon: 0032] Value: 18810864
[Dev: 0002] [Sub: 0005] [Mon: 0033] Starting Monitor.
[Dev: 0002] [Sub: 0005] [Mon: 0033] Value: 18811014
[Dev: 0002] [Sub: 0006] Starting Subdevice.
[Dev: 0002] [Sub: 0006] [Mon: 0034] Starting Monitor.
[Dev: 0002] [Sub: 0006] [Mon: 0034] Value: 100232183
[Dev: 0002] [Sub: 0006] [Mon: 0035] Starting Monitor.
[Dev: 0002] [Sub: 0006] [Mon: 0035] Value: 59998424
[Dev: 0002] [Sub: 0007] Starting Subdevice.
[Dev: 0002] [Sub: 0007] [Mon: 0036] Starting Monitor.
[Dev: 0002] [Sub: 0007] [Mon: 0036] Value: U
[Dev: 0002] [Sub: 0007] [Mon: 0036] Value is non-integer.
[Dev: 0002] [Sub: 0007] [Mon: 0037] Starting Monitor.
[Dev: 0002] [Sub: 0007] [Mon: 0037] Value: U
[Dev: 0002] [Sub: 0007] [Mon: 0037] Value is non-integer.
[Dev: 0002] [Sub: 0008] Starting Subdevice.
[Dev: 0002] [Sub: 0008] [Mon: 0038] Starting Monitor.
[Dev: 0002] [Sub: 0008] [Mon: 0038] Value: U
[Dev: 0002] [Sub: 0008] [Mon: 0038] Value is non-integer.
[Dev: 0002] [Sub: 0008] [Mon: 0039] Starting Monitor.
[Dev: 0002] [Sub: 0008] [Mon: 0039] Value: U
[Dev: 0002] [Sub: 0008] [Mon: 0039] Value is non-integer.
[Dev: 0002] [Sub: 0009] Starting Subdevice.
[Dev: 0002] [Sub: 0009] [Mon: 0040] Starting Monitor.
[Dev: 0002] [Sub: 0009] [Mon: 0040] Value: U
[Dev: 0002] [Sub: 0009] [Mon: 0040] Value is non-integer.
[Dev: 0002] [Sub: 0009] [Mon: 0041] Starting Monitor.
[Dev: 0002] [Sub: 0009] [Mon: 0041] Value: U
[Dev: 0002] [Sub: 0009] [Mon: 0041] Value is non-integer.
[Dev: 0002] [Sub: 0010] Starting Subdevice.
[Dev: 0002] [Sub: 0010] [Mon: 0042] Starting Monitor.
[Dev: 0002] [Sub: 0010] [Mon: 0042] Value: U
[Dev: 0002] [Sub: 0010] [Mon: 0042] Value is non-integer.
[Dev: 0002] [Sub: 0010] [Mon: 0043] Starting Monitor.
[Dev: 0002] [Sub: 0010] [Mon: 0043] Value: U
[Dev: 0002] [Sub: 0010] [Mon: 0043] Value is non-integer.
[Dev: 0002] [Sub: 0011] Starting Subdevice.
[Dev: 0002] [Sub: 0011] [Mon: 0044] Starting Monitor.
[Dev: 0002] [Sub: 0011] [Mon: 0044] Value: U
[Dev: 0002] [Sub: 0011] [Mon: 0044] Value is non-integer.
[Dev: 0002] [Sub: 0011] [Mon: 0045] Starting Monitor.
[Dev: 0002] [Sub: 0011] [Mon: 0045] Value: U
[Dev: 0002] [Sub: 0011] [Mon: 0045] Value is non-integer.
[Dev: 0002] [Sub: 0012] Starting Subdevice.
[Dev: 0002] [Sub: 0012] [Mon: 0046] Starting Monitor.
[Dev: 0002] [Sub: 0012] [Mon: 0046] Value: U
[Dev: 0002] [Sub: 0012] [Mon: 0046] Value is non-integer.
[Dev: 0002] [Sub: 0012] [Mon: 0047] Starting Monitor.
[Dev: 0002] [Sub: 0012] [Mon: 0047] Value: U
[Dev: 0002] [Sub: 0012] [Mon: 0047] Value is non-integer.
[Dev: 0002] [Sub: 0013] Starting Subdevice.
[Dev: 0002] [Sub: 0013] [Mon: 0048] Starting Monitor.
[Dev: 0002] [Sub: 0013] [Mon: 0048] Value: U
[Dev: 0002] [Sub: 0013] [Mon: 0048] Value is non-integer.
[Dev: 0002] [Sub: 0013] [Mon: 0049] Starting Monitor.
[Dev: 0002] [Sub: 0013] [Mon: 0049] Value: U
[Dev: 0002] [Sub: 0013] [Mon: 0049] Value is non-integer.
[Dev: 0002] [Sub: 0014] Starting Subdevice.
[Dev: 0002] [Sub: 0014] [Mon: 0050] Starting Monitor.
[Dev: 0002] [Sub: 0014] [Mon: 0050] Value: U
[Dev: 0002] [Sub: 0014] [Mon: 0050] Value is non-integer.
[Dev: 0002] [Sub: 0014] [Mon: 0051] Starting Monitor.
[Dev: 0002] [Sub: 0014] [Mon: 0051] Value: U
[Dev: 0002] [Sub: 0014] [Mon: 0051] Value is non-integer.
[Dev: 0002] [Sub: 0015] Starting Subdevice.
[Dev: 0002] [Sub: 0015] [Mon: 0052] Starting Monitor.
[Dev: 0002] [Sub: 0015] [Mon: 0052] Value: U
[Dev: 0002] [Sub: 0015] [Mon: 0052] Value is non-integer.
[Dev: 0002] [Sub: 0015] [Mon: 0053] Starting Monitor.
[Dev: 0002] [Sub: 0015] [Mon: 0053] Value: U
[Dev: 0002] [Sub: 0015] [Mon: 0053] Value is non-integer.
[Dev: 0002] [Sub: 0016] Starting Subdevice.
[Dev: 0002] [Sub: 0016] [Mon: 0054] Starting Monitor.
[Dev: 0002] [Sub: 0016] [Mon: 0054] Value: U
[Dev: 0002] [Sub: 0016] [Mon: 0054] Value is non-integer.
[Dev: 0002] [Sub: 0016] [Mon: 0055] Starting Monitor.
[Dev: 0002] [Sub: 0016] [Mon: 0055] Value: U
[Dev: 0002] [Sub: 0016] [Mon: 0055] Value is non-integer.
[Dev: 0002] [Sub: 0017] Starting Subdevice.
[Dev: 0002] [Sub: 0017] [Mon: 0056] Starting Monitor.
[Dev: 0002] [Sub: 0017] [Mon: 0056] Value: U
[Dev: 0002] [Sub: 0017] [Mon: 0056] Value is non-integer.
[Dev: 0002] [Sub: 0017] [Mon: 0057] Starting Monitor.
[Dev: 0002] [Sub: 0017] [Mon: 0057] Value: U
[Dev: 0002] [Sub: 0017] [Mon: 0057] Value is non-integer.
[Dev: 0002] [Sub: 0018] Starting Subdevice.
[Dev: 0002] [Sub: 0018] [Mon: 0058] Starting Monitor.
[Dev: 0002] [Sub: 0018] [Mon: 0058] Value: U
[Dev: 0002] [Sub: 0018] [Mon: 0058] Value is non-integer.
[Dev: 0002] [Sub: 0018] [Mon: 0059] Starting Monitor.
[Dev: 0002] [Sub: 0018] [Mon: 0059] Value: U
[Dev: 0002] [Sub: 0018] [Mon: 0059] Value is non-integer.
[Dev: 0002] Trimming device event log.
[Dev: 0002] Ending device thread at 2004-09-29 06:31:39, after a duration of 0 seconds.
Thread Ended.
Closed MySQL connection.
Runtime: 0
Closed RRDTOOL pipe.
Cleaned up SNMP.
|
Sub 0004 is System. All with undefined value have some variables, like %ifIndex%, used. I still don't understand how it is supposed the variables to be replaced with actual content, so that things to work.
And more, now I see that although I activated all in View Disk Cache, undefined values are recieved for all filesystems  |
|
| Back to top |
|
 |
silfreed Site Admin
Joined: 19 Jan 2003 Posts: 394 Location: Shippensburg, PA, USA
|
Posted: Wed Sep 29, 2004 1:23 pm Post subject: |
|
|
The values like %ifIndex% are set from the subdevice parameters. When you're viewing your list of subdevices (after you click the device name), there should be a 'parameters' link. If you have your interface setup correctly (usually by 'view interface cache'), the parameters should be defined correctly.
-Doug |
|
| Back to top |
|
 |
|
smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group
|