Forum Discussion
ramann_75062
Nimbostratus
Oct 29, 2009Export variables in external monitor script
Hi@all,
is there a way to export variables in a external bash monitor script and use then in the next run of the script?
I tried it via "export $BLA" but this doe...
ramann_75062
Nimbostratus
Oct 30, 2009Hi Aron,
i made some more tests - the problem with output into an file is only happens when the output command is at the end of the script - when its in the middle, its no problem.
Thanks for the idea with the child script, but it is not working for our goal. The problem is when i have one script and 10 nodes to check every 5 seconds, then when one or more nodes are down, the system send a lot of mails :-) - to prevent this, my idea was to handle it via a variable counter, of course, I can use a counter via an filesystem object, but i am not sure about the performance.
Using syslog is an good idea! Does F5 have some sample scripts/configs about that? :-)
THanks
Bjoern
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