cacti, mrtg, and snmpwalk don't work after computer reboot cannot collect snmp data
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.