SRX

 View Only
last person joined: 16 hours ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  RPM Probe Showing incorrect entry in messages log

    Posted 04-18-2012 00:14

    Hey all,

     

    Any chance someone can comment on the following problem I'm having with the routing redirect on a particular SRX? It isn't with the redirect itself, more with the RPM probe which I setup. 

     

    It's supposed to log PING_TEST_FAILED in the messages log as well as PING_TEST_COMPLETED. The problem I have is despite the host being down at the time, it continues to log COMPLETED which kinda screws up my setup. 

     

    Here's the log configuration;

     

    andy@CHIP-SRX100> show configuration system syslog file messages 

    any any;

    authorization info;

    daemon info;

     

    And here's the RPM probe configuration. 

     

    andy@CHIP-SRX100> show configuration services rpm 

    probe wxc {

        test wxc-ping {

            probe-type icmp-ping;

            target address 10.24.1.2;

            probe-count 3;

            probe-interval 1;

            test-interval 10;

        }

    }

     

    Now, despite the host being down. 

     

    andy@CHIP-SRX100> ping 10.24.1.2 

    PING 10.24.1.2 (10.24.1.2): 56 data bytes

    ^C

    --- 10.24.1.2 ping statistics ---

    3 packets transmitted, 0 packets received, 100% packet loss

     

    And the RPM probe results agree. 

     

    andy@CHIP-SRX100> show services rpm probe-results 

        Owner: wxc, Test: wxc-ping

        Target address: 10.24.1.2, Source address: 10.24.1.1, Probe type: icmp-ping, Test size: 3 probes

        Probe results:

          Request timed out, Tue Apr 17 16:56:17 2012

        Results over current test:

          Probes sent: 3, Probes received: 0, Loss percentage: 100

        Results over last test:

          Probes sent: 3, Probes received: 0, Loss percentage: 100

        Results over all tests:

          Probes sent: 501, Probes received: 0, Loss percentage: 100

     

    It refuses to log PING_TEST_FAILED in the log and instead logs COMPLETED! 

     

    andy@CHIP-SRX100> show log messages | match PING | last 10 | no-more    

    Apr 17 16:55:38  CHIP-SRX100 rmopd[1253]: PING_TEST_COMPLETED: pingCtlOwnerIndex = wxc, pingCtlTestName = wxc-ping

    Apr 17 16:55:51  CHIP-SRX100 rmopd[1253]: PING_TEST_COMPLETED: pingCtlOwnerIndex = wxc, pingCtlTestName = wxc-ping

    Apr 17 16:55:58  CHIP-SRX100 mgd[6863]: UI_CMDLINE_READ_LINE: User 'andy', command 'ping 10.24.1.2 '

    Apr 17 16:56:04  CHIP-SRX100 rmopd[1253]: PING_TEST_COMPLETED: pingCtlOwnerIndex = wxc, pingCtlTestName = wxc-ping

    Apr 17 16:56:17  CHIP-SRX100 rmopd[1253]: PING_TEST_COMPLETED: pingCtlOwnerIndex = wxc, pingCtlTestName = wxc-ping

    Apr 17 16:56:30  CHIP-SRX100 rmopd[1253]: PING_TEST_COMPLETED: pingCtlOwnerIndex = wxc, pingCtlTestName = wxc-ping

    Apr 17 16:56:43  CHIP-SRX100 rmopd[1253]: PING_TEST_COMPLETED: pingCtlOwnerIndex = wxc, pingCtlTestName = wxc-ping

    Apr 17 16:56:56  CHIP-SRX100 rmopd[1253]: PING_TEST_COMPLETED: pingCtlOwnerIndex = wxc, pingCtlTestName = wxc-ping

    Apr 17 16:57:06  CHIP-SRX100 mgd[6863]: UI_CMDLINE_READ_LINE: User 'andy', command 'show log messages | match PING | last 10 | no-more '

     

    It's driving me nuts! Where am I going wrong?! This is an identical configuration as another SRX (and an EX switch), and both of those work without a problem.

     

    Cheers

    Andy


    #RPM


  • 2.  RE: RPM Probe Showing incorrect entry in messages log
    Best Answer

     
    Posted 04-18-2012 00:37

    Hi,

     

    If you add a threshold to your rpm configuration, for example like this:

    test test {
        probe-type icmp-ping;
        target address 10.24.1.2;
        probe-count 3;
        probe-interval 1;
        test-interval 10;
        thresholds {
            total-loss 1;
        }
    }

    You will see:

    rmopd[25541]: PING_PROBE_FAILED: pingCtlOwnerIndex = test, pingCtlTestName = test
    rmopd[25541]: PING_TEST_FAILED: pingCtlOwnerIndex = test, pingCtlTestName = test
    rmopd[25541]: PING_PROBE_FAILED: pingCtlOwnerIndex = test, pingCtlTestName = test
    rmopd[25541]: PING_TEST_FAILED: pingCtlOwnerIndex = test, pingCtlTestName = test
    rmopd[25541]: PING_TEST_FAILED: pingCtlOwnerIndex = test, pingCtlTestName = test



  • 3.  RE: RPM Probe Showing incorrect entry in messages log

    Posted 04-18-2012 00:42

    Hi Adam, 

     

    Many thanks for the prompt response. Thats certainly fixed it!

     

    Strange that neither the EX or other SRX I've setup the transparent redirect on needs the threshold though! :S

     

    Best regards

    Andy