nagios notification sent as a .bin file

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
drewbpearson
Posts: 13
Joined: Wed Feb 05, 2014 5:50 pm

nagios notification sent as a .bin file

Post by drewbpearson »

I recently started to receive my nagios notification as .bin files as attachments. They used to come into my email as regular text. Does anyone have any thoughts? Thank you!
dp
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: nagios notification sent as a .bin file

Post by tmcdonald »

What nagios version are you using?
Have you made any changes to contacts or notifications recently?
Any new hosts/services that might have odd characters in their status?
Former Nagios employee
drewbpearson
Posts: 13
Joined: Wed Feb 05, 2014 5:50 pm

Re: nagios notification sent as a .bin file

Post by drewbpearson »

Hi, thank you for getting back so quickly. Im using 3.4.1 and havent made any changes to anything...all my other checks show the details within the body of the email except this one...not sure why...thx in advance for any help!

btw..is a check_disk_smb check...thx~~

~dp
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: nagios notification sent as a .bin file

Post by abrist »

Can you run the check from the cli and post the check and output here? Additionally, can you post an example email (obfuscate sensitive bits)?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
drewbpearson
Posts: 13
Joined: Wed Feb 05, 2014 5:50 pm

Re: nagios notification sent as a .bin file

Post by drewbpearson »

Sure can! Check is as follows:
[root@svr002 libexec]# ./check_disk_smb -H stor2 -s nagios -u nagios -p smbMonit0r -w 80 -c 90
WARNING: Only 251.12G (13%) free on \\stor2\nagios | 'nagios'=1690110950400B;1567800201216;1763775226368;0;1959750251520

Absolutely nothing in the body of the email...when I open the .bin file it shows me exactly what I need to see IN the body of the email :)
Thx!
Attachments
Screen Shot 2014-02-06 at 9.15.39 AM.png
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: nagios notification sent as a .bin file

Post by tmcdonald »

I think abrist wanted the .bin file and I tend to agree. I have seen issues where different line endings can cause your mail agent to think the email is an attachment, so we'd like to look at the email itself.
Former Nagios employee
drewbpearson
Posts: 13
Joined: Wed Feb 05, 2014 5:50 pm

Re: nagios notification sent as a .bin file

Post by drewbpearson »

Ofcourse Im so sorry...here it is...I changed the .bin to .txt
Attachments
ATT00001.txt
(231 Bytes) Downloaded 352 times
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: nagios notification sent as a .bin file

Post by tmcdonald »

Is this with all of your SMB checks or just this specific one? There is an odd character that might be tricking your agent into making it a .bin file.
Former Nagios employee
drewbpearson
Posts: 13
Joined: Wed Feb 05, 2014 5:50 pm

Re: nagios notification sent as a .bin file

Post by drewbpearson »

Just with this one only...
drewbpearson
Posts: 13
Joined: Wed Feb 05, 2014 5:50 pm

Re: nagios notification sent as a .bin file

Post by drewbpearson »

May I ask what the odd character is? Thanks much!
Locked