2010-06-07 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added build information to the agent version. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7f83e243af
commit
0c8ad5379e
|
@ -1,3 +1,7 @@
|
|||
2010-06-07 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* pandora_agent: Added build information to the agent version.
|
||||
|
||||
2010-06-07 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* pandora_agent_installer: Added support for FreeBSD.
|
||||
|
|
|
@ -896,7 +896,7 @@ while (1) {
|
|||
my $xml = "<?xml version='1.0' encoding='" . $Conf{'encoding'} . "'?>\n" .
|
||||
"<agent_data description='" . $Conf{'description'} ."' group='" . $Conf{'group'} .
|
||||
"' os_name='$OS' os_version='$OS_VERSION' interval='" . $Conf{'interval'} .
|
||||
"' version='" . AGENT_VERSION . ($Conf{'autotime'} eq '1' ? '' : "' timestamp='" . strftime ('%Y/%m/%d %H:%M:%S', localtime ())) .
|
||||
"' version='" . AGENT_VERSION . '(Build ' . AGENT_BUILD . ')' . ($Conf{'autotime'} eq '1' ? '' : "' timestamp='" . strftime ('%Y/%m/%d %H:%M:%S', localtime ())) .
|
||||
"' agent_name='" . $Conf{'agent_name'} . "' timezone_offset='". $Conf{'timezone_offset'};
|
||||
|
||||
if (defined ($Conf{'parent_agent_name'})) {
|
||||
|
|
Loading…
Reference in New Issue