PDA

View Full Version : Zabbix Agent Installer for Windows (W32 & w64)

scotty
10-11-2006, 21:56
Hello,

You will find a Windows installer package for Zabbix Agent 1.1.3 (w32 and w64) using NSIS. based on the vinz installation. see previous post (http://http://www.zabbix.com/forum/showthread.php?t=4111)

This package uninstall the precedent version (install with zabbix_agent-1.1.2_installer.exe , the old zabbix_agent-1.1.3_installer.exe and all future release) if exist

The syntax for the silent install mode is :
For gui mode:

You will find following this link:
http://www.suiviperf.com/zabbix (http://www.suiviperf.com/zabbix)

scotty
15-11-2006, 12:07
you will find the zabbix Agent update from the 1.1.4 source code

You will find it following this link:
http://www.suiviperf.com/zabbix (http://www.suiviperf.com/zabbix)

Enjoy it

scotty
30-01-2007, 17:08
you will find the new zabbix Agent update from the 1.1.5 source code

You will find it following this link:
http://www.suiviperf.com/zabbix/

scotty
07-02-2007, 17:18
you will find the new 32 & 64 bits zabbix Agent installer update from the 1.1.6 source code

You will find it following this link:
http://www.suiviperf.com/zabbix/

scotty
02-04-2007, 13:28
you will find the new 32 & 64 bits zabbix Agent installer update from the 1.1.7 source code

You will find it following this link

http://www.suiviperf.com/zabbix

scotty
30-05-2007, 08:45
you will find the new 32 & 64 bits zabbix Agent installer update from the 1.4 source code

You will find it following this link

http://www.suiviperf.com/zabbix

the syntax is:

The upgrade from the beta version doesn't work you must delete the zabbix agent service manually (by sc command ).

The upgrade from the stable version is ok.

Logicwrath
03-06-2007, 01:20
Nice work Scotty. I do like the package. Please review zabbix_agentd.conf file it is creating. :)

#PidFile=C:\Program Files\Zabbix Agent/Zabbix_agentd.log

# Name of log file.
# If not set, syslog will be used

LogFile=C:\Program Files\Zabbix Agent/Zabbix_agentd.pid

Thanks!

scotty
04-06-2007, 10:17
Thanks for the remark I corrected it .

http://www.suiviperf.com/zabbix

tronite
09-06-2007, 13:57
you will find the new 32 & 64 bits zabbix Agent installer update from the 1.4 source code

You will find it following this link

http://www.suiviperf.com/zabbix

the syntax is:

The upgrade from the beta version doesn't work you must delete the zabbix agent service manually (by sc command ).

The upgrade from the stable version is ok.

Cool stuff man, your contribution is truly appreciated.

scotty
11-06-2007, 10:28
thanks tronite

scotty
02-07-2007, 10:44
you will find the new 32 & 64 bits zabbix Agent installer update from the 1.4.1 source code

You will find it following this link

http://www.suiviperf.com/zabbix

scotty
21-08-2007, 13:31
The new 32 & 64 bits zabbix Agent installer update from the 1.4.2 source code

You will find it following this link

http://www.suiviperf.com/zabbix

elgoretto
12-09-2007, 10:36

scotty
13-12-2007, 06:46
The new package for the Zabbix agent 1.4.3 is out

Enjoy it.

http://www.suiviperf.com/zabbix

scotty
19-12-2007, 05:21
The new package for the Zabbix agent 1.4.4 is out

Enjoy it.

http://www.suiviperf.com/zabbix/

ittec
04-03-2008, 10:06
Excuse me

What happens if I reboot the server?:confused: Im finding more information in forum but... I can't :S I need to create some batch to re-install zabbix_agentd when the server is rebooted or not.

Thanks.

scotty
04-03-2008, 10:26
this is an installation package not a launch batch you don't have to reinstall it after reboot.

ittec
04-03-2008, 11:19
Thanks for explanation, Scoot :) I tested and works perfectly!!!

Mikrodots
10-03-2008, 18:16
Hi Scotty,

I'd like to add a script to my users' login to see if the the agent is installed and running, if it is not, install and start it. ( please see this thread One step install and starting of windows agent (http://www.zabbix.com/forum/showthread.php?t=803) )

Can your installation work this way?

Thank you.

Mikrodots

scotty
12-03-2008, 22:52
you will find the new 32 & 64 bits zabbix Agent installer update from the 1.5 source code

You will find it following this link

http://www.suiviperf.com/zabbix

This annonce is for beta test only

scotty
27-03-2008, 14:22
Zabbix Agent installer 1.4.5
you will find the new 32 & 64 bits zabbix Agent installer update from the 1.4.5 source code

You will find it following this link

http://www.suiviperf.com/zabbix

scotty
27-03-2008, 14:31
Sorry for the delay, Mikrodots, I did not saw your message
I don't anderstand what do you exactly want.
The installer uninstall the working version and install the new one you juste have to check if its working before lunching the installer.
Don't hesitate to write me on.

Mikrodots
03-04-2008, 14:48
Hi Scotty,

Thanks for the reply. It looks like I was making it more difficult than necessary.

Norbert is likely correct in his reply to my other post - I probably just need a simple check to see if the service is running before calling your installer.

Mikrodots

scotty
01-08-2008, 15:24
you will find the new 32 & 64 bits zabbix Agent installer update from the 1.4.6 source code

You will find it following this link

http://www.suiviperf.com/zabbix

12-08-2008, 12:27
Is it backwords compatible with 1.45? And is there a reason why I should install this agent instead of the 1.45 version?

scotty
12-08-2008, 14:38
Every installation uninstall the previous one even if it is a version is ahead.
So it is always possible to go back to a previous version but
sorry I cannot answer for further question

tchjts1
13-08-2008, 22:57
Hi Scotty. For the 1.5.3 installer, any reason you have the debug level set to 0 instead of the default 4? I think the majority of users want to have a log generated.

scotty
20-08-2008, 13:55
Hello tchjts1,

Since the begining the debug level is to 0 and you are the first to ask me to change that to an other value. if the Community want to change that option I can change it for further builds or i can add a command line option to fixe it.

NOB
23-09-2008, 10:51
Hi

we appreciate that the DebugLevel is 0.
In this case a DebugFile is neither used nor created.

If we really want a DebugFile we'll edit the zabbix_agentd.conf
file and restart the agent.

Why do we appreciate it ?

It's easy:
The base software (OS) on our Windows server are installed by a certain team.
Then this is passed to another team, e.g. the "Citrix people". They install
MetaFrame on it and change the drive letters from C: to N:, from D: to M:
and so on.
The tool assisting in this works fine with the registry but entries in any
file are left alone.

This means:
If we would have a DebugFile configured and used in the zabbix_agentd.conf
the agent will report problems and won't perhaps even start after the
change of the drive letters.

So: no DebugFile used, no problem for us :D

OTOH: You are free to download and install the NSIS software, the NSIS package source and repackage the agent.
We are doing it because we separate the zabbix_agentd.conf in three
parts using the "Include" statement in the conf file:

one part covering the ZABBIX-server IPs, another part covering the user-parameters and the main part covering all the rest.

Hope this helps !

Regards

Norbert.

P.S. Waiting for the 1.6 agent installer :D

scotty
23-09-2008, 13:35
OK for debuglevel 0 but if the problem is juste the path I can position it in the directory of installation in the zabbix_agentd.conf

Concerning the 1.6 agent installer I got a crash when I launch zabbix agent : have a look (http://www.zabbix.com/forum/showthread.php?t=10555)

I have no way to determine if it is on my only PC, if it is the syntax used or if it is a general failure?

It will be make it as soon as I have resolved this problem

ogdenous
23-09-2008, 17:48
I think most people are crashing with the 1.6 installer. I hope there is a fix soon.

Aly
01-10-2008, 11:18
Nice installer. It would be nice to have a listenport and a serverport to be configured within installation.

NOB
02-10-2008, 14:25
OK for debuglevel 0 but if the problem is juste the path I can position it in the directory of installation in the zabbix_agentd.conf

Concerning the 1.6 agent installer I got a crash when I launch zabbix agent : have a look (http://www.zabbix.com/forum/showthread.php?t=10555)

I have no way to determine if it is on my only PC, if it is the syntax used or if it is a general failure?

It will be make it as soon as I have resolved this problem

Concerning the Debuglevel:

No it's not the path. I modified the installer and the path is correct
at installation time.
The problem is that in our case the drive letters are changed after
installation. The path to the log file becomes invalid from then on.
And the installer can't look into the future, yet :D

Concerning the 1.6 agent:

First, I wondered why there is no 1.6 installer. After testing the 1.6 agent
on Windows I know it.

The agent will install (I've done an installer based on your previous work)
but not run for long time.
I even tried specifying the new parameters (BufferSize and BufferSend).
Setting these parameters does not solve the problem. The names of the
parameters are right, because I got complains from the agent if set to 0 (zero).

There is no real point in providing an installer for the current version
of the agent.

Regarding the 1.4.x installation: Suddenly the installation on 64-bit
versions of Windows seems to be broken. I think 1.4.4 could be
installed without problems but neither 1.4.5 nor 1.4.6 will install
without interrupting the installation.
I had to copy the 64-bit agent to the right place overwriting the 32-bit
one.
I think it has something to do with the check for Itanium and some
registry entries giving an error.
This seem to result in an endless loop.
To test the installation of 1.4.6 I removed the (very nice and useful) part
to check for the right ZABBIX Server to use. But still the endless loop.

I found that checking for the right ZABBIX-Server from a list requires that
the WMI Service is running.

Regards

Norbert.

scotty
12-11-2008, 11:10
you will find the new 32 & 64 bits zabbix Agent installer update from the 1.6.1 source code

You will find it following this link

http://www.suiviperf.com/zabbix

Somes changes have been done :

If you have multiple Zabbix server by location you can create a file in the installer directory calling it zabbixlist.csv like :

default;zabbix_server4
192.168.1.0;zabbix_server1
192.168.2.0;zabbix_server2
192.168.3.0;zabbix_server1
192.168.4.0;zabbix_server3

When the installer see this file it calculate the network adress and try to find it in the file and take the zabbix server attached to the network adress.

If the network adress is not in the file it take the default line if there is otherwise he take the server adresse given in the parameters

You can add a directory name script in the installer directory : All file in this directory will be copy to the install path

Now the uninstaller wil only remove the basic files :

scotty
20-01-2009, 16:34
you will find the new 32 & 64 bits zabbix Agent installer update from the 1.6.2 source code

You will find it following this link

http://www.suiviperf.com/zabbix

welkin
25-02-2009, 10:03
Has anyone tested this installer with an active Trendmicro antivirus solution?
A customer which uses our Zabbix monitoring infrastructure had problems while installing the zabbix agent using the installer.

TROJ_DROPPER.GDM is detected on "SERVERNAME"(admin-edi) in Server domain.
Detection date: 19.02.2009 16:46:16
Action: Virus successfully detected, cannot perform the Clean action (Delete)

This message appears when trying to install the agent. After that the agent service is not installed.

regards
welkin

scotty
02-03-2009, 13:52
most of my PCs and server are installed with officescan and they dont have any alert. Can you give me the package name ?

welkin
09-03-2009, 10:13
what do you mean by "package name" ? the filename of the installer? or its version?
it is ver. 1.6.2 and the filename is :"zabbix_agent-1.6.2_installer.exe"

regards welkin

scotty
09-03-2009, 10:28
Thanks yes It was the version that I needed. I checked the installer 1.6.2 with Trend Micro - Office scan (pattern 5.885.00 Eng 8.911) I did not found any problème with this package.

welkin
01-04-2009, 15:15
the Package was clean switching the AV scanner off just for the installation worked.

Will there be a installer with Version 1.6.3 ?

regards welkin

scotty
01-04-2009, 15:50
you will find the new 32 & 64 bits zabbix Agent installer update from the 1.6.3 source code

You will find it following this link

http://www.suiviperf.com/zabbix

scotty
06-04-2009, 13:29
you will find the new 32 & 64 bits zabbix Agent installer update from the 1.6.4 source code

You will find it following this link

http://www.suiviperf.com/zabbix

zordio
09-04-2009, 19:26
This is wonderful, and up to date as well. You're a lifesaver!

scotty
17-06-2009, 15:52
you will find the new 32 & 64 bits zabbix Agent installer update from the 1.6.5 source code

You will find it following this link

http://www.suiviperf.com/zabbix

alucard95
25-06-2009, 15:44
Hi all,

I just want some information(s) about the reason that on this page http://www.zabbix.com/download.php the latest stable agent (for windows) is 1.4.4 and on this forum there is evolution of zabbix agent, are they considered unstable??

georgew
25-06-2009, 23:42
I believe that the Zabbix team sells support that includes current pre-compiled code. The pre-compiled agents add value, to encourage people to support the project by buying software. In other words, the 1.4 pre-compiled windows agent is what you get for free.

I think the newer agents work better, and buffer their data for improved results. but 1.4 works pretty good...

swaterhouse
26-06-2009, 14:19
The downloads page may not be up to date but the windows agent is pre-compiled by the ZABBIX team and is included in the tarball for zabbix. Both 32bit and 64bit windows agents are there.

What scotty does is take those pre-compiled agents and package them up in an installer.

The latest stable agent (as of today anyway) is 1.6.5 and is available for free to all.

eger
22-07-2009, 22:49
This is nice. Thanks for your work on this!

Why does the installer have to be zipped though? This creates just one extra step in the install process it seems... :)

scotty
28-08-2009, 07:05
you will find the new 32 & 64 bits zabbix Agent installer update from the 1.6.6 source code

You will find it following this link

http://www.suiviperf.com/zabbix

easy_john
18-09-2009, 06:44
you will find the new 32 & 64 bits zabbix Agent installer update from the 1.6.6 source code

scotty
15-11-2009, 09:58
you will find the new 32 & 64 bits zabbix Agent installer update from the 1.6.7 source code and from the 1.7.2 alpha source code

You will find it following this link

http://www.suiviperf.com/zabbix

scotty
03-12-2009, 09:44
you will find the new 32 & 64 bits zabbix Agent installer update from 1.7.3 alpha source code

You will find it following this link

http://www.suiviperf.com/zabbix

scotty
04-12-2009, 22:41
you will find the new 32 & 64 bits zabbix Agent installer update from 1.7.4 alpha source code

You will find it following this link

http://www.suiviperf.com/zabbix

scotty
08-12-2009, 06:57
you will find the new 32 & 64 bits zabbix Agent installer update from 1.6.8 source code
and from 1.8 source code

You will find it following this link

http://www.suiviperf.com/zabbix

noxis
14-12-2009, 11:22
Excellent work, thanks Scotty.

davidv
14-12-2009, 11:30
Nice work.

Maybe something that you could include: that the custome settings are not erased in the config file.

best regards,

David

scotty
28-01-2010, 10:39
you will find the new 32 & 64 bits zabbix Agent installer update from 1.8.1 source code and from 1.8.1 source code

You will find it following this link

http://www.suiviperf.com/zabbix

ci_newman
30-03-2010, 13:00
Do you know when your site will be up and running again? :)

scotty
30-03-2010, 13:29
Sorry for that but it will be back on the first of April

scotty
01-04-2010, 08:13
you will find the new 32 & 64 bits zabbix Agent installer update from 1.6.9 source code and from 1.8.2 source code.

You will find it following this link

http://www.suiviperf.com/zabbix

scotty
23-08-2010, 16:13
the new update for the package for 1.8.3 is made

You will find it following this link:
http://www.suiviperf.com/zabbix

Axilla
23-08-2010, 21:05
sweet thanks for your work scotty.. I love that installer :D

brian
20-01-2011, 17:12
Dear Scotty,

Can we expect 1.8.4 installer in the near future?

engineer
24-01-2011, 09:41
I have a problem with this
It installed, but my zabbix_agentd conf file is all messed up:

you cannot even read it properly. Any ideas?

scotty
31-03-2011, 20:57
Sorry engineer i have no ideas

the new update for the package for 1.8.4 is made

You will find it following this link:
http://www.suiviperf.com/zabbix

New option SPORT for server port and LPORT listenport parameters

brian
31-03-2011, 21:50
Thanks a lot, Scotty!

brian
31-03-2011, 22:02
Is it normal, that in silence install mode I get a message window with SPORT=10051 text?

scotty
01-04-2011, 17:18
sorry I forgot a debug message. I will fix it this evening :D

kecinaj
02-04-2011, 07:22
Good to hear that there's a site like this that helps their customer in dealing with the item they bought..<b><a href="http://www.ainterestonlyhomeloan.com">interest only mortgages </a></b>

scotty
02-04-2011, 18:06
The correction is done :cool:

georgew
03-04-2011, 18:03
I have a problem with this
It installed, but my zabbix_agentd conf file is all messed up:

you cannot even read it properly. Any ideas?

This happened to me when I ran this script. I had to rebuild the config file.

I don't remember exactly what it did, but as I recall the config file was missing most of it's contents, and what was left had illegal syntax. I remember at the time thinking that the script did something without properly escaping special characters when creating the config file.

It was easy enough to fix by simply comparing to another zabbix installation.

scotty
05-04-2011, 15:39
Hi,

Does it appears every time the installer is launch ? on which windows version ? and 32 or 64Bits processor ?

brian
15-04-2011, 17:30
Hi Scotty,

On Windows 2008 R2 servers the 1.8.4 installer gets in an infinite loop when it tries top update the existing 1.8.3 version.

It happens both in unattended and normal mode.

What I see in the detailed window:
Perhaps Itanium System running System32 Agent
Delete file C:\Program Files\Zabbix Agent\zabbix_agentd.exe
Extract zabbix_agentd.exe... 100%
Registering Zabbix Agent in services...
zabbix_agentd.exe [PID]: ERROR: Service named "Zabbix Agent" already exists
Error installing Agent

And this loops forever until I kill the installer process, or do the following:
sc stop "Zabbix Agent"
sc delete "Zabbix Agent"

This way the installer can register the process.

I don't know if it happened to other, I only sharing my experiences.

parcival
19-04-2011, 10:14
Scotty, when does v1.8.5 come?

Thanks for your time and work with Windows Agent installer.

parcival

WernerCD
30-05-2011, 18:49
When does 1.8.5 come? Thanks for the awesome work.

vrolok
01-06-2011, 22:07
Hi to all,
Maybe for someone it is going to be helpful. I have ~150 windows servers with the zabbix agents on them & when a new version came out I just use binaries form an official website and distribute them among all windows machines.
You will need psexec (http://technet.microsoft.com/en-us/sysinternals/bb897553), a shared folder, use this code to create a batch file:

@echo off

echo Updating Agent

echo Mapping Shared Drive B:

net use b: \\destination\to\zabbix_binaries
set FilePath32="B:\win32"
set FilePath64="B:\win64"
if exist "C:\Program Files (x86)" (
set FilePath=%FilePath64%
) else (
set FilePath=%FilePath32%
)
if exist "C:\Program Files (x86)" (
cd "C:\Program Files (x86)\Zabbix Agent"
) else (
cd "C:\Program Files\Zabbix Agent"
)

net stop "Zabbix Agent"

ECHO Copying Files
xcopy /F /Y /R %FilePath%

net use b: /delete

ECHO Start The Zabbix Agent Service
net start "Zabbix Agent"

ECHO Finish

Change \\destination\to\zabbix_binaries to yours.

This method works only if you have already an agent installed on the system.

How you update agents in your environment?

scotty
18-09-2011, 10:01
Hi everybody

I am back, sorry for the delay ,

You will find the las installer:

http://suiviperf.com/zabbix/

ghoz
11-10-2011, 10:22
Hi,
I have some troubles with the installer from suiviperf on 64bits windows.

for whatever reason, it keeps installing a 32bits version in program files (x86).

I tried on a 2008R2 and on a 2003 64bits, but i keep getting the 32bits version installed.

any clues ?

Is there a specific switch to force 64bit install ?

Thanks...

scotty
11-10-2011, 13:34
I've been told, the installation is on the 32bits program file ( program files (x86)) but it should be 64bit version.

it is not a titanium processor ?

could you please give me the version of the package

ghoz
11-10-2011, 14:44
I'm using the latest installer for 1.8.7
The CPU is an intel xeon, AMD-64 compatible, no itanium in sight.
OS is windows 2003 R2 x64.

using the installer, the binary is installed in program files (x86), and is the 32bit version :

[admin@zabbix ~]$zabbix_get -s x.x.x.x -k system.uname Windows HOSTNAME 5.2.3790 Windows Server 2003 Service Pack 2 Intel IA-32 manually starting the 64bit binary, I get : [admin@zabbix ~]$ zabbix_get -s x.x.x.x -k system.uname
Windows HOSTNAME 5.2.3790 Windows Server 2003 Service Pack 2 AMD-64

scotty
13-10-2011, 05:59
I tried on a "inter cote I5 CPU M520" and the installation was badly made on "C:\Program Files (x86)\Zabbix Agent" but the agent installed was well the 64b. the mechanism to detect 32 or 64B seems not working for your CPU.

I used a mechanism that determin if the OS is 64b. I changed this part can I send it directly to you to try ?

ghoz
13-10-2011, 12:28
Doh...
I can test it, but it worked the way you said : 64bit exe in 32bit program files...

I cant' reproduce the problem after deinstalling/ reinstalling from scratch the latest version ... on 3 different system ( different CPU, mix of 2008R2 and 2003 x64) ...

I don't understand how I got the wrong results in the first place ...

Anyway... send the link in PM if you still want me to test your new detection mechanism...

on an somehow related note, I'd suggest making the upgrade keep the zabbix.conf ,
or add a flag to the uninstaller to keep the config file (and the installer to skip the confg file creation) ?

Right now the upgrade / reinstall destroys the painfully crafted zabbix.conf :-)

scotty
24-10-2011, 07:02
Hi,

You will find the zabbix Agent update from the 1.8.8 source code

You will find it following this link:
http://www.suiviperf.com/zabbix

Enjoy it

scotty
29-10-2011, 11:57
I Created MSI package for the installer

You will find it following this link:
http://www.suiviperf.com/zabbix

Enjoy it

brian
29-10-2011, 19:06
Dear Scotty,

Thanks a lot for the msi package, I am sure it will help a lot of administrators distributing the agent.

scotty
30-10-2011, 21:30
Thanks, I hope so

scotty
13-11-2011, 07:58
I updated the MSI package that have a bug passing values to the zabbix_agentd.conf file

scotty
29-11-2011, 07:05
you will find the new 32 & 64 bits zabbix Agent installer (nsis and msi packages) update from the 1.8.9 source code

You will find them following this link

http://www.suiviperf.com/zabbix

scotty
29-12-2011, 10:03
The installer Version for zabbix 1.8.10 is ready :

http://www.suiviperf.com/zabbix

cheezus
08-01-2012, 03:05
Awesome! Thanks :)

scotty
21-01-2012, 13:32
I corrected the package for two point :
- wrong uninstall over binary setup in some case
- Computername in zabbix_agentd.conf

You will find the updated package in
http://www.suiviperf.com/zabbix

scotty
21-03-2012, 23:18
The new packages 1.8.11 are compiled:

http://www.suiviperf.com/zabbix

HullZabbix
23-03-2012, 11:56
The new packages 1.8.11 are compiled:

http://www.suiviperf.com/zabbix

Thanks Scotty, these are very handy.

bagni
29-03-2012, 13:04
Hi,
thanks for latest agent release.

I've just one question, is it necessary uninstall 1.8.10 agent and install 1.8.11?

On windows 2008 srv 64 bit with 1.8.10 (64 bit installed by .msi) the 1.8.11 (.msi 64 Bit) output is: "Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/remove Programs on the Control Panel."

http://s14.postimage.org/x5av6i8pt/error_msi.jpg (http://postimage.org/)
gif image hosting (http://postimage.org/)

pretief
17-04-2012, 09:15
Scotty

Using either of the MSI or Script versions on a 64-bit Windows 2008 R2 Itanium server, I get this message:

"This installation package is not supported by this processor type."

Peter

scotty
25-04-2012, 17:23
The new packages 1.8.12 are compiled:

http://www.suiviperf.com/zabbix

scotty
25-04-2012, 18:02
Sorry for the delay but i just saw your post

@bagni,
Thanks, it was a bug in the GUID of the package, I corrected the package 1.8.11 in the Archives section. For the 1.8.12 version there is no problem.

@pretief,
I don't have an Itanium system for testing. When I used itanium server the legacy installer worked with 32 binary version.

Regards

scotty
13-05-2012, 22:20
the new installer version for zabbix agent 1.8.13 is on :

http://www.suiviperf.com/zabbix

xibbaz
22-05-2012, 16:50
Since I tried installing the 64 bits version, I'm getting this on a lot of machines. I think it's something in the registry. Zabbix Agent appears in the installed programs, but it is not in the services. Can I submit to you something so that you can debug?

UPDATE
Had to be logged as administrator on the host to successfully install.

scotty
23-05-2012, 07:56
Hi,

I suppose you are working on Windows 8 server ? It is probaly due to the UAC, you must run the package as administrator. I will try to find a way to bypass this limitation

Best regards

xibbaz
23-05-2012, 14:53
Well, it's on a Windows 7 64-bits workstation so it is not a big deal to switch user. On production server and other workstations that do automated jobs (that we call jobbers), this is harder to do and must be done after hours.

It is definitaly UAC related, as it kicks in if running install as an unprivilege user with the mentioned fail. If it can help, this is the event log:
- System

- Provider

[ Name] MsiInstaller

- EventID 11722

[ Qualifiers] 0

Level 2

Keywords 0x80000000000000

- TimeCreated

[ SystemTime] 2012-05-22T15:32:25.000000000Z

EventRecordID 11346

Channel Application

Computer *

- Security

[ UserID] S-1-5-21-*-*-*-*

- EventData

Product: Zabbix Agent -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action RegisterAgentExe, location: C:\Program Files\Zabbix Agent\zabbix_agentd.exe, command: --config "C:\Program Files\Zabbix Agent\zabbix_agentd.conf" --install
(NULL)
(NULL)
(NULL)
(NULL)
(NULL)

7B41424144373334412D433734312D343546372D424244302D 3238344333303137364435447D

--------------------------------------------------------------------------------

Binary data:

In Words

0000: 4142417B 34333744 37432D41 342D3134
0008: 2D374635 30444242 3438322D 31303343
0010: 35443637 7D44

In Bytes

0000: 7B 41 42 41 44 37 33 34 {ABAD734
0008: 41 2D 43 37 34 31 2D 34 A-C741-4
0010: 35 46 37 2D 42 42 44 30 5F7-BBD0
0018: 2D 32 38 34 43 33 30 31 -284C301
0020: 37 36 44 35 44 7D 76D5D}

frater
24-05-2012, 16:15
Could you make it 2.0 compatible?
(loosing the ServerPort)

scotty
28-05-2012, 07:09
Hi,

The new packages for zabbix agent 2.0.0 are ready on
Http://www.suiviperf.com/zabbix

frater
28-05-2012, 22:08
Working!

Thanks

scotty
31-07-2012, 21:44
The new packages for zabbix agent 2.0.1 and for version 1.8.14 are ready on

http://www.suiviperf.com/zabbix

scotty
01-08-2012, 09:29
The new package for the 2.0.2 version is ready

You will find it following this link:
http://www.suiviperf.com/zabbix

xibbaz
01-08-2012, 13:52
Hi Scotty,

Can I help you in anyway with this? I kinda have the feeling I'm the only one to whom this is happening.

saintxseiya
29-08-2012, 15:31
Hi Scotty,

Can I help you in anyway with this? I kinda have the feeling I'm the only one to whom this is happening.

Nope i have the same problem it occurs on x64 machines. seems as if the msi for x64 is broken.

xibbaz
29-08-2012, 16:08
Oh well. I'm writing a script to deploy the original binaries from Zabbix SAI by myself. Everything will be done remotely.

It will:
- query the domain controller for computers;
- check if zabbix is installed with the installer and remove it;
- check the computer architecture
- search for the zabbix executable location and replace it according to arch;
- add it as a service.
- write a UserParameter file and copy scripts dynamically

When done, I will see if (and what) and can post here in the forum. It will be in Powershell using PSRemoting and WMI querying.

scotty
04-09-2012, 14:40
I dont know what you have, could you please send me the log to see what is going wrong: remember you must be in admin rights (open cmd sesion with administrative right and launch it)

scotty
20-12-2012, 18:03
Hi,

I have refresh the packages to the 2.0.4 version

I cannot write anymore the link but you will find it on the thread

elvar
18-01-2013, 16:06
Hi Scotty,

Can I help you in anyway with this? I kinda have the feeling I'm the only one to whom this is happening.

I am having the same problem as you. Did you find a solution to this?

ericgearhart
18-02-2013, 15:53
I am having the same problem as you. Did you find a solution to this?

I'm on Windows Server 2008 x64 and I just ran into this problem as well. Here's the fix that worked like a champ for me.

Right click on 'Command Prompt' then choose 'Run as administrator'. You should have a cmd.exe open with the title showing 'Administrator: Command Prompt'

In the open cmd.exe Windows, 'cd' over to where your Zabbix Agent MSI file is and simply type the file name. You can 'tab out' the file name too, by typing zabb and hitting tab

Running the MSI in this way, I was able to install the agent with no errors.

I suspect the problem in the MSI itself is in the way in which the MSI is trying to create the Zabbix Agent service... the service doesn't show up in 'Services.msc' until I installed the MSI this way.

HullZabbix
22-02-2013, 10:04
Any news on the 2.0.5 agent?

Drahosko
20-03-2013, 17:29
I'm on Windows Server 2008 x64 and I just ran into this problem as well. Here's the fix that worked like a champ for me.

Right click on 'Command Prompt' then choose 'Run as administrator'. You should have a cmd.exe open with the title showing 'Administrator: Command Prompt'

In the open cmd.exe Windows, 'cd' over to where your Zabbix Agent MSI file is and simply type the file name. You can 'tab out' the file name too, by typing zabb and hitting tab

Running the MSI in this way, I was able to install the agent with no errors.

I suspect the problem in the MSI itself is in the way in which the MSI is trying to create the Zabbix Agent service... the service doesn't show up in 'Services.msc' until I installed the MSI this way.

Hi
For install zabbix agent to Win2008 server, you need disable Windows firewall service or create inbound rule for incomings connect to local port 10050.

nils2
31-03-2013, 18:18
I've created an installer for 2.0.5 using Inno Setup. I also created an MSI installer using exemsi.com's free wrapper. Both are working just fine. The Windows x86/x64 binaries for 2.0.5 are packaged in the source tarball on the official Zabbix download page, I used those. One thing is missing yet, the firewall setup for server OSes. If there's interest, I'm gonna look into it, myself needing a full flegged GPO-capable installer sometime soon, too.

If anyone interested I can post details and the iss script.

duncankennedy
24-10-2013, 23:23
Hi
For install zabbix agent to Win2008 server, you need disable Windows firewall service or create inbound rule for incomings connect to local port 10050.

Here are these rules depending on the agent or trapper
(for Windows 2008R2, not sure if it works for 2008 or 2012):
netsh advfirewall firewall add rule name="Open Zabbix agentd port 10050 inbound" dir=in action=allow protocol=TCP localport=10050
netsh advfirewall firewall add rule name="Open Zabbix trapper port 10051 inbound" dir=in action=allow protocol=TCP localport=10051

netsh advfirewall firewall add rule name="Open Zabbix agentd port 10050 outbound" dir=out action=allow protocol=TCP localport=10050
netsh advfirewall firewall add rule name="Open Zabbix trapper port 10051 outbound" dir=out action=allow protocol=TCP localport=10051

Then start the msi installation from an administrator cmd and you will do a successful installation.

Spoonman
17-02-2014, 21:51
I'm trying to access the URL www.suiviperf.com/zabbix , but I get an 403 Forbidden reply...... :confused:

.... URL working again ! :) :)

aib
15-05-2014, 16:43
Hi, scotty!

Do you mind to check the version of Zabbix_agentd.exe inside of zabbix_agent-2.2.3_installer.zip ?

When I installed Agent from that archive, I got the version 2.2.1 of agent instead of version 2.2.3.

When I install agent from zabbix_agent-2.2.3_x64.msi, I got the correct version 2.2.3

Thank you.