2012-02-16 Vanessa Gil <vanessa.gil@artica.es>

* util/pandora_manage.pl: Changed user comment format.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5610 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2012-02-16 09:47:19 +00:00
parent 6dc7ee0c93
commit 6080fd1531
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-02-16 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_manage.pl: Changed user comment format.
2012-02-16 Hirofumi Kosaka <kosaka@rworks.jp>
* bin/tentacle_server: Upgraded to 0.3.0 (Merged from

View File

@ -2304,6 +2304,9 @@ sub cli_create_event() {
$id_alert_agent_module = 0;
}
if (defined($comment) && $comment ne '') {
$comment = '-- Added comment by '.$user_name.' -- '.$comment;
}
print "[INFO] Adding event '$event' for agent '$agent_name' \n\n";
pandora_event ($conf, $event, $id_group, $id_agent, $severity,