reset functionality on cdp

Home Forums MultiConnect OCG reset functionality on cdp

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2590
    Hitesh
    Participant

    Hi,

    I am trying to get a notification when user presses reset button on the CDP. I have a script that traps SIGHUP and SIGINT signals.

    I am using mts-io-sysfs command to setup the trigger, but it gives error. Here is the log ( where 1948 is the pid of my script ) :

    # mts-io-sysfs store reset-monitor 1948 1 2

    error: store name value

    error: exiting with 99

    Any help or pointer is appreciated.

    Thanks,

    Hitesh

    #3233
    Jesse Gilles
    Blocked

    The usage for mts-io-sysfs doesn’t make it very clear, but you have to quote the arguments to reset-monitor (it only takes one string as an argument).

    So try this:

    mts-io-sysfs store reset-monitor '1948 1 2'

    Jesse

    #3234
    Hitesh
    Participant

    Thanks Jesse !!

    Putting the arguments in quotes did the trick.

    -Hitesh

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.