[Bug 697545] [NEW] Backslashes from check_disk_smb output are removed in web interface

/usr/local/dick dick at tienhuis.nl
Wed Jan 5 08:23:29 UTC 2011


Public bug reported:

Binary package hint: nagios3

One of my hosts has this check running against it, with result:

nagios at expat:~$ /usr/lib/nagios/plugins/check_disk_smb -a grizzly.terena.org -H 'SAMBA' -s profile_backup -u nagios3 -p hackme -w 95 -c 99
Disk ok - 2.32G (14%) free on \\SAMBA\profile_backup

All fine, but on the web interface it seems like one backslash is eaten
from one or more backslashes:

Disk ok - 2.32G (14%) free on \SAMBAprofile_backup

Looks like backslashes are being unescaped somewhere...

** Affects: nagios3 (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Binary package hint: nagios3
  
- One of my host has this check running against it, with result:
+ One of my hosts has this check running against it, with result:
  
  nagios at expat:~$ /usr/lib/nagios/plugins/check_disk_smb -a grizzly.terena.org -H 'SAMBA' -s profile_backup -u nagios3 -p hackme -w 95 -c 99
  Disk ok - 2.32G (14%) free on \\SAMBA\profile_backup
  
  All fine, but on the web interface it seems like one backslash is eaten
  from one or more backslashes:
  
  Disk ok - 2.32G (14%) free on \SAMBAprofile_backup
  
- 
  Looks like backslashes are being unescaped somewhere...

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios3 in ubuntu.
https://bugs.launchpad.net/bugs/697545

Title:
  Backslashes from check_disk_smb output are removed in web interface



More information about the Ubuntu-server-bugs mailing list