Ad Widget

Collapse

Agent Issues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chutchins
    Junior Member
    • Apr 2010
    • 25

    #1

    Agent Issues

    I am woking on a fresh install and first time with Zabbix, and I like the software but I have2 issues i've found so far.

    1 Any advice on setting up the agent as a service in 2008 R2? I cant get it setup it runs but thats it

    2 We have some "non standard" server configurations like a C drive is a removable drive and sys drive is g. When I try to run the agent it looks for the conf file on the c drive and it will never be there, ay Hints on how o fix?

    3 I am sure I can find this, but I will ask away. I am going to have to monitor a specific process, I just wanted some advice on the verbage and which settings to choose? I have tried a few, but all fail.
  • tchjts1
    Senior Member
    • May 2008
    • 1605

    #2
    Originally posted by chutchins
    I am woking on a fresh install and first time with Zabbix, and I like the software but I have2 issues i've found so far.

    1 Any advice on setting up the agent as a service in 2008 R2? I cant get it setup it runs but thats it

    2 We have some "non standard" server configurations like a C drive is a removable drive and sys drive is g. When I try to run the agent it looks for the conf file on the c drive and it will never be there, ay Hints on how o fix?

    3 I am sure I can find this, but I will ask away. I am going to have to monitor a specific process, I just wanted some advice on the verbage and which settings to choose? I have tried a few, but all fail.
    1. What does your zabbix_agentd.log report for errors?

    2. If you are installing the agentd with a non-standard conf file location and have already installed it, first, uninstall it using this command: (change to the appropriate dir where your Zabbix binaries are)

    Code:
    c:\zabbix\[B]zabbix_agentd –u --uninstall [/B]
    Now to re-install using a custom location, use this command: (This would assume you have your install binaries in g:\zabbix and are installing to g:\zabbix. zabbix_agentd.conf will also need to be in that dir to complete the install)

    Code:
    g:\zabbix\zabbix_agentd –i --install -c g:\zabbix\zabbix_agentd.conf
    That installs the binaries and creates the Zabbix service. You can start the service through the control panel, or through this commandline:

    Code:
    g:\zabbix\zabbix_agentd –s --start -c g:\zabbix\zabbix_agentd.conf
    Before you start the install, you have to have zabbix_agentd.conf in the directory you are specifying above (g:\zabbix) or wherver you want the conf file to be. I prefer to keep it in my zabbix directory. You will want some basic info in the conf file such as this: (Remove my comments before installing)

    zabbix_agentd.conf
    Code:
    Server=12.34.56.78        [B]<-- IP address of your Zabbix App server[/B]
    LogFile=g:/zabbix/zabbix_agentd.log  [B]<-- Where you want the log to be[/B]
    DebugLevel=3            [B]<-- 3 will show errors, if any,  in your log[/B]
    Hostname=myservername    [B]<-- whatever name you want, must exactly match in the Zabbix GUI[/B]
    3. Do a forum search on the keyword typeperf and it will return some good examples of what you will need to do for monitoring a windows process using UserParameters.

    Comment

    • chutchins
      Junior Member
      • Apr 2010
      • 25

      #3
      Originally posted by tchjts1
      1. What does your zabbix_agentd.log report for errors?

      2. If you are installing the agentd with a non-standard conf file location and have already installed it, first, uninstall it using this command: (change to the appropriate dir where your Zabbix binaries are)

      Code:
      c:\zabbix\[B]zabbix_agentd –u --uninstall [/B]
      Now to re-install using a custom location, use this command: (This would assume you have your install binaries in g:\zabbix and are installing to g:\zabbix. zabbix_agentd.conf will also need to be in that dir to complete the install)

      Code:
      g:\zabbix\zabbix_agentd –i --install -c g:\zabbix\zabbix_agentd.conf
      That installs the binaries and creates the Zabbix service. You can start the service through the control panel, or through this commandline:

      Code:
      g:\zabbix\zabbix_agentd –s --start -c g:\zabbix\zabbix_agentd.conf
      Before you start the install, you have to have zabbix_agentd.conf in the directory you are specifying above (g:\zabbix) or wherver you want the conf file to be. I prefer to keep it in my zabbix directory. You will want some basic info in the conf file such as this: (Remove my comments before installing)

      zabbix_agentd.conf
      Code:
      Server=12.34.56.78        [B]<-- IP address of your Zabbix App server[/B]
      LogFile=g:/zabbix/zabbix_agentd.log  [B]<-- Where you want the log to be[/B]
      DebugLevel=3            [B]<-- 3 will show errors, if any,  in your log[/B]
      Hostname=myservername    [B]<-- whatever name you want, must exactly match in the Zabbix GUI[/B]
      3. Do a forum search on the keyword typeperf and it will return some good examples of what you will need to do for monitoring a windows process using UserParameters.
      That helped a ton. I am not sure what I did wrong as I basically did exactly what you did but removed it and added it back in and voila it works.

      Comment

      Working...