I figured it out...sometimes I'm stupid!
I'm running the script as the nagios user, so yeah, it could only read the file and not write to it! Close this out and thank you very much for the help!
Adding Attachment / Large output to notification
Re: Adding Attachment / Large output to notification
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github