Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Above is my cacti info. I have Ubuntu 6.06 installed on a vmware machine. The VM main OS is windows 2003. This is a new install. I have cacti and nagios installed on this server. The problem is I am getting a status unknown on the device page. I know the device is up and SNMP is working on the device because I look at my old install of cacti which I still have up and running and the status says up and I get SNMP info.
Now for the local host which is the only device after an install, that says up, but all the other devices say unknown. Any ides why? If I click on the ap07 device I do get SNMP info in the top corner.
You get SNMP info, so it seems that Cacti is at least able to do some type of communication to the device, so we can rule out you having the VMWare adapter setup incorrectly.
Can you ping the host from the Cacti machine? Do you have the Downed Host Detection (under Settings >> Poller) set to SNMP, SNMP and Ping, or Ping?
Also, nice to see you use the Hostinfo plugin for its intended purpose!
cigamit wrote:You get SNMP info, so it seems that Cacti is at least able to do some type of communication to the device, so we can rule out you having the VMWare adapter setup incorrectly.
Can you ping the host from the Cacti machine? Do you have the Downed Host Detection (under Settings >> Poller) set to SNMP, SNMP and Ping, or Ping?
Also, nice to see you use the Hostinfo plugin for its intended purpose!
Yes I can ping the host from the Cacti machine. My settings for down host detection WERE set to SNMP only and UDP. I have changed them to ping and SNMP and ICMP. Now I am getting a ms response to the local host but the others are still at uknown.
[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]
From the web interface, go to system utilities and view the Cacti log. What is the last SYSTEM STATS line you see, and it's time stamp?
See nothing, then the poller is not running.
[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]
If you want to use ping, I suggest, reluctantly, that you run the poller as root.
[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]
1) Goto Utilities and Select "View Poller Cache"
2) Verify that there are Data Sources for the hosts in question. If not, stop.
3) Turn logging to DEBUG
4) Open a shell as root/administrator and run "php <path_cacti>/cmd.php"
5) If you get responses, this is good. Look for host status information, like host is up, or host down skipping...
6) If you don't see bad information, then your issue would be permissions or local environment.
7) Next, as root/administrator, run "php poller.php", you should get lot's of "OK"'s.
If you failed step 2), then you likely have a database issue and should simply first check that you have all the patches applied, and if you do, reinstall your database. If running MySQL 5.x, make sure strict mode if off.
TheWitness
True understanding begins only when we realize how little we truly understand...