File formats between 1.x and 2.x

Andy Shellam (Mailing Lists) andy.shellam-lists at mailnetwork.co.uk
Thu Nov 9 23:01:04 CET 2006


Hi,

The following is a file-list taken from a Nagios installation's ./var 
directory - I believe it is Nagios 1.x - can someone clarify?

drwxrwxr-x 2 nagios nagios     4096 Nov  9 00:00 archives
-rwxrwxr-x 1 nagios nagios      238 Nov  3 17:56 comment.log
-rwxrwxr-x 1 nagios nagios      239 Nov  3 17:56 downtime.log
-rwxrwxr-x 1 nagios nagios     1574 Nov  9 19:46 host-perfdata.dat
-rw-r--r-- 1 nagios nagios        6 Nov  9 19:09 nagios.lock
-rwxrwxr-x 1 nagios nagios   629203 Nov  9 19:45 nagios.log
-rwxrwxr-x 1 nagios nagios   169090 Nov  9 19:09 objects.cache
-rwxrwxr-x 1 nagios nagios        0 Nov  9 19:09 retention.dat
drwxrwxr-x 2 nagios nagiocmd   4096 Nov  9 19:09 rw
-rwxrwxr-x 1 nagios nagios     6302 Nov  9 19:46 service-perfdata.dat
-rw-rw-r-- 1 nagios nagios   227505 Nov  9 19:46 status.log
-rw------- 1 nagios nagios   239027 Nov  9 19:09 status.sav

In comparison to my 2.5 installations ./var directory:

-rw-rw-r-- 1 nagios nagios   500 Nov  8 22:45 comments.dat
-rw-rw-r-- 1 nagios nagios   239 Nov  8 22:36 downtime.dat
-rw-r--r-- 1 nagios nagios     5 Nov  8 22:36 nagios.lock
-rw-rw-r-- 1 nagios nagios     0 Nov  8 22:36 nagios.log
-rw-r--r-- 1 nagios nagios 45383 Nov  8 22:36 objects.cache
-rw------- 1 nagios nagios 63927 Nov  9 21:36 retention.dat
drwxrws--- 2 nagios nagcmd  4096 Nov  8 22:36 rw
-rw-rw-r-- 1 nagios nagios 60676 Nov  9 21:59 status.dat

In which version were the ".log" files dropped in favour of ".dat"?
Are the .log files the same format as the current .dat files?

Thanks,

Andy.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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