Page 1 of 3
nagios notification sent as a .bin file
Posted: Wed Feb 05, 2014 6:13 pm
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
Re: nagios notification sent as a .bin file
Posted: Thu Feb 06, 2014 10:15 am
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?
Re: nagios notification sent as a .bin file
Posted: Thu Feb 06, 2014 12:04 pm
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
Re: nagios notification sent as a .bin file
Posted: Thu Feb 06, 2014 12:13 pm
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)?
Re: nagios notification sent as a .bin file
Posted: Thu Feb 06, 2014 12:18 pm
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!
Re: nagios notification sent as a .bin file
Posted: Thu Feb 06, 2014 12:23 pm
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.
Re: nagios notification sent as a .bin file
Posted: Thu Feb 06, 2014 12:27 pm
by drewbpearson
Ofcourse Im so sorry...here it is...I changed the .bin to .txt
Re: nagios notification sent as a .bin file
Posted: Thu Feb 06, 2014 12:33 pm
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.
Re: nagios notification sent as a .bin file
Posted: Thu Feb 06, 2014 12:34 pm
by drewbpearson
Just with this one only...
Re: nagios notification sent as a .bin file
Posted: Thu Feb 06, 2014 1:01 pm
by drewbpearson
May I ask what the odd character is? Thanks much!