Notifications - How to extract hostname/ip adress

Jason 'XenoPhage' Frisvold friz at godshell.com
Tue Sep 6 22:31:22 EDT 2005


Jeremy Kister wrote:

>Since the script would connect to the db on each run (it wasnt
>daemonized), I found that when argus had one too many notifications, all
>my perl brought the machine down to it's knees, and I havent put forth
>any effort to redesign it.
>  
>

One possible re-design would be to write a perl "daemon" that does a
constant tail on a file.  Write the notification to the file and the
"daemon" should handle the rest.  No perl startup needed.

Just a thought.  :)

-- 
---------------------------
Jason 'XenoPhage' Frisvold
Engine / Technology Programmer
friz at godshell.com
RedHat Certified - RHCE # 803004140609871
MySQL Pro Certified - ID# 207171862
MySQL Core Certified - ID# 205982910
---------------------------
"Something mysterious is formed, born in the silent void. Waiting alone and unmoving, it is at once still and yet in constant motion. It is the source of all programs. I do not know its name, so I will call it the Tao of Programming."



More information about the Arguslist mailing list