Please enter your e-mail address & password to login to the VPS.net customer portal

Our VPS Cloud Community



Go Back   VPS.NET Forums » Public Forums » Tutorials and How-To's
Reply
 
Thread Tools
  #1  
Old 09-28-2009, 12:06 PM
Ditlev Ditlev is offline
The Cloud Keeper
 
Join Date: Feb 2009
Posts: 1,424
Ditlev is on a distinguished road
Send a message via ICQ to Ditlev Send a message via MSN to Ditlev Send a message via Skype™ to Ditlev
Default How-to: setup a monitoring node using Zenoss on VPS.NET

Zenoss enables network administrators to manage the configuration, health, and performance of networks, servers and network applications. Monitor your network availability, inventory, configuration, performance, and more with Zenoss on VPS.NET

Infoworld magazine named Zenoss as the best open source network monitoring solution of 2008. Zenoss' powerful Configuration Management Database (CMDB) allows you to monitor almost any network device and displays this information to you intelligently so that you can take action. While some network monitoring products feel like a patch quilt of software, Zenoss is a tightly integrated toolset with an open source design that gives you flexibility. As your organization grows you can integrate new capabilities so Zenoss grows with it. Protect the backbone of your organization; monitor network devices, availability of services, host resources, and more with Zenoss.

Here is how to install it:

First setup a CentOS LAMP server in either US or UK...

Then login to it via SSH:
Code:
SSH root@your.ip.number
Type in your password
Run the Yellowdog Updater, Modified (YUM), which you will use to install Zenoss. To run YUM, enter this command:
Code:
# yum -y install mysql-server net-snmp net-snmp-utils gmp libgomp libgcj liberation-fonts
Download the Zenoss installation files.

Code:
# wget http://downloads.sourceforge.net/zenoss/zenoss-2.4.5.el5.x86_64.rpm
(check Open Source Network Monitoring and Systems Management - Downloads for newest RPM dl's)

Follow these steps to install Zenoss for CentOS 5.:
Code:
# rpm -ivh zenoss-2.4.5.el5.x86_64.rpm
Enter this command to start Zenoss.

Code:
# service zenoss start

Download the ZENpack bundle:

Code:
# wget http://community.zenoss.org/servlet/JiveServlet/download/3480-6-1606/zenoss-core-zenpacks-2.4.2.el4.x86_64.rpm
Install the ZENpacks

Code:
# rpm -ivh zenoss-core-zenpacks-Version.el5.x86_64.rpm
To operate, Zenoss requires that several ports be open.
Open these ports in your firewall: 8080, 514, 162
Code:
# iptables -I INPUT -p tcp --dport 8080 -j ACCEPT
# iptables -I INPUT -p tcp --dport 514 -j ACCEPT
# iptables -I INPUT -p tcp --dport 162 -j ACCEPT
Alternatively, you can choose to disable the firewall. Use the following commands:
Code:
# service iptables stop
# chkconfig iptables off
Now what?
After installing, access Zenoss from your Web browser
In your browser:

Code:
http://xxx.xxx.xxx.xxx:8080
And follow the steps in this guide


Zenoss is great - give it a go!


D
__________________
a node a day keeps the doctor away...


http://twitter.com/ditlev/ <- follow me on Twitter!
Join the VPS.NET group on LinkedIN

Reply With Quote
  #2  
Old 09-30-2009, 03:45 PM
Ditlev Ditlev is offline
The Cloud Keeper
 
Join Date: Feb 2009
Posts: 1,424
Ditlev is on a distinguished road
Send a message via ICQ to Ditlev Send a message via MSN to Ditlev Send a message via Skype™ to Ditlev
Default

Zenoss is growing on me - anyone of you tried it yet?


D
__________________
a node a day keeps the doctor away...


http://twitter.com/ditlev/ <- follow me on Twitter!
Join the VPS.NET group on LinkedIN

Reply With Quote
  #3  
Old 09-30-2009, 03:57 PM
jonnyvaughan jonnyvaughan is offline
I Got Nodes
 
Join Date: Sep 2009
Posts: 7
jonnyvaughan is on a distinguished road
Default

Just setting up a US VPS to give it a try. I knew a spare node would come in handy when I signed up

Will post back when it's up & running. Thanks for the tip.
Reply With Quote
  #4  
Old 10-17-2009, 10:02 PM
DoeDamnit DoeDamnit is offline
I Got Nodes
 
Join Date: Sep 2009
Posts: 50
DoeDamnit is on a distinguished road
Default

Hey mate
That should read..

=)
__________________
The only real security that a man can have in this world is a reserve of knowledge, experience and ability.
Reply With Quote
  #5  
Old 10-29-2009, 07:23 AM
Mcdaddy Mcdaddy is offline
Junior Member
 
Join Date: Oct 2009
Posts: 1
Mcdaddy is on a distinguished road
Default

Nice script! This will add additional information to my monitoring systems. Thanks for sharing.
Reply With Quote
  #6  
Old 01-13-2010, 11:37 AM
anthonysomerset anthonysomerset is offline
On Cloud 9
 
Join Date: Sep 2009
Location: London, UK
Posts: 1,801
anthonysomerset is on a distinguished road
Send a message via AIM to anthonysomerset Send a message via MSN to anthonysomerset Send a message via Skype™ to anthonysomerset
Default

just running through this on a debian node, thought i would point out the firewall rules need correcting, only port 8080 should be tcp the other 2 should be udp
__________________
i asked for an external system status page... VPS.net was my idea!

http://somersettechsolutions.co.uk
http://fourwheeldrifter.co.uk
Reply With Quote
  #7  
Old 01-14-2010, 02:34 PM
marty.pearson marty.pearson is offline
I Got Nodes
 
Join Date: May 2009
Location: Cambridge UK
Posts: 29
marty.pearson is on a distinguished road
Send a message via MSN to marty.pearson
Default

I set this up before xmas just to see how zenos had improved. I remember the gui being nice and having "network maps" - i only looked at it briefly, but is it possible to show status of each VPS, in its respective cloud, in the network maps feature?

Also any tips on making it HA across clouds would be good. Given a problem with the DC the monitoring node is in will likely take down both monitoring and application VPS's

Thanks,
Reply With Quote
  #8  
Old 01-14-2010, 03:17 PM
anthonysomerset anthonysomerset is offline
On Cloud 9
 
Join Date: Sep 2009
Location: London, UK
Posts: 1,801
anthonysomerset is on a distinguished road
Send a message via AIM to anthonysomerset Send a message via MSN to anthonysomerset Send a message via Skype™ to anthonysomerset
Default

interesting thoughts

how do you find the performance?

it might have been my issues yesterday but my performance wasnt that great

it would be good to add some info about the best way to monitor different vm's in the cloud this info i have found a bit lacking and i have found it a bit hit and miss trying to find that info
__________________
i asked for an external system status page... VPS.net was my idea!

http://somersettechsolutions.co.uk
http://fourwheeldrifter.co.uk
Reply With Quote
Reply

Thread Tools

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How far will one node take me? Austriaco General Discussion 18 12-22-2009 11:35 PM
Monitoring System Performance geniosity Tutorials and How-To's 12 07-13-2009 09:58 AM
Adding a node fuzzysparks General Discussion 6 06-12-2009 08:52 AM
Monitoring and Alerts deskpro General Discussion 2 04-26-2009 09:34 PM
One IP per node? 3molo General Discussion 11 04-23-2009 05:52 PM