<div dir="ltr">Hi,<br>    I've got a strange date issue.  I've written some local scripts to pad information onto the combo message. Here is the background:<br><br>1. When you run the script by hand locally (take note of the date):<br><br>[davieb@xymonsvr ~]$ ~xymon/client/local/dateinfo<br>dhcp-common,4.3.6,<span style="color:rgb(255,0,0)">18 Jul 2020</span><br><br>2. When I pull the information from xymon server:<br><br>[davieb@xymonsvr ~]$ ~xymon/server/bin/xymon localhost "clientlog xymonsvr section=local:dateinfo"<br>[local:dateinfo]<br>dhcp-common,4.3.6,<span style="color:rgb(255,0,0)">Jul 18 17:44:26</span><br><br><br>Notice how the date field gets modified?  I can't figure out why. The only thing I can think of is something within the xymon code, but I don't know why it would?<br><br>Here's the simple script:<br><br>[davieb@xymonsvr ~]$ cat ~xymon/client/local/dateinfo<br>#!/bin/sh<br><br>OS=`uname -s`<br>RPM=dhcp-common<br><br>if [ ${OS} = "Linux" ]; then<br>   VERSION=`rpm -q ${RPM} --qf "%{VERSION}\n"`<br>   INSTALLED=`rpm -q ${RPM} --qf "%{INSTALLTIME:date}\n"|awk {'print $2" "$3" "$4'}`<br>fi<br><br><div>echo "${RPM},${VERSION},${INSTALLED}"</div><div><br></div><div>Does anybody have any idea what is going on?</div><div><br></div><div>Thanks,</div><div>Dave<br></div>


</div>