Hi,
I wish to set up a Nagios passive check for all my scheduled TSM client sessions.
To this end I thought that I could define a POSTS or postschedulecmd directive that would point to a script which simply would execute a send_nsca with the status of the just executed dsmc backup session in every client's dsm.sys file.
I have read carefully the online docs by dsmc help for the postschedulecmd.
But it hasn't become at all clear to me how I can pass in the status of the finishing dsm backup session to my postschedulecmd script,
so that in case of failure I could trigger a critical passive check result via send_nsca to my Nagios server.
I wish to set up a Nagios passive check for all my scheduled TSM client sessions.
To this end I thought that I could define a POSTS or postschedulecmd directive that would point to a script which simply would execute a send_nsca with the status of the just executed dsmc backup session in every client's dsm.sys file.
I have read carefully the online docs by dsmc help for the postschedulecmd.
But it hasn't become at all clear to me how I can pass in the status of the finishing dsm backup session to my postschedulecmd script,
so that in case of failure I could trigger a critical passive check result via send_nsca to my Nagios server.