Posted: Sun Oct 31, 2010 8:42 Post subject: Zabbix
I used to run Cacti and took the trouble to monitor my DD-WRT's. I'm now running Zabbix which can do a lot more than just monitor.
I already created some scripts for it (postfix, sendmail, exim and ASSP)
If anyone else is using it or start using it. I'm too lazy to create templates for it, but I would still like them.
Look into Zabbix. It's probably better than what you're using now. There's not much energy in their forum though. _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge
That's only an agent....
You need to install zabbix on a full Linux server (Ubuntu 10.4?) with Apache. _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge
Frater is there any way you can make a wiki for zabbix? Once apache is installed on ubuntu and have the zabbix agent enabled in OTRW then what? Is there any configuration setup that needs to be done? Im a complete noob and have learned everything i know about linux from ddwrt...and have been able to do all this just by following directions from wiki's. Im a Medical student by trade but love to mess around with this kind of stuff...and would love to learn how to code one day too! _________________ ASUS RT-AC68U [Kong build 24850] = main router
Linksys E2000 [Build 15962M NEWD-2 K2.6 big] = client bridge
you need to have a Linux server running Apache (not on DD-WRT, a real server/desktop). You could do it in vmware and create a virtual machine on your windows computer....
Sorry, way beyond the scope of DD-WRT.
You need to find it out yourself, I have too many projects at hand already. _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge
Frater i feel like im ever so close to getting it to work...just need a little help.
I was reading the following and didnt know how to follow a certain step(in bold):
Quote:
This will install the zabbix agent now you need to configure your agent to communicate with server for this you need to edit the file located at /etc/zabbix/zabbix_agentd.conf
Make sure that the Server parameter points to your zabbix server address:
Don't worry about the agent....
I will help you with that.
First get your server running and let it start monitoring itself.
Quote:
Also where it says "Server=xxx.xxx.xxx.x"....Is that where i replace it with 127.0.0.1?
Yes, replace that with 127.0.0.1 on the zabbix server..
But it's only the agent....
On DD-WRT that file is in /opt/etc/zabbix/zabbix_agentd.conf and there it needs the IP of your zabbix server.
But first get the server running. It isn't yet. _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge
Ok well im following this link http://www.howtoforge.com/zabbix_network_monitoring to help me get it running. After following as much as i could i am getting different error messages from zabbix this time..any input?
Ill keep trying tho...
Screenshot.png
Description:
Filesize:
55.3 KB
Viewed:
34281 Time(s)
_________________ ASUS RT-AC68U [Kong build 24850] = main router
Linksys E2000 [Build 15962M NEWD-2 K2.6 big] = client bridge
Joined: 14 Jan 2010 Posts: 73 Location: Flint, Michigan
Posted: Wed Feb 02, 2011 19:32 Post subject: Regarding a home server
Fratter,
I've been following the forums for information on Zabbix since you added it to OTRW. One question I have concerns the server side. Currently, I run OTRW from a WD 1TB USB drive w/ 900GB on ext3 for storage. With this much storage, I question the advantage of running a server vs. keeping the current setup with an off-site accessible Samba account. How do you organize your data storage? Is your web server dedicated to webhosting while the USB-disk provides data storage on the router or do you use them redundantly? This is basically a network design question regarding efficient data storage and access. Any feedback would be appreciated. Thanks in advance.
I have an HTPC (Home Theater PC) with a Core i5 and 11.5 TB harddisk space running Windows 7. That data is shared on my LAN. That same machine is also running vmware 2.0 server and has 3 machines running. 2 x Ubuntu 10.4 Server (without GUI) and 1 x Windows 2000. A Western Digital harddisk which is in fact a little Linux machine powered by an ARM-processor and 1 TB of storage (the actual host of OTRW) is running lighttpd and has samba running. I have several other little appliances connected to my lan.
Most time is spent using my 7 year old Pentium4 machine which I use for browsing and developing.
My Router is not involved in mass storage for data nor hosting. It is running pound however, a reverse proxy, that handles http and https connections. It acts as a referee deciding which webserver is going to receive the traffic. The router is connected with another Asus RT16N using WDS. My LAN is connected to that WDS-bridge
Most of the traffic will go to 1 of the Ubuntu 10.4 systems running Apache with virtual hosting. That one is also running the zabbix server.
The other machine is running Zarafa. It's a further development of Exchange4Linux. _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge
Joined: 14 Jan 2010 Posts: 73 Location: Flint, Michigan
Posted: Sat Feb 05, 2011 18:34 Post subject: Home Server
Frater,
That is an impressive setup. So your servers are virtual machines running simultaneously on the same "box" as it were? What is the purpose of having three servers? Are you aiming for redundancy or just a separation of function between say public/private web hosting? Does Zabbix monitor your entire network or just the server on which it is running? Thanks for the information.
Posted: Sat Feb 05, 2011 20:05 Post subject: Re: Home Server
can't flash wrote:
Frater,
That is an impressive setup. So your servers are virtual machines running simultaneously on the same "box" as it were? What is the purpose of having three servers?
Seperation of services and the ability to take the machine and run it on another vmware machine. Cloning/backup of a machine can be easily automated. _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge
I've looked into Zabbix a bit and it seems to me that the easiest path to get it wroking is to download the virtual machine from the zabbix site and run it under Virtualbox (www.virtualbox.org). The server component runs straight out of the box, at least for me. Virtualbox is per se very easy to install and configure.
Haven't got around to really test it against my router yet though.
When I installed my HTPC I also installed virtualbox because I already suspected an early EOL (End of Life) of vmware server.
I was however disappointed in virtualbox because I was unable to start it as a system service.
This is a must for me, so I removed it after I tried some dirty workarounds.....
I believe Virtualbox is still being developed. How is the state of it? Is it able to start as a service now? _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge