Old (deleted) host still being polled?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
william
Posts: 18
Joined: Mon Jun 06, 2005 5:38 am

Old (deleted) host still being polled?

Post by william »

Hi guys,

the spec:

cacti 0.8.6d
freebsd 5.3-release
rrdtool 1.0.49

the problem:

when I first set the box up in the office I had it polling a 'test' box to make sure it can poll properly, the box it was polling was using the ip address 192.168.0.27.

Once the cacti box was on the clients site and configured to poll their devices I deleted the entry out of the 'devices' menu in the console part of the web frontend.

After checking the firewall onsite I can see the cacti box is still trying to poll 192.168.0.27 constantly on the SNMP port, but obviously this machine doesnt exist anymore (nor the network on that clients site).

I cannot find an entry anywhere for 192.168.0.27 on the web frontend, is there somewhere else I can look (like a file?) to see if there is an entry that points to this device?

Cheers,

William
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

try re-building your poller cache (System utilities -> Clear poller cache).
[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]
william
Posts: 18
Joined: Mon Jun 06, 2005 5:38 am

Post by william »

Just given it a whirl and its still polling the old host.

Cheers.
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Do you have some data sources not attached to a host ?
You can find them under Data sources -> Select a host -> None
[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]
william
Posts: 18
Joined: Mon Jun 06, 2005 5:38 am

Post by william »

checked, nothing there. Also tried 'Any' to see if there was any data sources that shouldnt be there and it all looks normal.
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Sometimes the "Clear poller cache" function doesn't work. Try to truncate the poller_output table : http://forums.cacti.net/viewtopic.php?p=33816#33816
[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]
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

If the host has been deleted and you have cleared the poller cache. The only way that polling would be occuring is that you have left over Data Sources.

Please check you Data Sources again, by selecting None on the filter at the top and deleting any Data Sources that appear.

Also, there is another possibility. A poorly constructed script and data source attached to another host could be querying the host in question.

If you do not have any non-attached Data Sources, please post one pass of your Poller Log in Debug mode.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
william
Posts: 18
Joined: Mon Jun 06, 2005 5:38 am

Post by william »

fmangeant wrote:Sometimes the "Clear poller cache" function doesn't work. Try to truncate the poller_output table : http://forums.cacti.net/viewtopic.php?p=33816#33816
returned was Query OK, 0 rows affected (0.00sec)

still doing it, will continue with suggestions.
william
Posts: 18
Joined: Mon Jun 06, 2005 5:38 am

Post by william »

Seems like it wasnt cacti at all (suprise suprise), it was another program I had completely forgot about. Sorry for wasting your time!

I worked this out by checking the firewall logs which told me the host was being polled every 5 minutes, the cron entry i have for cacti's poller isnt every 5 minutes so I found an offending crontab entry and its fixed it!
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests