Ok I got passive checks to work just fine. But the box that i want to monitor is going to be offsite soon and I cannot punch any holes into the firewall so I have to use active checks.
I am running 1.1beta12
Here is the network setup currently..
agent (w2k) hostname: blah ipaddress: 21.21.21.10
|
|
Firewall trusted port ipaddress 21.21.21.1 untrusted port ipaddress 148.0.0.1
|
|
Zabbix server ip address 148.0.0.2
from the agent i can ping 148.0.0.2 telnet (port 10051) into the zabbix server, ssh into zabbix server, and bring up the zabbix frontend (web)
From the zabbix server I cannot ping the the agent.
After moving from passive checks to active checks and the new network I made the change to the zabbix_agentd.conf file then I restarted the service
DisableActive=0
Here is my entire zabbix_agent.conf file:
If I run the zabbix agent in standalone mode I get this result:
If I just unplug the zabbix server I get this error from the standalone box
[14-Jul-2006 07:53:20] Active checks [Cannot connect to [148.0.0.2:10051] [No error]]
I run a netstat -an i see
0.0.0.0:10051
When I run tcpview from the agent I do not see any connects to the server at all.
Sorry for the but i tried to be as detailed as possible.
I am running 1.1beta12
Here is the network setup currently..
agent (w2k) hostname: blah ipaddress: 21.21.21.10
|
|
Firewall trusted port ipaddress 21.21.21.1 untrusted port ipaddress 148.0.0.1
|
|
Zabbix server ip address 148.0.0.2
from the agent i can ping 148.0.0.2 telnet (port 10051) into the zabbix server, ssh into zabbix server, and bring up the zabbix frontend (web)
From the zabbix server I cannot ping the the agent.
After moving from passive checks to active checks and the new network I made the change to the zabbix_agentd.conf file then I restarted the service
DisableActive=0
Here is my entire zabbix_agent.conf file:
Code:
# This is config file for zabbix_agentd # To get more information about ZABBIX, go http://www.zabbix.com ############ GENERAL PARAMETERS ################# # List of comma delimited IP addresses (or hostnames) of ZABBIX Servers. # No spaces allowed. First entry is used for sending active checks. # Note that hostnames must resolve hostname - IP address and # IP address - hostname. Server=148.0.0.2 # Server port for sending active checks ServerPort=10051 # Unique hostname. Required for active checks. Hostname=blah # Listen port. Default is 10050 ListenPort=10050 # IP address to bind agent # If missing, bind to all available IPs #ListenIP=127.0.0.1 # Number of pre-forked instances of zabbix_agentd. # Default value is 5 # This parameter must be between 1 and 16 StartAgents=5 # How often refresh list of active checks. 2 minutes by default. RefreshActiveChecks=10 # Disable active checks. The agent will work in passive mode listening server. DisableActive=0 # Specifies debug level # 0 - debug is not created # 1 - critical information # 2 - error information # 3 - warnings (default) # 4 - for debugging (produces lots of information) DebugLevel=4 # Name of PID file #PidFile=c:\zabbix/zabbix_agentd.pid # Name of log file. # If not set, syslog will be used LogFile=c:\zabbix/zabbix_agentd.log # Spend no more than Timeout seconds on processing # Must be between 1 and 30 Timeout=3 ##### Experimental options. Use with care ! ##### # Get rid of sockets in TIME_WAIT state # This will set socket option SO_LINGER # NoTimeWait=1 ##### End of experimental options ####### USER-DEFINED MONITORED PARAMETERS ####### # Format: "UserParameter='key','shell command'" # Note that shell command must not return empty string or EOL only UserParameter=mysql.version,mysql -V
Code:
*** Zabbix Win32 agent operational. Press ESC to terminate. *** [14-Jul-2006 07:52:59] Information: 520 : Listen thread is Started. [14-Jul-2006 07:52:59] Information: 1516 : Listen thread is Started. [14-Jul-2006 07:52:59] Information: 996 : Listen thread is Started. [14-Jul-2006 07:53:00] Information: 752 : Listen thread is Started. [14-Jul-2006 07:53:00] Information: 1400 : Listen thread is Started. [14-Jul-2006 07:53:00] Information: 976 : Listen thread is Started. [14-Jul-2006 07:53:00] Information: 1644 : Listen thread is Started. [14-Jul-2006 07:53:00] Information: 796 : Listen thread is Started. [14-Jul-2006 07:53:00] Information: 800 : Listen thread is Started. [14-Jul-2006 07:53:00] Information: 500 : Listen thread is Started.
[14-Jul-2006 07:53:20] Active checks [Cannot connect to [148.0.0.2:10051] [No error]]
I run a netstat -an i see
0.0.0.0:10051
When I run tcpview from the agent I do not see any connects to the server at all.
Sorry for the but i tried to be as detailed as possible.