Page 1 of 1

Performance Graphing in XI - Weird Output

Posted: Thu Aug 29, 2013 1:49 pm
by matt.uebel
We are working on implementing Performance Graphing for a custom plugin that checks all filesystems on a host, and sends NRDS output as such:

All filesystems OK | /=52%;90;95;0;100 /boot=20%;90;95;0;100 /home=20%;90;95;0;100 /log=4%;90;95;0;100 /usr=95%;90;95;0;100 /var=55%;90;95;0;100 /var/lib/libvirt=1%;90;95;0;100 /var/log/audit=9%;90;95;0;100

This actually seems to work, and we can see graphs showing up in the XI interface for the service. However, in each case the system ends up naming the filesystem _var_lib_libvirt instead of /var/lib/libvirt

What could be replacing the "/"s with "_"?

Re: Performance Graphing in XI - Weird Output

Posted: Thu Aug 29, 2013 2:05 pm
by sreinhardt
/ is considered an illegal character that is replaced with _ to avoid issues with creating files and causing vulnerabilities in the xi system. There really isn't too much you can do about it. allowing those characters would cause some pretty severe issues within the filesystem.

Re: Performance Graphing in XI - Weird Output

Posted: Thu Aug 29, 2013 2:16 pm
by matt.uebel
is there an escape character we could use?

Re: Performance Graphing in XI - Weird Output

Posted: Thu Aug 29, 2013 2:37 pm
by sreinhardt
I waited a little bit, just to confirm, and there is not a way to escape those, for the reasons mentioned above.