cphaprob -l list versus cphaprob list (no switch)

cphaprob -l list versus cphaprob list (no switch)
0

#1

Hopefully a simple yes or no answer. Help me out Check Point crowd!


Besides in a non clustered environment, can you think of a time when #cphaprob -l list did NOT work (splat, vsx, embedded gaia, etc.)? As in, perhaps you received no output, or an output that says, "hey this command doesn't work", or a syntax error?


I want to modify the two current automation scripts (cphaprob-list-novsx.ind & cphaprob-list-vsx.ind) to use the switch "l". FROM: #cpahprob list TO: #cphaprob -l list. Currently without the switch, if all is well on the device, the ouput results with the following text:

There are no pnotes in problem state
  • Issue ‘cphaprob -l list’ to show full list of pnotes

    This is all fine and good, however, in the scenario in which Indeni has found that there was a pnote in a problem state, auto-resolving becomes tricky because we can’t identity which pnote was cleared. We could assume, but it’s typically never a good idea to assume. :slight_smile:


#2

Seems SPLAT might be an exception, or R77. This output is from R77 SPLAT. It is a non cluster, but seems the list works, byt not -l list


[Expert@lab-CP-GW1]# cphaprob list

Built-in Devices:

Device Name: Interface Active Check

Device Name: Recovery Delay

Registered Devices:

None

[Expert@lab-CP-GW1]# cphaprob -l list

Usage:

cphaprob [-vs <vsid>] state
cphaprob [-a] if
cphaprob syncnewver

The following commands are NOT applicable for 3rd party:

cphaprob -d <device> -t <timeout(sec)> -s <ok|init|problem> [-p] [-g] register
cphaprob -f <file> [-g] register
cphaprob -d <device> [-p] [-g] unregister
cphaprob -a [-g] unregister
cphaprob -d <device> -s <ok|init|problem> [-g] report
cphaprob [-i[a]] [-e] list
cphaprob igmp .................. IGMP membership status
cphaprob [-reset] ldstat ....... Sync serialization statistics
cphaprob [-reset] syncstat ..... Sync transport layer statistics
cphaprob fcustat ............... Full connectivity upgrade statistics
cphaprob tablestat ............. Cluster tables