lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

Pending Initial Gathering

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
MChandler
Beginner


Joined: 30 Jun 2006
Posts: 2
Location: Long Beach, CA

PostPosted: Fri Jun 30, 2006 6:26 pm    Post subject: Pending Initial Gathering Reply with quote

I have setup Netmrg 0.18.2-1 on Fedora Core 4 with two devices (localhost and a Cisco Router) in NetMRG but I am getting no graphs and it states "Pending Initial Gathering". I already have MRTG running on this box so I'm pretty sure SNMP is working correctly. Can anyone point me in the right direction? The documentation is a bit sparse.

This is what I get when I run netmrg-gatherer --sa

[L: 0032, C: 0001] NetMRG starting.
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0064, C: 0001] Creating Lockfile.
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0064, C: 0257] Initializing SNMP library.
[L: 0064, C: 0129] Initializing RRDTOOL pipe.
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking MySQL
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Unlocking MySQL
[L: 0128, C: 1024] Mysql Query Succeeded. (SELECT version FROM versioninfo WHERE module = 'Main')
[L: 0128, C: 1024] Mysql Query Succeeded. (SELECT id FROM devices WHERE disabled=0 ORDER BY id)
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking ActiveThreads
[L: 0064, C: 0002] [ACTIVE] Last: 0, Now: 0
[L: 0032, C: 0004] [Dev: 0003] Starting device thread at 2006-06-30 09:32:19.
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking MySQL
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Unlocking MySQL
[L: 0064, C: 0004] [Dev: 0003] MySQL connection established.
[L: 0128, C: 1024] [Dev: 0003] Mysql Query Succeeded. (SELECT name, ip, snmp_version, snmp_read_community, snmp_recache_method, snmp_uptime, snmp_ifnumber, snmp_port, snmp_timeout, snmp_retries, no_snmp_uptime_check FROM devices WHERE id=3)
[L: 0064, C: 0004] [Dev: 0003] CBS-GARD-L1 / <Field Omitted>
[L: 0128, C: 0256] [Dev: 0003] Starting SNMP Session.
[L: 0128, C: 0256] [Dev: 0003] SNMPv1
[L: 0128, C: 0256] [Dev: 0003] Port: 161; Timeout: 1000000; Retries: 3.
[L: 0128, C: 0002] Locking SNMP
[L: 0128, C: 0002] Unlocking SNMP
[L: 0128, C: 0256] [Dev: 0003] SNMP Query (<Field Omitted>, <Field Omitted>, 'system.sysUpTime.0')
[L: 0032, C: 0004] [Dev: 0004] Starting device thread at 2006-06-30 09:32:19.
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking MySQL
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Unlocking MySQL
[L: 0064, C: 0004] [Dev: 0004] MySQL connection established.
[L: 0128, C: 1024] [Dev: 0004] Mysql Query Succeeded. (SELECT name, ip, snmp_version, snmp_read_community, snmp_recache_method, snmp_uptime, snmp_ifnumber, snmp_port, snmp_timeout, snmp_retries, no_snmp_uptime_check FROM devices WHERE id=4)
[L: 0064, C: 0004] [Dev: 0004] Astro-Gardena-Router / <Field Omitted>
[L: 0128, C: 0256] [Dev: 0004] Starting SNMP Session.
[L: 0128, C: 0256] [Dev: 0004] SNMPv2c
[L: 0128, C: 0256] [Dev: 0004] Port: 161; Timeout: 1000000; Retries: 3.
[L: 0128, C: 0002] Locking SNMP
[L: 0128, C: 0002] Unlocking SNMP
[L: 0128, C: 0256] [Dev: 0004] SNMP Query (<Field Omitted>, <Field Omitted>, 'system.sysUpTime.0')
[L: 0064, C: 0256] [Dev: 0003] SNMP Uptime is Zilch (0 centiseconds)
[L: 0128, C: 1024] [Dev: 0003] MySQL Update Succeeded. (UPDATE devices SET snmp_uptime=0 WHERE id=3)
[L: 0016, C: 0004] [Dev: 0003] Device is SNMP-dead. Avoiding SNMP tests.
[L: 0064, C: 0256] [Dev: 0004] SNMP Uptime is Zilch (0 centiseconds)
[L: 0128, C: 1024] [Dev: 0004] MySQL Update Succeeded. (UPDATE devices SET snmp_uptime=0 WHERE id=4)
[L: 0016, C: 0004] [Dev: 0004] Device is SNMP-dead. Avoiding SNMP tests.
[L: 0128, C: 1024] MySQL Update Succeeded. (INSERT INTO log SET date=NOW(), dev_id=3, subdev_id=NULL, mon_id=NULL, level=16, component=4, message = 'Device is SNMP-dead. Avoiding SNMP tests.')
[L: 0128, C: 1024] MySQL Update Succeeded. (INSERT INTO log SET date=NOW(), dev_id=4, subdev_id=NULL, mon_id=NULL, level=16, component=4, message = 'Device is SNMP-dead. Avoiding SNMP tests.')
[L: 0128, C: 1024] [Dev: 0003] Mysql Query Succeeded. (SELECT id, type, name FROM sub_devices WHERE dev_id=3)
[L: 0064, C: 0008] [Dev: 0003] [Sub: 0005] Starting Subdevice.
[L: 0128, C: 1024] [Dev: 0004] Mysql Query Succeeded. (SELECT id, type, name FROM sub_devices WHERE dev_id=4)
[L: 0128, C: 1024] [Dev: 0003] [Sub: 0005] Mysql Query Succeeded. (SELECT name, value FROM sub_dev_variables WHERE type = 'static' AND sub_dev_id = 5)
[L: 0128, C: 1024] [Dev: 0004] MySQL Update Succeeded. (UPDATE devices SET status=0, snmp_avoided=1 WHERE id=4)
[L: 0128, C: 0256] [Dev: 0004] Cleaning up SNMP Session.
[L: 0064, C: 0004] [Dev: 0004] Trimming device event log.
[L: 0128, C: 1024] [Dev: 0003] [Sub: 0005] MySQL Update Succeeded. (DELETE FROM sub_dev_variables WHERE type = 'dynamic' AND sub_dev_id = 5)
[L: 0128, C: 1024] [Dev: 0004] Mysql Query Succeeded. (SELECT id FROM log WHERE dev_id=4 ORDER BY id)
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0032, C: 0004] [Dev: 0004] Ending device thread at 2006-06-30 09:32:23, after a duration of 4 seconds.
[L: 0128, C: 0002] Locking ActiveThreads
[L: 0128, C: 0002] Unlocking ActiveThreads
[L: 0032, C: 0002] Thread Ended.
[L: 0128, C: 1024] [Dev: 0003] [Sub: 0005] MySQL Update Succeeded. (INSERT DELAYED INTO sub_dev_variables SET type = 'dynamic', sub_dev_id = 5, name = 'subdev_name', value = 'System')
[L: 0128, C: 1024] [Dev: 0003] [Sub: 0005] MySQL Update Succeeded. (INSERT DELAYED INTO sub_dev_variables SET type = 'dynamic', sub_dev_id = 5, name = 'snmp_read_community', value = 'public')
[L: 0128, C: 1024] [Dev: 0003] [Sub: 0005] MySQL Update Succeeded. (INSERT DELAYED INTO sub_dev_variables SET type = 'dynamic', sub_dev_id = 5, name = 'ip', value = '127.0.0.1')
[L: 0128, C: 1024] [Dev: 0003] [Sub: 0005] MySQL Update Succeeded. (INSERT DELAYED INTO sub_dev_variables SET type = 'dynamic', sub_dev_id = 5, name = 'dev_name', value = 'CBS-GARD-L1')
[L: 0128, C: 1024] [Dev: 0003] [Sub: 0005] Mysql Query Succeeded. (SELECT monitors.data_type, data_types.rrd_type, monitors.min_val, monitors.max_val, monitors.tuned, monitors.test_type, monitors.test_id, monitors.test_params, monitors.last_val, monitors.id, NOW() - monitors.last_time FROM monitors LEFT JOIN data_types ON monitors.data_type=data_types.id WHERE sub_dev_id = 5)
[L: 0128, C: 1024] [Dev: 0003] [Sub: 0005] MySQL Update Succeeded. (UPDATE sub_devices SET status=0 WHERE id=5)
[L: 0128, C: 1024] [Dev: 0003] MySQL Update Succeeded. (UPDATE devices SET status=0, snmp_avoided=1 WHERE id=3)
[L: 0128, C: 0256] [Dev: 0003] Cleaning up SNMP Session.
[L: 0064, C: 0004] [Dev: 0003] Trimming device event log.
[L: 0128, C: 1024] [Dev: 0003] Mysql Query Succeeded. (SELECT id FROM log WHERE dev_id=3 ORDER BY id)
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0032, C: 0004] [Dev: 0003] Ending device thread at 2006-06-30 09:32:23, after a duration of 4 seconds.
[L: 0128, C: 0002] Locking ActiveThreads
[L: 0128, C: 0002] Unlocking ActiveThreads
[L: 0032, C: 0002] Thread Ended.
[L: 0064, C: 0002] [PASSIVE] Last: 0, Now: 0
[L: 0128, C: 0002] Unlocking ActiveThreads
[L: 0064, C: 0001] Closed MySQL connection.
[L: 0064, C: 0001] Runtime: 4
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0064, C: 0129] Closed RRDTOOL pipe.
[L: 0064, C: 0257] Cleaned up SNMP.
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Fri Jun 30, 2006 7:00 pm    Post subject: Reply with quote

Unfortunately, it does look like an SNMP issue of some sort. Can you try to snmpwalk from the netmrg user on your machine:
Code:

snmpwalk -v1 -c your-snmp-community your-device-ip-address system


To verify all is well?
Back to top
MChandler
Beginner


Joined: 30 Jun 2006
Posts: 2
Location: Long Beach, CA

PostPosted: Fri Jun 30, 2006 8:19 pm    Post subject: Reply with quote

Looks like it worked.


SNMPv2-MIB::sysDescr.0 = STRING: Cisco Internetwork Operating System Software
IOS (tm) 3700 Software (C3725-ENTSERVICESK9-M), Version 12.3(9d), RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Fri 01-A
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.9.1.414
SNMPv2-MIB::sysUpTime.0 = Timeticks: (10875230) 1 day, 6:12:32.30
SNMPv2-MIB::sysContact.0 = STRING:
SNMPv2-MIB::sysName.0 = STRING: Astro_Gardena1.cusa.canon.com
SNMPv2-MIB::sysLocation.0 = STRING: Gardena,Ca.
SNMPv2-MIB::sysServices.0 = INTEGER: 78
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Fri Jun 30, 2006 8:27 pm    Post subject: Reply with quote

Yes, looks like it works.

Please try disabling the SNMP uptime check for your devices. The option is on the Devices Page (docs). It is possible your local SNMP configuration is causing issues with NetMRG's handling of the SNMP uptime.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group