[SOLVED] Cacti / SNMP problem, wrong data.Also broken forum?
Moderators: Developers, Moderators
[SOLVED] Cacti / SNMP problem, wrong data.Also broken forum?
your forum is broken! just tried posting and got:
------------
Error in posting
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' forum_topics = forum_topics + 1 WHERE forum_id = 2' at line 2
UPDATE forums SET forum_posts = forum_posts + 1, forum_last_post_id = , forum_topics = forum_topics + 1 WHERE forum_id = 2
Line : 423
File : functions_post.php
------------
Error in posting
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' forum_topics = forum_topics + 1 WHERE forum_id = 2' at line 2
UPDATE forums SET forum_posts = forum_posts + 1, forum_last_post_id = , forum_topics = forum_topics + 1 WHERE forum_id = 2
Line : 423
File : functions_post.php
Last edited by mwadham on Thu Jan 17, 2008 11:08 am, edited 1 time in total.
Let's see if i can reply to this post with the post that keeps generating the above error...
------------------
Hi,
I don't really understand Cacti to any great degree so I apologise if this is a trivial matter, but it's rather confusing.
We have recently changed the name of an interface on our core router but when executing the query via Cacti it seems to be sticking with the old information. The community string and other variables are all correct as a manual snmpwalk command does retrieve information back from the device, however I don't know how to manually retrieve interface names from it.
I have attached a screenshot from Cacti, which shows what comes up when I click "create graphs for this host". The problem is with the last line of output, the interface name, which I unfortunately have to blank out for company confidentiality, is still coming up as the old interface name.
How can I firstly query the router directly to make sure that it's returning the correct name, and secondly if it is returning the correct name, why isn't cacti picking this up?
Any troubleshooting steps or advice would be much appreciated.
------------------
Hi,
I don't really understand Cacti to any great degree so I apologise if this is a trivial matter, but it's rather confusing.
We have recently changed the name of an interface on our core router but when executing the query via Cacti it seems to be sticking with the old information. The community string and other variables are all correct as a manual snmpwalk command does retrieve information back from the device, however I don't know how to manually retrieve interface names from it.
I have attached a screenshot from Cacti, which shows what comes up when I click "create graphs for this host". The problem is with the last line of output, the interface name, which I unfortunately have to blank out for company confidentiality, is still coming up as the old interface name.
How can I firstly query the router directly to make sure that it's returning the correct name, and secondly if it is returning the correct name, why isn't cacti picking this up?
Any troubleshooting steps or advice would be much appreciated.
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
can you click on the green circle to re-run the data query ?
can you click on the green circle to re-run the data query ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Can you run that :
Code: Select all
$ snmpwalk -v 1 -c yourcommunity xx.xx.xx.xx ifalias
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Who is online
Users browsing this forum: No registered users and 3 guests