Hi, I wanted to add to my previous mail that I just found the list_tags() function (from StatusLog.pm) which returns the list of all the status variables from the status.dat file. However, it returns some others that don't appear in the status.dat file, such as time_up and time_down.
Where do these variables come from? I'm trying to upgrade a legacy application that used nagios v1, and I'd like to recreate the status.log file. This log file contained those variables time_up and time_down, so I'd like to report the value of those variables in my new version. I hope someone can help me to clarify the discrepancies between the v1 log and the v3 log, and how to obtain all the variables and their values from the v3 log using perl. > The documentation says "Nagios::Service::Status has the following > accessor methods (For V1):", then lists those methods. However, many > return null, such as host_up. Are these methods only available in > nagios v1? If so, how do I get a status of each service for all hosts > and services? Thanks, Alex ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Nagios-users mailing list Nagios-users@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