| Languages: |
English • Deutsch |
You will check a hidden Samba Share (e.g. C$) or a WindowsService with $ in the Servicename.
Example:
hidden samba share
define service {
use windows-services
name windows share
service_description hidden samba share c$
check_command check_disk_smb!c$
register 0
}
Invalid Share Name ...\c
Solution:
So that Nagios recognizes the $ character, you must it be masked with a further $ character
define service {
use windows-services
name windows share
service_description hidden samba share c$
check_command check_disk_smb!c$$
register 0
}