Probe name in function

Hi,

Is there any way to use the Probe name in functions?

My idea is to write only one function for checking the HDD space of all discs (not many probes for each disc like shown in the probe thread). Which disc to check is in the probe name (f.e. “Disc 1”). With the functions “oid” and “string_substring”… it should be possible to do this, but I haven’t found any way to use the “Probe.Name” variable in functions.

Maybe there is also a way to use parameters with functions which I don’t know.

Any help is welcome, thanks in advance :wink:

However , the Dude is really a great tool and it looks like it’s getting better and more stable with each version.

Bye

I have not seen a way to use variables in functions… not that that answers your question.

I haven’t been able to do this either.

I’d love this feature so I can monitor the status of NFS shares on a NetApp filer.

At the moment I have a function for each NFS share, where the name of the share is hard coded within the function.

Yeah I figure variables are high on the list of things to add… Have to wait and see, unless a developer shows us different.

Thanks for answering! In this case I can stop my efforts. It would be nice if miscellaneous variables or parameters are available in functions in a future Dude version.

Bye