Changeset da1c7e1 in nscp
- Timestamp:
- 07/02/08 07:14:22 (5 years ago)
- Branches:
- master, 0.4.0, 0.4.1, 0.4.2, stable
- Children:
- 846bbe4
- Parents:
- 34e7428
- Files:
-
- 12 edited
-
AutoBuild.h (modified) (1 diff)
-
NSClient++-2005.sln (modified) (2 diffs)
-
changelog (modified) (1 diff)
-
helpers/installer/Product.wxs (modified) (4 diffs)
-
include/EnumProcess.cpp (modified) (1 diff)
-
include/config.h (modified) (1 diff)
-
include/nrpe/nrpepacket.hpp (modified) (1 diff)
-
modules/CheckTaskSched/CheckTaskSched-2005.vcproj (modified) (1 diff)
-
modules/CheckTaskSched/CheckTaskSched.cpp (modified) (2 diffs)
-
modules/CheckTaskSched/CheckTaskSched.h (modified) (1 diff)
-
modules/LUAScript/LUAScript.h (modified) (1 diff)
-
modules/RemoteConfiguration/RemoteConfiguration.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
AutoBuild.h
r34e7428 rda1c7e1 3 3 // change the FALSE to TRUE for autoincrement of build number 4 4 #define INCREMENT_VERSION TRUE 5 #define FILEVER 0,3,3,1 36 #define PRODUCTVER 0,3,3,1 37 #define STRFILEVER _T("0.3.3.1 3")8 #define STRPRODUCTVER _T("0.3.3.1 3")9 #define STRPRODUCTDATE _T("2008-0 6-30")5 #define FILEVER 0,3,3,15 6 #define PRODUCTVER 0,3,3,15 7 #define STRFILEVER _T("0.3.3.15") 8 #define STRPRODUCTVER _T("0.3.3.15") 9 #define STRPRODUCTDATE _T("2008-07-02") 10 10 #endif // AUTOBUILD_H -
NSClient++-2005.sln
rdff5db9 rda1c7e1 7 7 EndProjectSection 8 8 ProjectSection(ProjectDependencies) = postProject 9 {F3401E75-60FB-4A0E-A18C-6505587D5B1A} = {F3401E75-60FB-4A0E-A18C-6505587D5B1A} 10 {BA246C01-063A-4548-8957-32D5CC76171B} = {BA246C01-063A-4548-8957-32D5CC76171B} 11 {BBFF8362-C626-4838-B0A2-F695D638AD24} = {BBFF8362-C626-4838-B0A2-F695D638AD24} 12 {E6E588AB-EFEF-481C-9AF7-DCDCB95CFF45} = {E6E588AB-EFEF-481C-9AF7-DCDCB95CFF45} 13 {05DE66AC-E55C-43B3-849F-7EC695D8B8D0} = {05DE66AC-E55C-43B3-849F-7EC695D8B8D0} 14 {6F55C9BF-57F6-4A15-A058-C83A52F539EE} = {6F55C9BF-57F6-4A15-A058-C83A52F539EE} 15 {4241C6CF-EC01-4AD9-89B0-B75EBA8A5996} = {4241C6CF-EC01-4AD9-89B0-B75EBA8A5996} 16 {26B84883-BE52-40E6-9BEE-55AD056D5751} = {26B84883-BE52-40E6-9BEE-55AD056D5751} 17 {0BEEC749-0E3E-4FB2-82DA-AC8D4730A129} = {0BEEC749-0E3E-4FB2-82DA-AC8D4730A129} 18 {626EB00E-A4D2-4B02-9BF4-4C655CA2B7E4} = {626EB00E-A4D2-4B02-9BF4-4C655CA2B7E4} 19 {8F1C3E39-D6C6-4414-AAD2-FE03C9A8655F} = {8F1C3E39-D6C6-4414-AAD2-FE03C9A8655F} 20 {2FCAF54B-AAD3-4F59-895A-8F9CEAFDC65D} = {2FCAF54B-AAD3-4F59-895A-8F9CEAFDC65D} 21 {08D6246D-1B4A-47A3-965D-296DCC54A4E8} = {08D6246D-1B4A-47A3-965D-296DCC54A4E8} 22 {62B685D7-3A2E-4F3E-B2B8-B17F20C0217F} = {62B685D7-3A2E-4F3E-B2B8-B17F20C0217F} 9 23 {2FF60AF6-09AA-49AB-B414-2E8FD01655C6} = {2FF60AF6-09AA-49AB-B414-2E8FD01655C6} 10 {62B685D7-3A2E-4F3E-B2B8-B17F20C0217F} = {62B685D7-3A2E-4F3E-B2B8-B17F20C0217F}11 {08D6246D-1B4A-47A3-965D-296DCC54A4E8} = {08D6246D-1B4A-47A3-965D-296DCC54A4E8}12 {2FCAF54B-AAD3-4F59-895A-8F9CEAFDC65D} = {2FCAF54B-AAD3-4F59-895A-8F9CEAFDC65D}13 {8F1C3E39-D6C6-4414-AAD2-FE03C9A8655F} = {8F1C3E39-D6C6-4414-AAD2-FE03C9A8655F}14 {626EB00E-A4D2-4B02-9BF4-4C655CA2B7E4} = {626EB00E-A4D2-4B02-9BF4-4C655CA2B7E4}15 {0BEEC749-0E3E-4FB2-82DA-AC8D4730A129} = {0BEEC749-0E3E-4FB2-82DA-AC8D4730A129}16 {26B84883-BE52-40E6-9BEE-55AD056D5751} = {26B84883-BE52-40E6-9BEE-55AD056D5751}17 {4241C6CF-EC01-4AD9-89B0-B75EBA8A5996} = {4241C6CF-EC01-4AD9-89B0-B75EBA8A5996}18 {6F55C9BF-57F6-4A15-A058-C83A52F539EE} = {6F55C9BF-57F6-4A15-A058-C83A52F539EE}19 {05DE66AC-E55C-43B3-849F-7EC695D8B8D0} = {05DE66AC-E55C-43B3-849F-7EC695D8B8D0}20 {E6E588AB-EFEF-481C-9AF7-DCDCB95CFF45} = {E6E588AB-EFEF-481C-9AF7-DCDCB95CFF45}21 {BBFF8362-C626-4838-B0A2-F695D638AD24} = {BBFF8362-C626-4838-B0A2-F695D638AD24}22 {BA246C01-063A-4548-8957-32D5CC76171B} = {BA246C01-063A-4548-8957-32D5CC76171B}23 24 EndProjectSection 24 25 EndProject … … 164 165 EndProjectSection 165 166 ProjectSection(ProjectDependencies) = postProject 167 {2286162D-7571-4735-BAC8-4A8D33A4F42D} = {2286162D-7571-4735-BAC8-4A8D33A4F42D} 166 168 {A3CF4E23-1D1B-4D93-A16A-48C52D118560} = {A3CF4E23-1D1B-4D93-A16A-48C52D118560} 167 {2286162D-7571-4735-BAC8-4A8D33A4F42D} = {2286162D-7571-4735-BAC8-4A8D33A4F42D}168 169 EndProjectSection 169 170 EndProject -
changelog
r34e7428 rda1c7e1 5 5 * Improved socket performance (would be nice if we could be used as a "hub") 6 6 * "The message is blocked by User Interface Privilege Isolation, Administrative applications that need to see it can allow it through by calling ChangeWindowMessageFilter after making sure the necessary security precautions are in place. " 7 8 2008-03-11 MickeM 9 ! 0.3.3 Released 10 11 2008-07-02 MickeM 12 + Fixed some issues (?) with the installer the w32 and x64 are now different components (GUIDs). 7 13 8 14 2008-07-01 MickeM -
helpers/installer/Product.wxs
re1ef872 rda1c7e1 15 15 <?if "$(var.PlatForm)" = "x64"?> 16 16 <?define PlatForm.x64 ?> 17 <?define Product.GUID = "2D1374D5-8026-4e58-8F2E-6A3C40444769" ?> 18 <?define Package.GUID = "4E50A0E0-AE48-4737-A6A7-07F3A9F94C29" ?> 19 <?define Postfix.GUID = "DD5862EE637C" ?> 17 20 <?else?> 18 <?define PlatForm.Win32 ?> 21 <?define Product.GUID = "BD153740-D13B-4432-8D39-EE8D2F100B0A" ?> 22 <?define Package.GUID = "93CF1821-AB09-4c77-AA15-DD5862EE637B" ?> 23 <?define Postfix.GUID = "DD5862EE637B" ?> 24 <?define PlatForm.Win32 ?> 19 25 <?endif?> 20 26 … … 29 35 <?endif?> 30 36 31 <Product Id=" 2D1374D5-8026-4e58-8F2E-6A3C40444769" Name="NSClient++ ($(var.PlatForm))" Language="1033" Version="0.3.1.0" Manufacturer="MySolutions NORDIC">32 <Package Id=" 93CF1821-AB09-4c77-AA15-DD5862EE637B" Description="A simple windows monitor agent for (amongst others) nagios."37 <Product Id="$(var.Product.GUID)" Name="NSClient++ ($(var.PlatForm))" Language="1033" Version="0.3.1.0" Manufacturer="MySolutions NORDIC"> 38 <Package Id="$(var.Package.GUID)" Description="A simple windows monitor agent for (amongst others) nagios." 33 39 Comments="This will appear in the file summary stream." InstallerVersion="200" Compressed="yes"/> 34 40 <?ifdef var.PlatForm.Win32?> 35 <Condition Message="x64 bit version not supported on Win32 bit platform (get Win32 bit version instead)">NOT VersionNT64</Condition>41 <Condition Message="x64 bit version not supported (by installer) on Win32 bit platform (get Win32 bit version instead)">NOT VersionNT64</Condition> 36 42 <?else?> 37 <Condition Message="Win32 bit version not supported on x64 bit platform (get x64 bit version instead)">VersionNT64</Condition>43 <Condition Message="Win32 bit version not supported (by installer) on x64 bit platform (get x64 bit version instead)">VersionNT64</Condition> 38 44 <?endif?> 39 45 <Media Id="1" Cabinet="Product.cab" EmbedCab="yes" CompressionLevel="high"> … … 42 48 <Directory Id="$(var.ProgramFiles)"> 43 49 <Directory Id="INSTALLLOCATION" Name="NSClient" LongName="NSClient++"> 44 <Component Id="MainClient" Guid="F6636DB0-A0B9-4dd2-B74C- B91D05D3CBE7" Win64="$(var.Win64)">50 <Component Id="MainClient" Guid="F6636DB0-A0B9-4dd2-B74C-$(var.Postfix.GUID)" Win64="$(var.Win64)"> 45 51 <File Id="NSClientEXE" Name="nsclient.exe" LongName="nsclient++.exe" DiskId="1" 46 52 Source="$(var.Source)/nsclient++.exe" Vital="yes"> … … 61 67 </Component> 62 68 <Directory Id="INSTALLLOCATION_MODS" Name="modules"> 63 <Component Id="NRPEListener" Guid="5A0246F8-5167-45db-B246- 88F694C7CD7B" Win64="$(var.Win64)">69 <Component Id="NRPEListener" Guid="5A0246F8-5167-45db-B246-$(var.Postfix.GUID)" Win64="$(var.Win64)"> 64 70 <File Id="NRPEListenerDLL" Name="NRPELsnr.dll" LongName="NRPEListener.dll" DiskId="1" Source="$(var.Source)/modules/NRPEListener.dll" Vital="no" /> 65 71 <File Id="NRPEClientDLL" Name="NRPEClnt.dll" LongName="NRPEClient.dll" DiskId="1" Source="$(var.Source)/modules/NRPEClient.dll" Vital="no" /> 66 72 </Component> 67 <Component Id="NSCListener" Guid="6DAF8BB9-9A56-48f5-B2C5- A6CF832E2A69" Win64="$(var.Win64)">73 <Component Id="NSCListener" Guid="6DAF8BB9-9A56-48f5-B2C5-$(var.Postfix.GUID)" Win64="$(var.Win64)"> 68 74 <File Id="NSCListenerDLL" Name="NSCLsnr.dll" LongName="NSClientListener.dll" DiskId="1" Source="$(var.Source)/modules/NSClientListener.dll" Vital="no" /> 69 75 </Component> 70 <Component Id="NSCA" Guid="8820A304-C596-4393-A72F- E750EB112CAA" Win64="$(var.Win64)">76 <Component Id="NSCA" Guid="8820A304-C596-4393-A72F-$(var.Postfix.GUID)" Win64="$(var.Win64)"> 71 77 <File Id="NSCAAgentDLL" Name="NSCAAgnt.dll" LongName="NSCAAgent.dll" DiskId="1" Source="$(var.Source)/modules/NSCAAgent.dll" Vital="no" /> 72 78 </Component> 73 <Component Id="Plugins" Guid="9B490E67-5472-4266-96DC- 5C36F3F3209B" Win64="$(var.Win64)">79 <Component Id="Plugins" Guid="9B490E67-5472-4266-96DC-$(var.Postfix.GUID)" Win64="$(var.Win64)"> 74 80 <File Id="ModCheckEventLog.dll" Name="EvntLg.dll" LongName="CheckEventLog.dll" DiskId="1" Source="$(var.Source)/modules/CheckEventLog.dll" Vital="no" /> 75 81 <File Id="ModCheckExternalScripts.dll" Name="ExtScr.dll" LongName="CheckExternalScripts.dll" DiskId="1" Source="$(var.Source)/modules/CheckExternalScripts.dll" Vital="no" /> -
include/EnumProcess.cpp
rb7ed6ac rda1c7e1 237 237 if (lpBuffer == NULL) 238 238 throw EnumProcException(_T("Failed to allocate buffer")); 239 DWORDdwBytesRead;239 SIZE_T dwBytesRead; 240 240 if (!ReadProcessMemory( hProcess, mbi.BaseAddress, (LPVOID)lpBuffer, sysinfo.dwPageSize, &dwBytesRead)) { 241 241 free(lpBuffer); -
include/config.h
rdff5db9 rda1c7e1 26 26 27 27 // Version 28 #define SZBETATAG _T(" RC ") //_T("") // _T(" RC ") _T(" BETA ")28 #define SZBETATAG _T(" ") // _T(" RC ") _T(" BETA ") 29 29 #define SZVERSION STRPRODUCTVER SZBETATAG STRPRODUCTDATE 30 30 //FILEVER[0] -
include/nrpe/nrpepacket.hpp
r5b9d247 rda1c7e1 117 117 throw NRPEPacketException(_T("No buffer.")); 118 118 if (length != getBufferLength()) 119 throw NRPEPacketException(_T("Invalid length ."));119 throw NRPEPacketException(_T("Invalid length: ") + strEx::itos(length) + _T(" != ") + strEx::itos(getBufferLength())); 120 120 const packet *p = reinterpret_cast<const packet*>(buffer); 121 121 type_ = ntohs(p->packet_type); -
modules/CheckTaskSched/CheckTaskSched-2005.vcproj
rdff5db9 rda1c7e1 635 635 <Tool 636 636 Name="VCLinkerTool" 637 AdditionalDependencies=" Wbemuuid.lib"637 AdditionalDependencies="Mstask.lib" 638 638 LinkIncremental="1" 639 639 AdditionalLibraryDirectories="" -
modules/CheckTaskSched/CheckTaskSched.cpp
r367bf20 rda1c7e1 76 76 77 77 NSCAPI::nagiosReturn CheckTaskSched::TaskSchedule(const unsigned int argLen, TCHAR **char_args, std::wstring &message, std::wstring &perf) { 78 typedef checkHolders::CheckCon atiner<checkHolders::MaxMinBounds<checkHolders::NumericBounds<int, checkHolders::int_handler> > > WMIConatiner;78 typedef checkHolders::CheckContainer<checkHolders::MaxMinBounds<checkHolders::NumericBounds<int, checkHolders::int_handler> > > WMIContainer; 79 79 80 80 NSCAPI::nagiosReturn returnCode = NSCAPI::returnOK; … … 91 91 bool bDebug = false; 92 92 93 WMICon atiner result_query;93 WMIContainer result_query; 94 94 try { 95 95 MAP_OPTIONS_BEGIN(args) -
modules/CheckTaskSched/CheckTaskSched.h
r367bf20 rda1c7e1 59 59 60 60 private: 61 typedef checkHolders::CheckCon atiner<checkHolders::MaxMinBoundsDiscSize> PathConatiner;62 typedef checkHolders::CheckCon atiner<checkHolders::MaxMinPercentageBoundsDiskSize> DriveConatiner;61 typedef checkHolders::CheckContainer<checkHolders::MaxMinBoundsDiscSize> PathContainer; 62 typedef checkHolders::CheckContainer<checkHolders::MaxMinPercentageBoundsDiskSize> DriveContainer; 63 63 }; -
modules/LUAScript/LUAScript.h
r47b843a rda1c7e1 77 77 78 78 private: 79 typedef checkHolders::CheckCon atiner<checkHolders::MaxMinBoundsDiscSize> PathConatiner;80 typedef checkHolders::CheckCon atiner<checkHolders::MaxMinPercentageBoundsDiskSize> DriveConatiner;79 typedef checkHolders::CheckContainer<checkHolders::MaxMinBoundsDiscSize> PathContainer; 80 typedef checkHolders::CheckContainer<checkHolders::MaxMinPercentageBoundsDiskSize> DriveContainer; 81 81 }; -
modules/RemoteConfiguration/RemoteConfiguration.h
r99e4d8f rda1c7e1 58 58 59 59 private: 60 typedef checkHolders::CheckCon atiner<checkHolders::MaxMinBoundsDiscSize> PathConatiner;61 typedef checkHolders::CheckCon atiner<checkHolders::MaxMinPercentageBoundsDiskSize> DriveConatiner;60 typedef checkHolders::CheckContainer<checkHolders::MaxMinBoundsDiscSize> PathContainer; 61 typedef checkHolders::CheckContainer<checkHolders::MaxMinPercentageBoundsDiskSize> DriveContainer; 62 62 };
Note: See TracChangeset
for help on using the changeset viewer.








