carllindelof / sensu-client Goto Github PK
View Code? Open in Web Editor NEWSensu client in .Net
License: MIT License
Sensu client in .Net
License: MIT License
It is quite usual to just check Performance Counters, so it is a resource waste to run an external program to get them (since they are already external programs).
So, in order to improve the performance, I'd like to create a new Command
type that allows to get a Performance Counter in an easy way.
Let's see an example. To get the CPU it should be enough with launching an special command like:
!perfcounter> processor(_total)\% processor time -- warn:80 critical:90 schema:foo.bar
So, whenever the command starts with "!perfcounter>", it should start an special command in order to process the performance counter and use it in a normalized way.
Please, if you like the idea but you prefer a better syntax, just tellme in this issue. I'm already implementing it.
Thank you.
Hi,
I attempt to build the sensu-client with the latest version of visual studio and wix and i am receiving this error. Here is the build output.
1>------ Build started: Project: sensu-client, Configuration: Release Any CPU ------
1> All packages listed in packages.config are already installed.
1> sensu-client -> C:\Users\timothy\Desktop\sensu-client-master\bin\Release\sensu-client.exe
2>------ Build started: Project: Setup, Configuration: Release x86 ------
2>C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets(971,5): warning : The referenced project '....\sensu-client\sensu-client.csproj' does not exist.
2> C:\Program Files (x86)\WiX Toolset v3.10\bin\candle.exe -d"DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE" -dSolutionDir=C:\Users\timothy\Desktop\sensu-client-master\ -dSolutionExt=.sln -dSolutionFileName=sensu-client.sln -dSolutionName=sensu-client -dSolutionPath=C:\Users\timothy\Desktop\sensu-client-master\sensu-client.sln -dConfiguration=Release -dOutDir=bin\Release\ -dPlatform=x86 -dProjectDir=C:\Users\timothy\Desktop\sensu-client-master\Setup\ -dProjectExt=.wixproj -dProjectFileName=Setup.wixproj -dProjectName=Setup -dProjectPath=C:\Users\timothy\Desktop\sensu-client-master\Setup\Setup.wixproj -dTargetDir=C:\Users\timothy\Desktop\sensu-client-master\Setup\bin\Release\ -dTargetExt=.msi -dTargetFileName=sensu-client.msi -dTargetName=sensu-client -dTargetPath=C:\Users\timothy\Desktop\sensu-client-master\Setup\bin\Release\sensu-client.msi -out obj\Release\ -arch x86 -ext "C:\Program Files (x86)\WiX Toolset v3.10\bin\WixUtilExtension.dll" -ext "C:\Program Files (x86)\WiX Toolset v3.10\bin\WixNetFxExtension.dll" Product.wxs
2>C:\Users\timothy\Desktop\sensu-client-master\Setup\Product.wxs(41,0): error CNDL0150: Undefined preprocessor variable '$(var.sensu-client.TargetPath)'.
2>Done building project "Setup.wixproj" -- FAILED.
2>
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.