Changeset 52edb15 in nscp
- Timestamp:
- 03/04/12 10:55:24 (16 months ago)
- Branches:
- master, 0.4.0, 0.4.1, 0.4.2
- Children:
- 836e9cd
- Parents:
- 465147a
- Files:
-
- 1 added
- 4 edited
-
changelog (modified) (1 diff)
-
modules/Scheduler/Scheduler.cpp (modified) (2 diffs)
-
modules/Scheduler/schedules.hpp (modified) (1 diff)
-
sample/CsharpSamplePlugin/Properties/AssemblyInfo.cs (added)
-
scripts/python/test_python.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
changelog
ree52cdd r52edb15 8 8 * Added new dot-net API (Which does not require any strange wrappers) 9 9 * Added brand new sample C# plugin 10 * Fixed issue with python unit script loading usig the wrong default options 10 11 11 12 2012-02-21 MickeM -
modules/Scheduler/Scheduler.cpp
ree52cdd r52edb15 121 121 if (code == NSCAPI::returnIgnored) { 122 122 NSC_LOG_ERROR_STD(_T("Command was not found: ") + item.command.c_str()); 123 if (item.channel.empty()) { 124 NSC_LOG_ERROR_STD(_T("No channel specified for ") + item.alias + _T(" mssage will not be sent.")); 125 return; 126 } 123 127 //make_submit_from_query(response, item.channel, item.alias); 124 128 nscapi::functions::create_simple_submit_request(item.channel, item.command, NSCAPI::returnUNKNOWN, _T("Command was not found: ") + item.command, _T(""), response); … … 126 130 get_core()->submit_message(item.channel, response, result); 127 131 } else if (nscapi::report::matches(item.report, code)) { 132 if (item.channel.empty()) { 133 NSC_LOG_ERROR_STD(_T("No channel specified for ") + item.alias + _T(" mssage will not be sent.")); 134 return; 135 } 128 136 // @todo: allow renaming of commands here item.alias, 129 137 // @todo this is broken, fix this (uses the wrong message) -
modules/Scheduler/schedules.hpp
r523576e r52edb15 113 113 object.set_duration(_T("5m")); 114 114 object.set_report(_T("all")); 115 object.channel = _T("NSCA"); 115 116 } 116 117 -
scripts/python/test_python.py
r84cdb9b r52edb15 76 76 conf.set_string(base_path, 'threads', '0') 77 77 78 default_path = '%s/ python_test'%base_path78 default_path = '%s/schedules/default'%base_path 79 79 conf.set_string(default_path, 'channel', 'py_stress_test') 80 80 conf.set_string(default_path, 'alias', 'stress')
Note: See TracChangeset
for help on using the changeset viewer.








