Hello all, wondering if anyone can help with a graphing issue I am having... i have a requirement to monitor some unc shares from some windows boxes. i created a script to map each share, get the % free and report this back to hobbit. script works fine but the graphing is giving me problems. the script will send this to hobbit:
green 3/30/2030 2:54:19 PM
Percent full status of shares that were checked:
\\<someserver1>\<some_share3> : 23 \\<someserver2>\<some_share4> : 0 etc : etc etc : etc
i guess my question is this type of data suitable for ncv graphing considering that the amount of shares to check can be 10 or 20. my problem is that the "name" portion of the ncv is always changing... i did get graphing to work but the service section in the hobbitgraph.cfg had to have each share entered individually...
On Wednesday 12 March 2008 21:03:15 Jeff Vandervelden wrote:
Hello all, wondering if anyone can help with a graphing issue I am having... i have a requirement to monitor some unc shares
You mean SMB/CIFS ? (UNC supports many protocols, unfortunately ...).
from some windows boxes. i created a script to map each share, get the % free and report this back to hobbit.
By map, do you mean mount ? It might be easier to use 'smbclient //server/share/ -c du' ?
BTW, is there a reason you aren't using BBWin on the servers themselves? Specifically, I wonder about the impact of quotas etc.
script works fine but the graphing is giving me problems. the script will send this to hobbit:
green 3/30/2030 2:54:19 PM
Percent full status of shares that were checked:
\\<someserver1>\<some_share3> : 23 \\<someserver2>\<some_share4> : 0 etc : etc etc : etc
i guess my question is this type of data suitable for ncv graphing considering that the amount of shares to check can be 10 or 20. my problem is that the "name" portion of the ncv is always changing... i did get graphing to work but the service section in the hobbitgraph.cfg had to have each share entered individually...
Yes, NCV isn't really convenient for something like this. It may be better to have your script send reports for 'disk', formatted the way the Hobbit clients send it. Then you would also be able to use thresholds on the Hobbit side.
Jeff Vandervelden wrote :
my problem is that the "name" portion of the ncv is always changing... i did get graphing to work but the service section in the hobbitgraph.cfg had to have each share entered individually...
This feature, known as "split ncv", is available in the snapshots (aka beta versions). It is possible to update only the hobbitd_rrd binary and the man page. (usual configure && make, then cp hobbitd_rrd) You then use SPLIT_NCV="..." instead of NCV="..." and you're done.
Regards,
-- Charles Goyard - charles.goyard at orange-ftgroup.com - (+33) 1 45 38 01 31 Orange Business Services - online multimedia // ingénierie
Charles Goyard wrote :
Jeff Vandervelden wrote :
my problem is that the "name" portion of the ncv is always changing... i did get graphing to work but the service section in the hobbitgraph.cfg had to have each share entered individually...
This feature, known as "split ncv", is available in the snapshots (aka beta versions). It is possible to update only the hobbitd_rrd binary and the man page. (usual configure && make, then cp hobbitd_rrd) You then use SPLIT_NCV="..." instead of NCV="..." and you're done.
Well, and I just saw the documentation update I sent to Henrik hasn't been included. So this feature is completely undocumented :'(.
-- Charles Goyard - charles.goyard at orange-ftgroup.com - (+33) 1 45 38 01 31 Orange Business Services - online multimedia // ingénierie
thanks guys... i wouldn't mind trying the split_ncv approach... any chance of posting a quick how to Charles? im sure i can get the latest binary compiled and working but am unsure what the DEF statements should look like in hobbitgraph.cfg...
On Thu, Mar 13, 2008 at 4:12 AM, Charles Goyard < charles.goyard at orange-ftgroup.com> wrote:
Charles Goyard wrote :
Jeff Vandervelden wrote :
my problem is that the "name" portion of the ncv is always changing... i did get graphing to work but the service section in the hobbitgraph.cfg had to have each share entered individually...
This feature, known as "split ncv", is available in the snapshots (aka beta versions). It is possible to update only the hobbitd_rrd binary and the man page. (usual configure && make, then cp hobbitd_rrd) You then use SPLIT_NCV="..." instead of NCV="..." and you're done.
Well, and I just saw the documentation update I sent to Henrik hasn't been included. So this feature is completely undocumented :'(.
-- Charles Goyard - charles.goyard at orange-ftgroup.com - (+33) 1 45 38 01 31 Orange Business Services - online multimedia // ingénierie
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hi, Jeff Vandervelden wrote :
thanks guys... i wouldn't mind trying the split_ncv approach... any chance of posting a quick how to Charles? im sure i can get the latest binary compiled and working but am unsure what the DEF statements should look like in hobbitgraph.cfg...
The hobbitgraph.cfg section will look like the disk or procs one : FNPATTERN + @@TAGS@@. You can take the patched manpage and (probably outdated) howtograph.html here: http://charles.goyard.free.fr/hobbit/ Regards, -- Charles Goyard - charles.goyard at orange-ftgroup.com - (+33) 1 45 38 01 31 Orange Business Services - online multimedia // ingénierie
thanks again Charles, i think im really close... grabbed the latest snapshot, configured and compliled ok... switched to using the snapshot version of hobbitd_rrd and made the appropriate changes to hobbitserver.cfgand hobbitgraph.cfg... problem now is no rrds are being created and this is in the logs... 2008-03-13 20:54:40 RRD error creating /usr/local/hobbit/data/rrd/vander-lt/shares,_server_share.rrd: Duplicate DS name: lambda On Thu, Mar 13, 2008 at 10:33 AM, Charles Goyard < charles.goyard at orange-ftgroup.com> wrote:
Hi,
Jeff Vandervelden wrote :
thanks guys... i wouldn't mind trying the split_ncv approach... any chance of posting a quick how to Charles? im sure i can get the latest binary compiled and working but am unsure what the DEF statements should look like in hobbitgraph.cfg...
The hobbitgraph.cfg section will look like the disk or procs one : FNPATTERN + @@TAGS@@.
You can take the patched manpage and (probably outdated) howtograph.html here: http://charles.goyard.free.fr/hobbit/
Regards,
-- Charles Goyard - charles.goyard at orange-ftgroup.com - (+33) 1 45 38 01 31 Orange Business Services - online multimedia // ingénierie
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
ok got it... i found another one of your posts regarding this issue and a bug in do_ncv.c ... recompiled and working great! thanks for your help Charles! jv On Thu, Mar 13, 2008 at 9:03 PM, Jeff Vandervelden <jeff.vander at gmail.com> wrote:
thanks again Charles, i think im really close... grabbed the latest snapshot, configured and compliled ok... switched to using the snapshot version of hobbitd_rrd and made the appropriate changes to hobbitserver.cfg and hobbitgraph.cfg... problem now is no rrds are being created and this is in the logs...
2008-03-13 20:54:40 RRD error creating /usr/local/hobbit/data/rrd/vander-lt/shares,_server_share.rrd: Duplicate DS name: lambda
On Thu, Mar 13, 2008 at 10:33 AM, Charles Goyard < charles.goyard at orange-ftgroup.com> wrote:
Hi,
Jeff Vandervelden wrote :
thanks guys... i wouldn't mind trying the split_ncv approach... any chance of posting a quick how to Charles? im sure i can get the latest binary compiled and working but am unsure what the DEF statements should look like in hobbitgraph.cfg...
The hobbitgraph.cfg section will look like the disk or procs one : FNPATTERN + @@TAGS@@.
You can take the patched manpage and (probably outdated) howtograph.html here: http://charles.goyard.free.fr/hobbit/
Regards,
-- Charles Goyard - charles.goyard at orange-ftgroup.com - (+33) 1 45 38 01 31 Orange Business Services - online multimedia // ingénierie
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (3)
-
bgmilne@staff.telkomsa.net
-
charles.goyard@orange-ftgroup.com
-
jeff.vander@gmail.com