nagios notification sent as a .bin file
-
drewbpearson
- Posts: 13
- Joined: Wed Feb 05, 2014 5:50 pm
nagios notification sent as a .bin file
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
dp
Re: nagios notification sent as a .bin file
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?
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
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
btw..is a check_disk_smb check...thx~~
~dp
Re: nagios notification sent as a .bin file
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.
"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
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!
[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
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
Ofcourse Im so sorry...here it is...I changed the .bin to .txt
- Attachments
-
ATT00001.txt- (231 Bytes) Downloaded 352 times
Re: nagios notification sent as a .bin file
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
Just with this one only...
-
drewbpearson
- Posts: 13
- Joined: Wed Feb 05, 2014 5:50 pm
Re: nagios notification sent as a .bin file
May I ask what the odd character is? Thanks much!