General configuration of cacti

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

Moderators: Developers, Moderators

User avatar
IMurDOOM
Posts: 24
Joined: Mon Oct 31, 2005 4:17 am
Location: Germany ^^
Contact:

Post by IMurDOOM »

Yes, now, the Host is down and i don't know why.

I solved the problem with the socket with adding the host
to the whitelist of mysql.
There's a Problem when executing the poller.php:

POLLER: Poller(0) DEGUB: About to Spawn a remote Process [CMD: /opt/lampp/htdocs/cacti/lib/ ARGS: 0 0]
Sh: /opt/lampp(htdocs/cacti/lib/ is a directory
POLLER: Poller(0) DEGUB: About to Spawn a remote Process [CMD: /opt/lampp/htdocs/cacti/lib/ ARGS: 1 1]
Sh: /opt/lampp(htdocs/cacti/lib/ is a directory

It seems that the poller.php don't know, which fiel it should execute.
I executed it in the shell.

Why do I have to add the path in the input method.
It'll be executed by the shell via a cron job.
So cacti doesn't have to know where the file is.
Help me when i'm wrong.

Thanks for your nice help. I think in a few days i get a bit along with it.
I hope so. ;D

Micha
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

IMurDOOM wrote:Yes, now, the Host is down and i don't know why.
To fiddle around with "Downed Host Detection", go to "Settings". Follwoing methods are available: "Ping", "SNMP" and a combination. Using "Ping", the "UDP Ping" method is default.
SNMP will try to get response from the remote host using UDP:161, UDP Ping uses some port above 30,000 (which may be blocked by a firewall). To minimize problems, select SNMP (you will need SNMP to get values from the remote host, so this SHOULD work well - or: no data). To deactive "Downed Host Detection" completely, please wipe out the "SNMP Community String" from the "Device" screen (as I told before). This may be an option if you use e.g. "Advanced Ping Template" with TCP:80 against some remote host in the wild which will not respond to your SNMP requests.
Reinhard
User avatar
inetquestion
Cacti User
Posts: 67
Joined: Wed Feb 01, 2006 11:13 am
Location: Charlotte NC

udp ping port?

Post by inetquestion »

Is there a way to fine tune which UDP port which is used for ping? My firewall guys are going to have me for lunch if I tell them to open up

UDP * or UDP > 30000.
User avatar
inetquestion
Cacti User
Posts: 67
Joined: Wed Feb 01, 2006 11:13 am
Location: Charlotte NC

Post by inetquestion »

is there where a udp port is specified in lib/ping.php?





function Net_Ping() {
$this->port = 33439;
}
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I'm quite sure this IS the correct snippet though I never tried to change the port
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests