|
|
| Author |
Message |
K2 Helper
Joined: 08 Nov 2005 Posts: 10
|
Posted: Tue Nov 08, 2005 1:06 pm Post subject: No data being graphed.... |
|
|
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 |
|
| Back to top |
|
 |
K2 Helper
Joined: 08 Nov 2005 Posts: 10
|
Posted: Tue Nov 08, 2005 1:09 pm Post subject: addition |
|
|
| I would also like to add that not all graphs are being drawn... ?? |
|
| Back to top |
|
 |
silfreed Site Admin
Joined: 19 Jan 2003 Posts: 394 Location: Shippensburg, PA, USA
|
Posted: Tue Nov 08, 2005 1:48 pm Post subject: |
|
|
Have you setup the cron script?
Did you use the RPM to install, or install from source?
-Doug |
|
| Back to top |
|
 |
K2 Helper
Joined: 08 Nov 2005 Posts: 10
|
Posted: Tue Nov 08, 2005 1:52 pm Post subject: graphs |
|
|
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 |
|
| Back to top |
|
 |
K2 Helper
Joined: 08 Nov 2005 Posts: 10
|
Posted: Tue Nov 08, 2005 3:47 pm Post subject: logs |
|
|
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 10:45:01.
[Dev: 0003] Starting device thread at 2005-11-08 10:45:01.
[Dev: 0003] Ending device thread at 2005-11-08 10:45:01, after a duration of 0 seconds.
Thread Ended.
[Dev: 0002] Ending device thread at 2005-11-08 10:45:01, after a duration of 0 seconds.
Thread Ended. |
|
| Back to top |
|
 |
silfreed Site Admin
Joined: 19 Jan 2003 Posts: 394 Location: Shippensburg, PA, USA
|
Posted: Tue Nov 08, 2005 4:09 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
K2 Helper
Joined: 08 Nov 2005 Posts: 10
|
Posted: Tue Nov 08, 2005 8:25 pm Post subject: |
|
|
| 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... |
|
| Back to top |
|
 |
K2 Helper
Joined: 08 Nov 2005 Posts: 10
|
Posted: Wed Nov 09, 2005 3:23 pm Post subject: anything else to try? |
|
|
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 |
|
| Back to top |
|
 |
silfreed Site Admin
Joined: 19 Jan 2003 Posts: 394 Location: Shippensburg, PA, USA
|
Posted: Wed Nov 09, 2005 3:39 pm Post subject: |
|
|
Post the output of 'netmrg-gatherer -sm' and we'll see if we can find anything.
-Doug |
|
| Back to top |
|
 |
K2 Helper
Joined: 08 Nov 2005 Posts: 10
|
Posted: Wed Nov 09, 2005 4:14 pm Post subject: |
|
|
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 11:13:19.
[Dev: 0004] Starting device thread at 2005-11-09 11:13:19.
[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, 20:00:31 (16030089 centiseconds)
[Dev: 0004] SNMP Uptime is 21:00:04 (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 11:13:19, 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 11:13:21, after a duration of 2 seconds.
Thread Ended.
[PASSIVE] Last: 0, Now: 0
Closed MySQL connection.
Runtime: 2
Closed RRDTOOL pipe.
Cleaned up SNMP.
[/img] |
|
| Back to top |
|
 |
balleman Site Admin
Joined: 20 Jan 2003 Posts: 282
|
Posted: Wed Nov 09, 2005 11:28 pm Post subject: |
|
|
| What version of RRDTOOL did you install? The latest stable release of NetMRG only supports 1.0.x versions. |
|
| Back to top |
|
 |
K2 Helper
Joined: 08 Nov 2005 Posts: 10
|
Posted: Thu Nov 10, 2005 12:44 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
balleman Site Admin
Joined: 20 Jan 2003 Posts: 282
|
|
| Back to top |
|
 |
|