Good morning everbody,
let's introduce myself: I'm a 19yo IT-Systems-Engineer from germany and I'm trying to monitor everything I can
Zabbix Server [1.1.6 stable] ist running on openSuSE (10.2) with mysql and net-snmp but I got some "errors" I can't fix at this point - hope you can - and some questions concerning ZABBIX:
1. Unix_t problem:
For testing purposes I want to monitor ZABBIX-server itself. (zabbix_server and) zabbix_agentd is started on it and I created a host called "Unix_zabbix_IPADRESS". Linked with the template "Unix_t" it should work correctly.
Here's the /etc/zabbix/zabbix_agentd.conf file for it:
question at this point:
is it possible to set the hostname equal to the IP adress? got some clients which hostnames can't be resolved to their ip-adresses. so i would try to do it all via ip-adresses.
now my problems with this config:
1. I got an vsftpd ftp server but it says "no ftp-server running"
2. I got an apache2-webserver but it says "apache webserver is not running"
3. I got xinetd running but it says "inetd is not running"
4. it says "web-server is not running" hello? apache2? it listens on port 80, but this trigger won't get it, thought.
5. server {HOSTNAME} is not reachable, think this will be the thing about "not-resolving-hostnames". can I put the hosts IP-Adress in the agentd.conf at "HOSTNAME=$" thing?
How to fix these things?
2. Windows_t problems:
I want to monitore my Windows XP Prof SP2 machine, too. so i installed the agentd as a system service with the following config:
question at this point: can i set the HOSTNAME equal to the IPADRESS of my client? (HOSTNAME=192.168.0.x)?
here we go:
I created a host windows_IPADDRESSEOFIT and linked it with windows_t template.
"Cannot connect to [Windows_192.168.0.66] [Connection refused] " this is what i got, my machine hasn't a firewall running. so whats the problem?
caused of this issue i can't monitore it anyway.
but on the machine
administration --> services --> zabbixw32 agentd gives status "is going to start" (I don't know the exact english-phrase, but it differs from "started" and "stopped" like "tell the service to start") maybe that's a glue?
solution? tips?
3. generel questions:
do i have to reinstall the zabbixw32 service everytime i change the configuration file or is it only necessary to restart the service?
are there any things I should think about using zabbix on a opensuse system?
i think that's it for the moment, hope you guys could help me. thanks a very lot
best regards,
deathstar.
let's introduce myself: I'm a 19yo IT-Systems-Engineer from germany and I'm trying to monitor everything I can

Zabbix Server [1.1.6 stable] ist running on openSuSE (10.2) with mysql and net-snmp but I got some "errors" I can't fix at this point - hope you can - and some questions concerning ZABBIX:
1. Unix_t problem:
For testing purposes I want to monitor ZABBIX-server itself. (zabbix_server and) zabbix_agentd is started on it and I created a host called "Unix_zabbix_IPADRESS". Linked with the template "Unix_t" it should work correctly.
Here's the /etc/zabbix/zabbix_agentd.conf file for it:
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=192.168.0.75 # Server port for sending active checks ServerPort=10051 # Unique hostname. Required for active checks. Hostname=zabbix.project.dom # Listen port. Default is 10050 ListenPort=10050 # IP address to bind agent # If missing, bind to all available IPs ListenIP=192.168.0.75 # 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=120 # Disable active checks. The agent will work in passive mode listening server. #DisableActive=1 # Enable remote commands for ZABBIX agent. By default remote commands disabled. #EnableRemoteCommands=1 # 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=3 # Name of PID file PidFile=/var/tmp/zabbix_agentd_192.168.0.75.pid # Name of log file. # If not set, syslog will be used LogFile=/tmp/zabbix_agentd_192.168.0.75.log # Spend no more than Timeout seconds on processing # Must be between 1 and 30 Timeout=3 ####### USER-DEFINED MONITORED PARAMETERS ####### # Format: UserParameter=<key>,<shell command> # Note that shell command must not return empty string or EOL only #UserParameter=system.test,who|wc -l ### Set of parameter for monitoring MySQL server (v3.23.42 and later) ### Change -u<username> and add -p<password> if required #UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l #UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T" #UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q" #UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S" #UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O" #UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":" #UserParameter=mysql.version,mysql -V
is it possible to set the hostname equal to the IP adress? got some clients which hostnames can't be resolved to their ip-adresses. so i would try to do it all via ip-adresses.
now my problems with this config:
1. I got an vsftpd ftp server but it says "no ftp-server running"
2. I got an apache2-webserver but it says "apache webserver is not running"
3. I got xinetd running but it says "inetd is not running"
4. it says "web-server is not running" hello? apache2? it listens on port 80, but this trigger won't get it, thought.
5. server {HOSTNAME} is not reachable, think this will be the thing about "not-resolving-hostnames". can I put the hosts IP-Adress in the agentd.conf at "HOSTNAME=$" thing?
How to fix these things?
2. Windows_t problems:
I want to monitore my Windows XP Prof SP2 machine, too. so i installed the agentd as a system service with the following config:
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=192.168.0.75 # Server port for sending active checks ServerPort=10051 # Unique hostname. Required for active checks. Hostname=hq # 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=120 # Disable active checks. The agent will work in passive mode listening server. #DisableActive=1 # Enable remote commands for ZABBIX agent. By default remote commands disabled. #EnableRemoteCommands=1 # 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=3 # Name of PID file PidFile=/var/tmp/zabbix_agentd_192.168.0.66.pid # Name of log file. # If not set, syslog will be used LogFile=/tmp/zabbix_agentd_192.168.0.66.log # Spend no more than Timeout seconds on processing # Must be between 1 and 30 Timeout=3 ####### USER-DEFINED MONITORED PARAMETERS ####### # Format: UserParameter=<key>,<shell command> # Note that shell command must not return empty string or EOL only #UserParameter=system.test,who|wc -l ### Set of parameter for monitoring MySQL server (v3.23.42 and later) ### Change -u<username> and add -p<password> if required #UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l #UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T" #UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q" #UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S" #UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O" #UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":" #UserParameter=mysql.version,mysql -V
here we go:
I created a host windows_IPADDRESSEOFIT and linked it with windows_t template.
"Cannot connect to [Windows_192.168.0.66] [Connection refused] " this is what i got, my machine hasn't a firewall running. so whats the problem?
caused of this issue i can't monitore it anyway.
but on the machine
administration --> services --> zabbixw32 agentd gives status "is going to start" (I don't know the exact english-phrase, but it differs from "started" and "stopped" like "tell the service to start") maybe that's a glue?
solution? tips?
3. generel questions:
do i have to reinstall the zabbixw32 service everytime i change the configuration file or is it only necessary to restart the service?
are there any things I should think about using zabbix on a opensuse system?
i think that's it for the moment, hope you guys could help me. thanks a very lot

best regards,
deathstar.
Comment