Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-07-2009, 08:04 AM   #1
Senior Member
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,314

Rep: Reputation: 98
Exclamation cacti, mrtg, and snmpwalk don't work after computer reboot cannot collect snmp data

I was having some issues running ipband on a system that had some other monitoring utilities/servers on it, so I decided to just start fresh and reboot the server, after the reboot everything came back up (and my ipband issue was rectified) However, I have lost snmp communication with my firewall, cacti, mrtg and snmpwalk fail to return any data from it. It appears cacti is still collecting data from the snmp service on the server itself, however, it will not collect any from the firewall/router. mrtg has just been outputting the same number since the reboot (indicating it can't talk to the firewall) and when I try snmpwalk I get a timeout error. I have recreated the snmp group on the firewall, restarted the firewall, enabled/disabled/re-enable snmp access to firewall. Changed settings in cacti, then changed them back. Added a new source in cacti for the device and received the same error.

The device is a Juniper SSG140 running netscreen, the server is an HP Xeon quadcore with 4 GB of RAM running one VM in addition to the monitoring utilities, no issues with the VM or anything else on the server, just the snmp monitoring utilities.

Note: I have two NICS in this unit and one NIC is connected to the network for network access and the other NIC is connected running in promiscuous mode for the monitoring utilities.

Any idea what may be going on here or how to rectify it? I have googled all ready but didn't see anything that seemed applicable, although I may have overlooked something.

Thanks in advance for the assistance.

Old 08-03-2009, 04:58 AM   #2
LQ Newbie
Registered: Sep 2008
Posts: 9

Rep: Reputation: 0
Dunno if this will help but you could try running tcpdump on port 161, running a snmpwalk and then analysing the pcap using wireshark to see what the server response actually is. Also tail -f /var/log/messages | grep -i snmp while you are running snmpwalk
Old 08-03-2009, 07:15 AM   #3
Senior Member
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,314

Original Poster
Rep: Reputation: 98
Actually it was very odd, but shortly after I posted this snmp data started being collected again and I have not had a major issue since. Thank you for the reply though.


cacti, firewall, juniper, monitoring, mrtg, router, snmp

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
snmp problem, regarding snmpwalk, please help wooonix Linux - Networking 1 06-24-2009 07:16 AM
SNMP: snmpwalk giving dissimilar results jaredboyd Linux - Networking 0 09-23-2008 12:26 PM
MRTG cfgmaker Error SNMPwalk problem manish_2479 Linux - Networking 3 07-10-2007 03:48 PM
SNMP MRTG RRDTOOL Configu of CPU memory Disk Port data traffic doc traffic manish_2479 Linux - Networking 1 06-19-2007 07:08 AM
SNMP not in use - Cacti Zetec Ubuntu 2 07-16-2006 03:49 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration