Monitoring IT Infra with Prometheus and Grafana – Part 1

Recently in pursuit of Open Source solution to monitor a stack of Jenkins and Team City nodes, I got chance to explore Prometheus and Grafana, which brought back all the fun, I used to have with CentOS and Open Source. That prompted me to write a step-by-step guide about setting up one.

Roughly 12 years back, I wrote a blog about Zabbix Monitoring when I was managing couple of data centres of a BPO in Delhi. In those days, I worked over a number of solutions over CentOS but later on in career,  I got more engaged in Windows side of world. Microsoft Azure, O365 and more so Windows PowerShell and lost touch with such Open Source solutions for monitoring. But what better to resume the touch than Prometheus and Grafana.

Windows Dashboard

Let’s go through introduction first, what is Prometheus? Some sci-fi movie title?

Prometheus is an open-source systems monitoring and alerting toolkit originally built at SoundCloud to meet requirements like a multi-dimensional data model, operational simplicity, scalable data collection, and a powerful query language, all in a single tool. The project was open-source from the beginning and began to be used by Boxever and Docker users as well, despite not being explicitly announced. Prometheus was inspired by the monitoring tool Borgmon used at Google. In May 2016, the Cloud Native Computing Foundation accepted Prometheus as its second incubated project, after Kubernetes. The blog post announcing this stated that the tool was in use at many companies including DigitalOcean, Ericsson, CoreOS, Weaveworks, Red Hat, and Google.

Second incubated project after Kubernetes? Impressive, no?

What about Grafana?

Grafana is a multi-platform open source analytics and interactive visualization web application. It provides charts, graphs, and alerts for the web when connected to supported data sources. A licensed Grafana Enterprise version with additional capabilities is also available as a self-hosted installation or an account on the Grafana Labs cloud service. It is expandable through a plug-in system. End users can create complex monitoring dashboards using interactive query builders. Grafana is divided into a front end and back end, written in TypeScript and Go, respectively.

As a visualization tool, Grafana is a popular component in monitoring stacks, often used in combination with time series databases such as InfluxDB, Prometheus and Graphite; monitoring platforms such as Sensu, Icinga, Checkmk, Zabbix, Netdata, and PRTG; SIEMs such as Elasticsearch and Splunk; and other data sources.

Ok enough of introduction, let’s begin with steps to setup one. Continue reading “Monitoring IT Infra with Prometheus and Grafana – Part 1”


Sixth Interview-Mukesh reckons that Windows Mobiles are the best

[tweetmeme source=”mrnitishkumar” only_single=”false”]

When this idea of interviewing the various users about their phones started, then I wasn’t aware that it gonna be this much fruitful and has even potential of standing on its own in form of some blog dedicated to such question-answer sessions, but after five interviews, even I am feeling that may be we are not giving each platform its proper share of attention (may be diverted in opinions by other users/blogs). Many of the questions answered, some of the doubts cleared a little and now the journey reaching to one more side of the market, which mostly went not well promoted- Windows Mobiles.

Here is Mukesh Nigam, a computer professional from New Delhi talking about his Windows Phone and man! he is really such a strong supporter of his HTC and windows mobile. Some really long answers sometimes and some of the hard statements.

Leaving the show on him from here onward …

Mukesh, Can you tell us something about you ? like your field, profession,background etc..blogging\ social life or anything special. 
Hi All, myself Mukesh Nigam, a computer professional from delhi. I have done MSC (Computer Science), DNIIT from NIIT, Web Page Programming from NIIT, CIC from IGNOU and some other courses on HW and SW from local inst. As well.

You got me by Google buzz that’s pleasant and still quite strange to me as I am not getting enough people engaged on Google Buzz in comparison of twitter. Are you active on twitter too? What’s the handle?
I Do have an account on tweeter with the same handle mukeshnigam2010

Its true that with Windows Phone 7, Microsoft seems to coming back strong in Mobile world. But its also a fact that no one can deny that Microsoft didn’t well with Mobile market. But still you stays with Windows? Any reason? 
Yeah Dear! you are right, winmo 7 has got some more features but here let me clarify you that windows mobile were better from the beginning but people didn’t knew it before. The windows mobile 7 has got more easier to use than its previous versions. Like earlier versions (like 6.0 shows a menu bar just like the Windows of desktop and you can customize the 7 main items, where as windows 6.5 puts u directly into the all program icons just like iPhone & others.

The main reason till Microsoft’s failure was only because the apps factor. Even yahoo messenger was not working well from the yahoo’s own site, But now you can get thousands of apps for your windows mobile for free. Even it got the messenger which works much better than the traditional yahoo messenger as you can chat with multiple account at the same period of time such as yahoo/icq/aim/msn/google/jabber/facebook at a single point of time. You can also share pics while chatting by drag and drop or from cam with this. ( The Messanger name is ‘SLICK’ for windows mobile.

As per my view, the reasons for failure of Windows Mobile till now been –

Its marketing strategy (less margin for dealer & min. marketing) & the lack of apps (which has overcome now in a way as you can have thousands of apps from various site, even Microsoft marketplace is going better and strong, which comes along with the phone. Some of the sites for apps are- (with htc winmo),, etc.)

My reasons to stay with Windows Mobiles

  1. The multi-tasking feature of windows is simple gr8, which you hardly find in any other cell because The basic funda of windows is multi-tasking itself.
  2. Windows mobile provide the widest range for apps, functions and portability than any other os available in the market.
  3. You may hardly finds a HTC windows mobile in a mobile store because of less margin, let me share an incident which took place a couple of months back I went to many store to get a new HTC winmo device named HTC HD2 mini (with win 7), but they denied. I went to a mobile shop for the cell, the owner said that “Why don’t u go for a blackberry” I said, ‘Dear, I don’t like the Dubba” he smiled in affirmative way and says to me “It means u have used a HTC mobile”. 

    Later in  our general talk, He confessed that the HTC has lesser profit margin than the blackberry and others so v usually don’t promote it but they got much value for money and that’s for sure & I may get it from a very few shops because of the same reason.

The list goes on & on. I have checked a lot of cells & then came to this conclusion that there’s mainly two types of people around, one who knows fully potential of a HTC winmo ( who knows it and using ) and others who are not aware of its greatness. (Or not using it, or need something else than the features). My friends & relative had it but now most of them are diverting towards HTC because of mine.

While I guess the list might be long, can you list out the phones you have used for last few years ?
Yeah I am using phones since more than a decade now, my earlier cells were Samsung 2400, SS R220, Panasonic d90/92, Samsung T100, Samsung True Eye, sony, Nokia 3200, Nokia 6600, Nokia 7610, Nokia 7210, Nokia N72, Nokia N73, Nokia N92, Nokia N95, HTC 3470, HTC touch 3G, HTC touch 2 (current).

HTC HD2 mini (with win7) or higher (in a near coming months)

When did you plan to go for your first Windows Phone (is it a plan or accident ?) Do you go by the OS, platform (Windows/ Android/ Symbian) or the vendor (Samsung\HTC\Nokia)?
I Got my first winmo abt 4 yr back & it got just happened by chance. My friend Puneet, who lives in U.K. came to India, and by him I came to know that HTC is the most appealing brand there. Things related to HTC got me fascinated about it soon.

I decided to lets have a change from Symbian to Windows mobile. I got a HTC 3470, it had GPS, EDGE, windows 6.0 professional, 200 mhz pro, 128 mb ram, I really got very excited with its speed on net (with edge) as It gave much more speed from my Nokia N95 and was able to open virtually any site with its MS explorer. The HTC freeware came along with, from which I downloaded some of the apps too, such as flash player & Google maps etc.

Whats your views on touch screens? Do you really feel that they are at par with Non-Touch ones about text entries? 
Yeah the Touch screen phone are really great if the makers are pioneer in Touch revolution like HTC or Apple, Nokia seems to be a fresher in this field, but considering the responses to Nokia N8, it seems they are also getting better.

All of these answer were written on my virtual keyboard of HTC Touch2 and its really nice and easy. What I found from my experience in touch phones is that, HTC user interface is much better than the rest with its added feature of ‘TouchFlow’ on its windows or android platforms.

For me, Windows phone didn’t catch up well for keeping a similar approach as they had on Desktop. Pricing vs Hardware ratio were also didn’t went par with the market at right moment. Is it really preferable for someone to buy a Windows phone, if at the same price Nokia etc might be offering much more capable phones?
SURE Buddy… I will recommend HTC more even it comes at much higher price than the rest.

People can do virtually all the thing on the HTC winmo because they provides a good HW quality and  performance than the rest.


You use your phone for accomplishing which thing most… calls, browsing, navigation, movies, twitter.. which one? Do you use it as main phone or had used? 
I use it for ALL of ABOVE. I use it as my main phone too. But got an another supplement phone too.

When we talk about mobile OS, then things revolve around performance in limited resources, more and more accessibility in limit screen space, always connected smooth signals and finally the longest battery performance. Where HTC stands around it? 
Well. If you keep its LCD contrast a bit low, HTC Touch2 may last for the whole day with high usage such as internet, you tube, and emailing.

I admit that HTC Sense was a nice approach for the home screen, how much it has improved from the earlier versions HTC was trying. Have you used any of the old windows mobiles, if yes then how the things changed from there? 
In earlier versions, it was 2D only then it became 3D along with good animation, later it got more colors and easy to use interface with the exciting UI. Currently it has refined in areas to make it more user friendly with smooth & great animations. Windows mobile experience on a HTC mobile is Above from the Rest. Its like having an IBM computer (pioneer in H/w with quality product) with a Genuine Windows PC (pioneer in good quality s/w product).

When we go for Mobile OS other than Symbian, then often we find ourselves encountering serious limitations that we always took for granted on Symbian? Anything special with Microsoft which Symbian and most common Symbian phones around unable to do or do not that efficiently? 
AS I have told in my earlier answers, it does virtually all the things which are even impossible to do in rest. Can u tell me what the specials which are you talking about?

Battery is something which makes or breaks things for many. Where HTC stands about it?
Batter life is not a big deal in it, if you do simple e-mailing and maps ( w/o GPS) etc. Then it provides a very decent backup of around two days easily. I will give it 8 out of 10

Slim factor is something people talking much about now days. How was the form factor of HTC for you? Some of the models were not liked due to the fact 
Slim factor is also which matters the most for me too. Slim means more comfortable and easy to carry.

There is much of the talk around Camera, Gaming, HDMI etc. Where is HTC and Windows on this?
Camera quality is very good compared to others who got higher resolution it captures the nice quality pics. 3 D gaming is also works gr8 on my touch2 cell, I do play Price of Persia (HD) 3d and works gr8. I find it at par with rest of the market and even better.

Check out the pics given below, taken in day light


Your phone is total touch only, right? So, Portrait or Landscape.. what you prefer about texting? Whats different about touch keypad here than other platforms you might have tried? I guess there was no swype, right? Have you heard about Swype?
The swype or slideIT is not available in htc touch2 ,but available in HD version of HTC. But you may download it from various site for free. Plz Check for some exciting games & apps

How is the IM, Video experience on it? You need app for that or its like Nokia N900 Maemo or something? SMS/ MMS experience?
Winodows msngr comes by default or may install Slick (described earlier) for free.

Well at some places, smart phone become a bit lesser attractive when loose internet connection. How is it about HTC and Windows? What can keep you engaged when offline?
SURE BUDDY.. you can still be engaged with its GPS apps such as ‘Sports Tracker’ – keeps us footprint records, your travel track, speed, max, min, avg, up(in meter), down (in meter) or ‘Cycle Computer’ or Smart Runner – Provides ur speed and calory burn, ‘Sporty Pal’- Provides & keeps track of all ur activities & calory burns such as driving, swimming, walking, running, flying, cycling etc. or you can play 3D games on it with a lot of cool stuffs, which you may download for free.

How is GPS there on HTC? Which Maps application Windows phones are generally using? How rich they are in comparison of Ovi Maps or Google Maps? Is there any things like free voice assisted navigation etc, which most of the Nokia phones come equipped with now days?
THE GPS of my HTC touch2 Works really gr8. shows the precise and exact location on map too.

Twitter, facebook … been the biggest buzz of town now days and sometimes become the deciding factor to define a mobile platform too for some people. How much you are into these two mediums and which app you used for these? Is there any shipped with the phone out of the box?
Yeah, I do both. The apps are provided in the phone . You may access directly by your phone browser too or can place a bookmark with the logged on on opera mobile 10. where you can always be online and can access at any time just by taping on the linked window.

Now on real things, is it loud on calls? What about the music performance?
FM works great, its decent on calls, music performance is quite fine, but superb in headphone rather than the speakers.

Bluetooth transfer, MicroSD cards etc. How it stands in a world where you find much lesser Windows phones users in comparison? How you work out if some of the friend asks you to transfer some song to his Nokia phones or if your phone ran out of battery and you need to find a charger which is sure not that easy job as easy it is to find a Nokia universal charger?
The Bluetooth transfer is supported and is really fast with it and also the microSD card. It can play virtually any format so no worry about it.

As about charging, then if you don’t have any charger it will still work in case of HTC mobile via USB charging, because you can charge it from virtually any device such as your Car’s Stereo, computer, FM Modular, Laptop, desktop, all you need is a USB cable.

Do you think Your HTC can act as a full time "phone" in your hands or you need some backup phone too .. considering touch screen and battery limitations in mind?
YES it can be used as a full time phone if you don’t watch you tube clips for hours or runs of map with GPS on for several hours, but that’s general situation for every brand.

Where HTC stands in camera battle with likes of Nokia N8, SGS and iPhone 4 with HD recording capabilities? 
Not particularly this model might be very big on video recording, but it does not provide HD recording but you may capture MPEG 4 with CIF (352*288 resolution) format.

How many apps are there in Microsoft Store for their Mobiles? Is HTC provide their own Store too? How many free apps are there and what are prices in general? 
Thousand of apps are available for Microsoft mobile, a good one is 

What feature(s) are completely different and most attractive to you on Windows, which you find no where else ?
Literally many like …

Microsoft Office 2010, Stability and Performance, Transcriber, MyPhone, You Tube, HTC touchFLo, One Note2010, NET Speed of 384 kbps on Even at 2G (touch2 also supports 3G network), Full mail support as v do in Desktop computer, RSS Hub, Remote desktop Mobile, Qmenu, MSN Weather, Superb Multi-Tasking Environment, Support for Zip files, Quality of HTC

Me: I will say, most of them are available at  other platforms as well though native support for RDP is what always excited me.

What you dont like about Microsoft or HTC?
The Camera Flash is not available in most of the models such as mine (Touch 2), so cant shoot pics in dark, pics in daylight is wonderful.

What about cloud Services? Android betting on Google Cloud, Apple making their own, Nokia with Ovi? What Microsoft is betting on?
Google and other Cloud services could be accessed via Windows Mobiles in the same way, you might be doing with Desktops, so not an issue.

Let’s say, you got a SIM with no GPRS and you have to start a fresh piece of HTC without internet, is this really cut then?
As Described earlier, Can still worthy.

Will you recommend others to buy HTC Touch2? If not all, then any particular segment? Or which other handset?
ha ha!! Do you still need the answer for it, dear? Check out the video given below

Does Windows has a future as per your guessing, when even HTC exploring Android on big scales and it has boosted the number of handsets for them? 
YEAH sure. Because now windows mobile has got thousand of apps too which were lacking before, the future for winmo is bright. People looking for more will go for it.

Your score points to the HTC Touch 2 (rating if any..)
9/10 (1 point less because No cam flash or HD recording like Nokia N8 and others have)

Thanks Mukesh, its been a fun talking to you. You really seems to be a hardcore fan of HTC and Windows mobile. If any of the readers have any queries related to Windows then they sure can leave their comments here.

Please express your views that how much you agree with the points and keep on showing love for this current series of interviews going on.

Digg This

Making Zabbix Monitoring Server from Scratch: The Dummies Manual

[tweetmeme source=”mrnitishkumar” only_single=”false”]

Update: Wrote this post long back.. just was meant to show that how easy it could be…many things needs to be Add to Google Buzzupdated in reference to new features and UI.. will update soon. Recently I received a book over Zabbix from Packt Publicing. Amazing book and probably the only available for the same. Worth buying….

“ How we system administrators work in case of any trouble? If something goes down or anything wrong would have happened and we get asked about how it happened? We just run into logs or try to guess what would have been happened, was it high CPU, low disk space or tremendous network traffic? Sometimes we get our answers, sometime not and we keep on saying ourselves that we can’t be everywhere to monitor each and everything all the time. But it’s the time to update yourself and get optimized. I went through a few of monitoring solutions and with their pros and cons, finally I got settled with the Open Source Solution developed by Zabbix SIA. ”


What is Zabbix? Before the configuration and installation part, I am starting with a little history.zabbix1_thumb Zabbix is a network management system application created by Alexei Vladishev in 1998 (public release in 2001) to monitor and track the status of various network services, servers, and other network hardware. Zabbix uses MySQL, PostgreSQL, SQLite or Oracle to store data. Its backend is written in C and the web frontend is written in PHP and javascript.

Zabbix offers several monitoring options. Simple checks can verify the availability and responsiveness of standard services such as SMTP or HTTP without installing any software on the monitored host. A Zabbix agent can also be installed on UNIX and Windows hosts to monitor statistics such as CPU load, network utilization, disk space, etc. As an alternative to installing an agent on hosts, Zabbix includes support for monitoring via SNMP, TCP and ICMP checks, IPMI and custom parameters. Zabbix supports a variety of real-time notification mechanisms, including XMPP.

Installation and Configuration to monitor Windows\ Linux Servers:

Although I tried and found it extremely efficient , but even then I didn’t went along with the wonderful easy install procedure made by Brendon Baumgartner, not due to some fault in that one, but due to inherent problems with I guess not stable yet latest version of zabbix. But I sure be waiting for BB to write other magic scripts in the same way to make things one Enter only.

Here comes the way, I followed to install zabbix in manual way over the servers.

Step by Step Implementations with details:

Base machine: As for most of Linux Development I choose, even here I am choosing CentOS as the base system to build the solution upon. One should go for at least CentOS 5.x as there are a few options not available with older CentOS 4.x. As per recommendation for CentOS, machine should have at least 512 MB RAM and decent processor, LAN card etc. and although not kind of requirement but the machine should has ample space in it to store logs for as many days.

As usually I do, installation was customized with 1GB swap, 200 MB of boot partition, all PHP/ MySQL related packages checked, all libraries checked, SendMail package checked. In next, as the installation will pull updates, packages from internet directly, so Ethernet configurations should be ready and internet should be working fine over the same machine. Also note that it would be around 27-28 mb download size in total while installation.

Pre-requisites for the installation:

First of all, we need to finish installation/ update of all required packages in reference with zabbix installation.

yum install httpd php mysql mysql-server mysql-devel php-gd php-mysql php-bcmath gcc net-snmp net-snmp-libs net-snmp-utils net-snmp-devel curl-devel

Once finished with this, one need to check whether the crucial components are configured to start with the system and are working well.

# service httpd start
# chkconfig –add httpd
# chkconfig httpd on
# service mysqld start
# chkconfig –add mysqld
# chkconfig mysqld on

Possible issues and resolutions first:

Need to check whether things are working fine.

# mysql –u root

This should leave one to MySQL prompt, if not then need to check. In next, need to check whether httpd is working fine (Apache is properly installed and configured). Type the IP Address of the target Zabbix Installation Server in browser from some other computer, if you are able to see Apache page, then its fine otherwise you will be needed to check things like SELINUX.

How to check selinux status?

Execute the following command:

# sestatus

If its showing it enabled, then could disable it by

# setenforce 0

To permanently disabled the same, we need to do some editing in configuration file, otherwise it will be back with the next boot

# vi /etc/selinux/config

The file must look like (after setting SELINUX=disabled)

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing – SELinux security policy is enforced.
# permissive – SELinux prints warnings instead of enforcing.
# disabled – SELinux is fully disabled.
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted – Only targeted network daemons are protected.
# strict – Full SELinux protection.

Check if the browser started opening apache page after this, if yes, then we are done, otherwise should look down in /var/log/httpd/error.log for other possible reasons.

Installation and configuration steps:

Here I am assuming that you are using CentOS 5.x as base, otherwise the configurations might be altered.

# cd /usr/src
# tar zxf zabbix-1.4.5.tar.gz
# cd zabbix-1.4.5
# mysql -u root
# mysql> create database zabbix;
# mysql> quit
# cat create/schema/mysql.sql | mysql -u root zabbix
# cat create/data/data.sql | mysql -u root zabbix
# cat create/data/images_mysql.sql | mysql -u root zabbix
# ./configure –enable-server –enable-agent –with-mysql –with-net-snmp –with-libcurl
# make install
# mkdir /etc/zabbix
# cp misc/conf/* /etc/zabbix
# groupadd zabbix
# useradd -g zabbix zabbix
# chown zabbix:zabbix /usr/local/sbin/zabbix*
# cp misc/init.d/redhat/8.0/zabbix* /etc/init.d
# vi /etc/init.d/zabbix_agentd

change BASEDIR=/opt/zabbix to BASEDIR=/usr/local/sbin


# vi /etc/init.d/zabbix_server

Make the same changes as above.

# chkconfig –add zabbix_agentd
# chkconfig –add zabbix_server
# chkconfig –level 3 zabbix_server on
# chkconfig –level 3 zabbix_agentd on

Now, installing the web application….

# mkdir /var/www/html/zabbix
# cp -R frontends/php/* /var/www/html/zabbix
# chown apache:apache /var/www/html/zabbix/conf
# vi /etc/php.ini

Find resource limits section and change max_execution_time to 300

;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;;

max_execution_time = 300 ; Maximum execution time of each script, in seconds

Also make changes for date.timezone entry, it should be commented, uncomment it and set it accordingly like in case of India ..


At the end, start zabbix services

# service zabbix_server start
# service zabbix_agentd start

Add zabbix ports to be listened to the configuration of services.

# vi /etc/services

And put the following two lines at the very end of the file.

zabbix_agent 10050/tcp # Zabbix ports
zabbix_trap 10051/tcp

Zabbix Server console installation is ready to and web installation is ready to go from here.

After finishing all the above steps, now go to url http://IP_ADDRESS/zabbix (Here IP_ADDRESS is what you have given to the server Ethernet port)

It should ask for installation steps, if you have followed my steps exactly, then it must go like next, next only. After finishing all the steps, you will get a login prompt, user name will be admin here and password is blank. After login, go to profile link and change the password to whatever suits to you. Logout and login again. Click monitoring and then go to screens in second row. You should get five screens on the same page for the zabbix server itself. One screen must be having map only. Check that rest all showing you graphs or not. If yes, then server side work is done and you are ready to move towards adding clients.

Zabbix Agent Installation over Linux Clients:

First part is to download the appropriate zabbix agent package from the official page. I assume, your clients (Servers to monitor) are updated and have kernel at least 2.6.x (If not then choose the suitable package).

# yum install net-snmp net-snmp-libs net-snmp-utils net-snmp-devel curl-devel (Optional)
# groupadd zabbix
# useradd -g zabbix zabbix
# cd /usr/src
# tar zxvf zabbix-1.8.tar.gz
# cd zabbix-1.8
# chmod 7555 *
# ./configure -enable-agent -with-mysql -with-net-snmp -with-libcurl
# make install
# chown zabbix:zabbix /usr/local/sbin/zabbix*
# mkdir /etc/zabbix
# cp misc/conf/* /etc/zabbix
# cp misc/init.d/redhat/8.0/* /etc/init.d
# chmod +x /etc/init.d/zabbix_*

Now, Change the binary location to /usr/local/sbin

# vi /etc/init.d/zabbix_agentd

In next, make the zabbix agent point to your Zabbix Server by putting Server’s IP Address in configuration file of agent

# vi /etc/zabbix/zabbix_agentd.conf

And as final step on client side, set up the services

# chkconfig –add zabbix_agentd
# chkconfig –level 3 zabbix_agentd on
# service zabbix_agentd start

Getting the graphs from data coming from agents:

You will see that Zabbix Server itself added in the WebUI. In place of creating a new monitoring scenario, first it’s easier to copy the same entries to the newly added Linux Servers.

Go to Hosts, create a new host with the name of your agent (whatever name you choose), select group as Linux Server, then put the right IP Address and set the tab below to it on IP Address and save.

After this, go to Items, from combo box at right top, select zabbix server, it will show up items already configured for zabbix server, you need to select all the items and press copy selected items to button at the bottom and then when it will show the list of all templates and hosts configured, choose the one, you just created.

From here, you have setup items to fetch data from agent, now how to use it. Go to graphs, from right top select zabbix server and copy all the graphs to newly created server. Graphs are ready from here.

Finally, make a screen to monitor. Make a screen of 2×2 and give it the name as per your choice. Once screen created, click edit. Then configure CPU Loads, CPU Utilization, Disk Space and Network Utilization graphs for the agent, you setup and you are ready to monitor your Linux Server.

Zabbix Agent Installation over Windows Clients:

I find Windows Installation easier in first part and little bit complicated in second part. First need to download the windows agent from here

Then install it and it will ask for server IP Address, give zabbix server’s IP Address. Now, go to WebUI of Zabbix Server, Create host/items/graphs/screens in similar ways and you are ready to go.

There are many features that are there in Linux Agent but nowhere in Windows one. One workaround is to use data fetched from Windows Performance Monitor (permon.exe).

For example: Network Utilization

Go to cmd, type typeperf –qx |find “Network” >c:\network.txt

Now, check the network.txt file created in C: drive, it would be containing the exact network resource/ variable name for bytes sent and bytes received.

Now, how to call it?

Go to C:\program files\zabbix agent\zabbix_agentd.conf

Add something like following lines at the end…

PerfCounter= Server1NetIn,"\Network Interface(Intel Pro Server Adapter)\Bytes Received/sec",60
PerfCounter= Server1NetOut,"\Network Interface(Intel Pro Server Adapter)\Bytes Sent/sec",60

Note that the value placed in inverted commas is exactly the same, which you must have obtained from that network.txt file. Restart the Zabbix Service from services.msc. Now, go to Zabbix Server WebUI, create an item in target Windows Server area with any name for Network and put Server1NetIn or Server1NetOut as key. Save item and you are ready to use it in your graphs 🙂

Add to FacebookAdd to DiggAdd to Del.icio.usAdd to StumbleuponAdd to RedditAdd to BlinklistAdd to TwitterAdd to TechnoratiAdd to Yahoo BuzzAdd to Newsvine

Windows 2000 and XP SP2 Support ending on July 2010

So finally the bad news is about to arrive.

As per Microsoft Lifecycle of the product, mainstream support for Windows 2000 was already ended on June 30, 2005 and now the extended support is also about to expire on July 13, 2010. The same is for Windows XP SP2 which will end on the same day (although support for Windows XP SP3 will remain continued till April 8, 2014).

 win2000advserv SP2

XP Users could relax for a little longer as XP SP3 support will remain continued till April 8, 2014 and only the support for XP SP2 is ending by July 13, 2010. If any more service comes then it will be continued to 24 months more.


Before the headline starts a panic, let us know about how Microsoft Support Life Cycle Policy works and what is going to change with the same date.

Microsoft Support consists of three phases:

  1. Extended Support (5 More Years)

With Microsoft Products, once your Mainstream Support expires, you will not be able for claim for warranty support, design changes or new feature requests. Non security hot fixes support will be available via a separate Extended Hot-fix Support Agreement only. Obviously, no more service pack, neither any new license purchase would be available.

Once, your extended support expires, you will not receive security updates or non security related hot-fixes and although the support knowledge base will remain available on site for self help, but one should not expect the content to be updated any more or MVPs to reply queries related to that product in official forums.

Its time to get into migration work for those IT managers (although I guess there must be only few), who might not yet migrated their Database Server/ File Servers/ Domain Controllers etc from Windows 2000 to Windows 2003 or Windows 2008 as having a server without updates security fixes meant to lots of vulnerabilities and is also against security compliances of audit requirements. Check the link in above text and also the migration checklist for the migration related information.

Moreover, it might be a hard time to spend more for those companies, which are yet relying on their older machines with 256MB RAMs and their IT managers are managing the support by keeping the machines with SP2 only for performance reasons.

Now, about our Windows XP Users, who resisted whole heartedly against Windows Vista and still resistance remained against Windows 7 in some way to keep Windows XP Professional continued, it might be their time to think, as even if away, the time will come when they will be forced to do the switch and sure, there are some good reasons to switch over Windows 7 as well.

Moreover, one must get used to the product before be forced to do so. Technology changes for better and you cant expect a manufacturer getting programmers new generation involved with the technology that passed on.

So, the tagline is “Don’t panic right now, but take a step for next future.”