Forum Discussion
Bret_McGinnis_1
Nimbostratus
Sep 09, 2005Clock time
I want to track the length of time that a pool is down and send a syslog message with the downtime in hours:minutes:seconds format. I'm still not that familiar with TCL and having some difficulty usin...
Bret_McGinnis_1
Nimbostratus
Sep 10, 2005Thank you. I just figured it out on my own. I think this is the second time that got an irule to work on my own and then checked my email only to find the answer waiting for me.
One addition note: I found that the time displayed was 16 hours off. I did some reading and found that i needed to add "-gmt 1" to the "clock format" command to get it to display the proper time.
One additional question: Your irule used an "unset" command. I have not seen that used before. It would simplify some of my checking for not exist or an undisired value. Is there anything I should be careful about when using it.
Thanks again.
Regards,
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects