Hello all. Regarding my Windows 2008 R2 Server using check_mk_agent.exe I use the fileinfo section within my check_mk.ini as follows:
[fileinfo]
# path = C:\Programs\Foo\*.log
# path = M:\Bar Test\*.*
# Recursive wildcards can also be used:
# path = C:\MyDocuments\Foo\**
path = C:\Test\testfile*
The check comes up properly as a monitored service under the host. When I try and add the service to my NagVis as an icon, it says "Problem (Backend = mysite) The object "hostname ~~ File C:\Test\testfile" does not exist (service)." I've read that this is due to there being slashes in the service name, which appears under check_mk as "File C:\Test\testfile". Does anyone know how to resolve this? Or possibly change the service name to something that doesn't have slashes? I can't find where to do this after hours of digging.
Any help is greatly apprecaited. Thank you.
Help with adding fileinfo check to NagVis
-
[email protected]
- Posts: 1
- Joined: Mon Jun 01, 2015 3:39 pm
Re: Help with adding fileinfo check to NagVis
Typically, when there is a special character in a name you have to escape it with a back slash so try changing the name to the following.
Else, remove then all together and that would work as well.
Code: Select all
C:\\Test\\testfileBe sure to check out our Knowledgebase for helpful articles and solutions!