Nagios 1.2 - qpage

Douglas K. Rand rand at meridian-enviro.com
Fri Nov 12 22:51:59 CET 2004


Steve> curious...

Steve>  % date -r 1100295211 +%H:%M
Steve>  date: 1100295211: No such file or directory

Steve> what flavor of "date" are you using??

The FreeBSD flavor. (Ummm! Tasty!)

You need to get your date to convert that UNIX timestamp to a human
friendly string. (Putting aside the group of humans that grok those
timestamps with out conversion.)

I've never figured out how to persuade the GNU date to handle UNIX
timestamps. Its a trivial C or Perl program to do this for you. But a
little research into GNU's date will probably get it done too.


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list