Windows Drive Size Monitoring unit changes in Performance Graph
This tecnical documentation should highlight an issue you may find when monitoring a Drive on a Windows machine. The value of occupied space is reported as perfdata and interpreted by the perfgraph. The result is a graph showing the occupational situation of the partition.
The issue I am describing, may occur when the partition grows or shrinks and the monitoring agent NSClient++ ( http://www.nsclient.org/ ) used for NetEye changes the unit from i.e. GB to TB.
A graph would look like this, where in some moments the partion is occupied by more than 1024 GB and the returned value ( by the agent ) “shrinks” to 1.00 with unit TB.
This problem has been solved in the NSClient++ version 4.1 with the introduction of the parameter “perf-unit” , that allows to define a fixed unit value to use.
To fix the unit to Gigabyte make use of the parameter: perf-unit=G
In the given Example the output of a small disk of 536 MB used is fixed to GB unit and the resulting output is given as 0.52 GB used.
Introducing the parameter perf-unit=G the unit is changed for the performance data:
Additional Information for the migration from NSClient++ v. 3.9 to 4.1:
First you should stop the old agent and uninstall the service from CMD … and schedule a downtime in NetEye 😉
c:\> nsclient++.exe -stop
c:\> nsclient++.exe -uninstall
Then backup the old NetEyeNSClient++ Folder and copy the new version:
Now the installation and the start of the service is done following these commands:
c:\> nscp service –install
c:\> nscp service –start
With the NetEye solution a version of the agent is provided in the NetEyeShare, where a .bat file solves the installation with these commands for you.
Related Information to the Issue description:
http://www.nsclient.org/nscp/ticket/516
After my graduation in Applied Computer Science at the Free University of Bolzano I decided to start my professional career outside the province. With a bit of good timing and good luck I went into the booming IT-Dept. of Geox in the shoe district of Montebelluna, where I realized how a big IT infrastructure has to grow and adapt to quickly changing requirements. During this experience I had also the nice possibility to travel the world, while setting up the various production and retail areas of this company. Arrived at Würth Phoenix I started developing on our monitoring solution NetEye. Today, in my position as Consulting an Project Manager I am continuously heading to implement our solutions to meet the expectation of your enterprise customers.
Author
Patrick Zambelli
After my graduation in Applied Computer Science at the Free University of Bolzano I decided to start my professional career outside the province. With a bit of good timing and good luck I went into the booming IT-Dept. of Geox in the shoe district of Montebelluna, where I realized how a big IT infrastructure has to grow and adapt to quickly changing requirements. During this experience I had also the nice possibility to travel the world, while setting up the various production and retail areas of this company. Arrived at Würth Phoenix I started developing on our monitoring solution NetEye. Today, in my position as Consulting an Project Manager I am continuously heading to implement our solutions to meet the expectation of your enterprise customers.