No data being graphed....

K2

08-11-2005 08:06:41

Hi,

I just setup NetMRG and have checked to make sure SNMP is setup and there are now errors being generated, I have also ran netmrg-gatherer -a and its collecting data but not graphing anything. Does anyone have any suggestions?

I have been through all the logs and fixed any permissions that I have found. It graphed for about five minutes and quit.

CentOS Enterprise 4 Linux
MySQL

Let me know if you need any additional information.

Tim

K2

08-11-2005 08:09:15

I would also like to add that not all graphs are being drawn... ??

silfreed

08-11-2005 08:48:06

Have you setup the cron script?
Did you use the RPM to install, or install from source?

-Doug

K2

08-11-2005 08:52:28

I did it from source. Its graphing now but its not continuous, I have the cron job setup as the instruction state.

I'm also only getting about four graphs and the others are not there yet just small squares...

Thanks for the reply

Tim

K2

08-11-2005 10:47:22

I'm also noticing this in the log file for netmrg, should this be listing twice and with a duration of 0 seconds?

Dev 0002] Starting device thread at 2005-11-08 104501.
[Dev 0003] Starting device thread at 2005-11-08 104501.
[Dev 0003] Ending device thread at 2005-11-08 104501, after a duration of 0 seconds.
Thread Ended.
[Dev 0002] Ending device thread at 2005-11-08 104501, after a duration of 0 seconds.
Thread Ended.

silfreed

08-11-2005 11:09:54

Having two listings should be fine; it looks like you have two devices created.
Edit your devices and make sure they don't have SNMP disabled on them.

-Doug

K2

08-11-2005 15:25:36

snmp is enabled on them and when I do a netmrg-grapherer -a I can see it collecting but it onyl graphs for a little bit and quits...

K2

09-11-2005 10:23:40

I have been beating my head against the wall trying to get this graphing. Is there anything else I can try? I have the cron job setup for netmrg and in /etc/crontab. I am still getting 0 for all of my graphs....

Tim

silfreed

09-11-2005 10:39:51

Post the output of 'netmrg-gatherer -sm' and we'll see if we can find anything.

-Doug

K2

09-11-2005 11:14:36

Here is the output

NetMRG starting.
Creating Lockfile.
Initializing SNMP library.
Initializing RRDTOOL pipe.
[ACTIVE] Last 0, Now 0
[Dev 0003] Starting device thread at 2005-11-09 111319.
[Dev 0004] Starting device thread at 2005-11-09 111319.
[Dev 0003] MySQL connection established.
[Dev 0003] SKTYFILE01 / <Field Omitted>
[Dev 0004] MySQL connection established.
[Dev 0004] SKTYMON1 / <Field Omitted>
[Dev 0003] SNMP Uptime is 1 days, 200031 (16030089 centiseconds)
[Dev 0004] SNMP Uptime is 210004 (7584625 centiseconds)
[Dev 0003] Number of Interfaces is 4
[Dev 0004] Number of Interfaces is 6
[Dev 0003] [Sub 0005] Starting Subdevice.
[Dev 0004] [Sub 0007] Starting Subdevice.
[Dev 0003] [Sub 0005] [Mon 0069] Starting Monitor.
[Dev 0003] [Sub 0005] [Mon 0069] Sending '/usr/local/libexec/netmrg/ping_time.pl 10.10.36.15' to shell.
[Dev 0004] [Sub 0007] [Mon 0067] Starting Monitor.
[Dev 0004] [Sub 0007] [Mon 0067] Value 129
[Dev 0004] [Sub 0007] [Mon 0067] Value is an integer.
[Dev 0004] [Sub 0007] [Mon 0060] Starting Monitor.
[Dev 0004] [Sub 0007] [Mon 0060] Value 219043
[Dev 0004] [Sub 0007] [Mon 0060] Value is an integer.
[Dev 0004] [Sub 0007] [Mon 0059] Starting Monitor.
[Dev 0004] [Sub 0007] [Mon 0059] Value 58241
[Dev 0004] [Sub 0007] [Mon 0059] Value is an integer.
[Dev 0004] [Sub 0007] [Mon 0061] Starting Monitor.
[Dev 0004] [Sub 0007] [Mon 0061] Value 864
[Dev 0004] [Sub 0007] [Mon 0061] Value is an integer.
[Dev 0004] [Sub 0007] [Mon 0064] Starting Monitor.
[Dev 0004] [Sub 0007] [Mon 0064] Value 0.02
[Dev 0004] [Sub 0007] [Mon 0064] Value is a decimal.
[Dev 0004] [Sub 0007] [Mon 0065] Starting Monitor.
[Dev 0004] [Sub 0007] [Mon 0065] Value 0.07
[Dev 0004] [Sub 0007] [Mon 0065] Value is a decimal.
[Dev 0004] [Sub 0007] [Mon 0066] Starting Monitor.
[Dev 0004] [Sub 0007] [Mon 0066] Value 0.02
[Dev 0004] [Sub 0007] [Mon 0066] Value is a decimal.
[Dev 0004] [Sub 0007] [Mon 0057] Starting Monitor.
[Dev 0004] [Sub 0007] [Mon 0057] Value 2144384
[Dev 0004] [Sub 0007] [Mon 0057] Value is an integer.
[Dev 0004] [Sub 0007] [Mon 0058] Starting Monitor.
[Dev 0004] [Sub 0007] [Mon 0058] Value 811356
[Dev 0004] [Sub 0007] [Mon 0058] Value is an integer.
[Dev 0004] [Sub 0007] [Mon 0068] Starting Monitor.
[Dev 0004] [Sub 0007] [Mon 0068] Value 36
[Dev 0004] [Sub 0007] [Mon 0068] Value is an integer.
[Dev 0004] [Sub 0007] [Mon 0063] Starting Monitor.
[Dev 0004] [Sub 0007] [Mon 0063] Value U
[Dev 0004] [Sub 0007] [Mon 0063] Value is not numeric.
[Dev 0004] [Sub 0007] [Mon 0062] Starting Monitor.
[Dev 0004] [Sub 0007] [Mon 0062] Value U
[Dev 0004] [Sub 0007] [Mon 0062] Value is not numeric.
[Dev 0004] Trimming device event log.
[Dev 0004] Ending device thread at 2005-11-09 111319, after a duration of 0 seconds.
Thread Ended.
[Dev 0003] [Sub 0005] [Mon 0069] Value 0.228

[Dev 0003] [Sub 0005] [Mon 0069] Value is a decimal.
[Dev 0003] [Sub 0005] [Mon 0033] Starting Monitor.
[Dev 0003] [Sub 0005] [Mon 0033] Value 2096440
[Dev 0003] [Sub 0005] [Mon 0033] Value is an integer.
[Dev 0003] [Sub 0005] [Mon 0034] Starting Monitor.
[Dev 0003] [Sub 0005] [Mon 0034] Value 1458084
[Dev 0003] [Sub 0005] [Mon 0034] Value is an integer.
[Dev 0003] [Sub 0005] [Mon 0035] Starting Monitor.
[Dev 0003] [Sub 0005] [Mon 0035] Value 23409
[Dev 0003] [Sub 0005] [Mon 0035] Value is an integer.
[Dev 0003] [Sub 0005] [Mon 0036] Starting Monitor.
[Dev 0003] [Sub 0005] [Mon 0036] Value 71492
[Dev 0003] [Sub 0005] [Mon 0036] Value is an integer.
[Dev 0003] [Sub 0005] [Mon 0037] Starting Monitor.
[Dev 0003] [Sub 0005] [Mon 0037] Value 32
[Dev 0003] [Sub 0005] [Mon 0037] Value is an integer.
[Dev 0003] [Sub 0005] [Mon 0038] Starting Monitor.
[Dev 0003] [Sub 0005] [Mon 0038] Value U
[Dev 0003] [Sub 0005] [Mon 0038] Value is not numeric.
[Dev 0003] [Sub 0005] [Mon 0039] Starting Monitor.
[Dev 0003] [Sub 0005] [Mon 0039] Value U
[Dev 0003] [Sub 0005] [Mon 0039] Value is not numeric.
[Dev 0003] [Sub 0005] [Mon 0040] Starting Monitor.
[Dev 0003] [Sub 0005] [Mon 0040] Value 0.00
[Dev 0003] [Sub 0005] [Mon 0040] Value is a decimal.
[Dev 0003] [Sub 0005] [Mon 0041] Starting Monitor.
[Dev 0003] [Sub 0005] [Mon 0041] Value 0.00
[Dev 0003] [Sub 0005] [Mon 0041] Value is a decimal.
[Dev 0003] [Sub 0005] [Mon 0042] Starting Monitor.
[Dev 0003] [Sub 0005] [Mon 0042] Value 0.00
[Dev 0003] [Sub 0005] [Mon 0042] Value is a decimal.
[Dev 0003] [Sub 0005] [Mon 0043] Starting Monitor.
[Dev 0003] [Sub 0005] [Mon 0043] Value 64
[Dev 0003] [Sub 0005] [Mon 0043] Value is an integer.
[Dev 0003] [Sub 0005] [Mon 0044] Starting Monitor.
[Dev 0003] [Sub 0005] [Mon 0044] Value 2
[Dev 0003] [Sub 0005] [Mon 0044] Value is an integer.
[Dev 0003] [Sub 0005] [Mon 0070] Starting Monitor.
[Dev 0003] [Sub 0005] [Mon 0070] Value 0
[Dev 0003] [Sub 0005] [Mon 0070] Value is an integer.
[Dev 0003] Trimming device event log.
[Dev 0003] Ending device thread at 2005-11-09 111321, after a duration of 2 seconds.
Thread Ended.
[PASSIVE] Last 0, Now 0
Closed MySQL connection.
Runtime 2
Closed RRDTOOL pipe.
Cleaned up SNMP.

balleman

09-11-2005 18:28:39

What version of RRDTOOL did you install? The latest stable release of NetMRG only supports 1.0.x versions.

K2

10-11-2005 07:44:23

I'm running 1.0.50 for rrd. It seems to now be graphing some stuff. Some things are not graphing constantly like fro example the disks.

I do have a few questions about adding new things to graph. Which is the best way to had your NIC's? by adding the interface or by going in to monitored devices and selecting the NIC that way? Also would this be the same for other things you want to monitor?


Thanks for your help!
Tim

balleman

10-11-2005 19:35:39

The tutorials on this page might help http//wiki.netmrg.net/wiki/Official_Documentation