Zabbix Server Installation Scripts
-
Nice Work! Any pointers to get this working with Windows clients as well?
-
@aaronstuder said in Zabbix Server Installation Scripts:
Nice Work! Any pointers to get this working with Windows clients as well?
Working on that as we speak. I hope to have something posted in a couple of hours. I'll post it in the Zabbix Agent installer thread.
-
Windows is functional as well, @dafyre will get something posted about it shortly.
-
Thanks! Hopefully I can test tonight.
-
@aaronstuder said in Zabbix Server Installation Scripts:
Nice Work! Any pointers to get this working with Windows clients as well?
Windows Agents posted in the other thread... https://www.mangolassi.it/topic/9478/zabbix-agent-install-script
-
At least one recommended thing to do after you have the Zabbix Server up and running is to set up auto registration so you can install the agents on your other systems and have them automatically assign templates and items and such right off the bat.
-
Log in to your system, and go to Confiuration -> Actions, and then make sure the Event source is set to Auto Registration.
-
Afterwards, click "Create Action"
For name use something like Register Windows or whatever you want to call it.
- Then click the Conditions tab. In the "New condition" area, change the first drop down to Host metadata, the second one should remain Like, and in the third box, type Windows, and then click the 'Add' link (the blue text, not the blue button with white text!)... If done correctly, your screen should change to...
-
Click on the Operations Tab.
-
Under Action operations... Click on the 'New' link. In the Operation type dropdown, choose Add host, and then click the 'Add' link (again, not the blue button!).
-
You should see the 'New' link return. Click 'New' again,, and change Operation type to Add host to group.
-
To the right of the Host Groups textbox, there should be a white button that says 'Select'. Click that button and then place a check next to Discovered Hosts, and then click the blue 'Select' button. Again, click the 'Add' link.
-
Click the New link again and change the Operation type to "Link to Template"
in the "Templates" textbox, type Windows, and make sure to select the one that says "Template OS Windows"
- Once again, click the 'Add' link, and your screen should look like.. .
- Finally, you can click the 'Add' button, and you should see the name of your new action on the Actions screen.
Go through this process again if you want to set up Linux hosts to auto register as well. (Just change Windows to Linux).
-
-
@dafyre
Hey!Is this still available?
-
@Sparkum said in Zabbix Server Installation Scripts:
@dafyre
Hey!Is this still available?
Zabbix is in the repos. No need for s complicated build it yourself script.
-
@Sparkum said in Zabbix Server Installation Scripts:
@dafyre
Hey!Is this still available?
@JaredBusch is right. There was a reason why I did the scripts, and cannot for the life of me remember why now, lol.
I've been writing up a how to for CentOS 7... located at: http://blog.wellston.biz/post/zabbix-part-1/
That's probably not going to be the final home for that article series, but that's where it's at now until I get a few folks to test it for me (hint, hint).
Look it over (try it out if you want) and let me know what you think. My install scripts work on Ubuntu 16.04 if you're more comfortable with that.
-
@Sparkum I was driving home at 2am and not able to reply in detial.
But the instructions on the Zabbix website are pretty bad actually. I can type up what I did on CentOS 7 later today if I have time.
It is not hard. I still have to turn off SELinux because I haven't had time to check all the directories.
My install has no outside access so I am not worried for the short term.
-
Sorry I'm currently tasking myself with learning Linux so I hope this isnt a dumb question.
By repos do you mean docker?
-
@Sparkum said in Zabbix Server Installation Scripts:
Sorry I'm currently tasking myself with learning Linux so I hope this isnt a dumb question.
By repos do you mean docker?
Repositories. For CentOS that means you can
yum install
.https://www.zabbix.com/documentation/3.0/manual/installation/install_from_packages
These instructions assume a lot of things.
-
Ah gotcha, okay I was actually following those instructions, as well as ones from DO, as well as from everywhere and anywhere.
Multiple times I got to different places, I was able to stand it up a few times, was even graphing itself once, but for the life of me could not get communication from my agents to the server, ports 10050 and 10051 showed open in uh...I think it was ufw? but I couldnt telnet into them, so not sure if it was my install or what was up.
-
@Sparkum said in Zabbix Server Installation Scripts:
Ah gotcha, okay I was actually following those instructions, as well as ones from DO, as well as from everywhere and anywhere.
Multiple times I got to different places, I was able to stand it up a few times, was even graphing itself once, but for the life of me could not get communication from my agents to the server, ports 10050 and 10051 showed open in uh...I think it was ufw? but I couldnt telnet into them, so not sure if it was my install or what was up.
Here you go.
https://mangolassi.it/topic/10373/install-zabbix-on-centos-7