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:
parent
6dc7ee0c93
commit
6080fd1531
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue