mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
2008-06-18 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module_logevent.cc: Now returns "empty" data when no data is available. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@876 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
b07bfee644
commit
cba2e4d3a0
@ -1,3 +1,8 @@
|
|||||||
|
2008-06-18 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
|
* win32/modules/pandora_module_logevent.cc: Now returns "empty" data
|
||||||
|
when no data is available.
|
||||||
|
|
||||||
2008-06-13 Ramon Novoa <rnovoa@artica.es>
|
2008-06-13 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* win32/bin/PandoraAgent.exe: Updated to r857.
|
* win32/bin/PandoraAgent.exe: Updated to r857.
|
||||||
|
@ -53,6 +53,11 @@ Pandora_Module_Logevent::run () {
|
|||||||
|
|
||||||
Pandora_Wmi::getEventList (this->source, this->type, this->pattern, this->getInterval (), event_list);
|
Pandora_Wmi::getEventList (this->source, this->type, this->pattern, this->getInterval (), event_list);
|
||||||
|
|
||||||
|
if (event_list.size () < 1) {
|
||||||
|
this->setOutput ("");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
for(event = event_list.begin (); event != event_list.end(); ++event) {
|
for(event = event_list.begin (); event != event_list.end(); ++event) {
|
||||||
this->setOutput (*event);
|
this->setOutput (*event);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user