2014-04-24 Vanessa Gil <vanessa.gil@artica.es>

* lib/PandoraFMS/Core.pm: Removed entities
	to events log.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9810 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2014-04-24 14:25:41 +00:00
parent a5aa4031ed
commit f4390092d2
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-04-24 Vanessa Gil <vanessa.gil@artica.es>
* lib/PandoraFMS/Core.pm: Removed entities
to events log.
2014-04-23 Vanessa Gil <vanessa.gil@artica.es>
* lib/PandoraFMS/Core.pm

View File

@ -2664,7 +2664,7 @@ sub pandora_event ($$$$$$$$$$;$$$$$$$$$) {
# Write the event
print EVENT_FILE "$header\n" if (defined ($header));
print EVENT_FILE "$agent_name,$group_name," . safe_output ($evento) . ",$timestamp,$event_status,$utimestamp,$event_type,$module_name,$alert_name,$severity,$comment,$module_tags,$source,$id_extra,$user_name,$critical_instructions,$warning_instructions,$unknown_instructions,$ack_utimestamp\n";
print EVENT_FILE "$agent_name,".safe_output($group_name)."," . safe_output ($evento) . ",$timestamp,$event_status,$utimestamp,$event_type,".safe_output($module_name).",".safe_output($alert_name).",$severity,".safe_output($comment).",".safe_output($module_tags).",$source,$id_extra,$user_name,".safe_output($critical_instructions).",".safe_output($warning_instructions).",".safe_output($unknown_instructions).",$ack_utimestamp\n";
close (EVENT_FILE);
}