Ad Widget

Collapse

Liferay Web-Monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bprager
    Junior Member
    • Jun 2013
    • 2

    #1

    Liferay Web-Monitoring

    I wanted to share how to perform a log-in in Liferay for folks who might need it:

    In Liferay:
    Set "auth.token.check.enabled=false" in portal-ext.properties.

    In Zabbix :
    Set Authentication to "None" and define both "{username}" and "{password}" in your Scenario variables.

    In your Scenario Step to perform a log-in set the URL to "http://localhost:7001/web/web/guest/welcome" (substitute host-name, port and path if needed) and post following parameters:

    "p_p_id=58&p_p_lifecycle=1&p_p_state=maximized&p_p_ mode=view&saveLastPath=0&_58_struts_action=%2Flogi n%2Flogin&n&_58_doActionAfterLogin=false&_58_login ={username}&_58_password={password}"

    The "58" might be system dependent. Check your portal id (p_p_id) and change the parameter including the variable prefixes if this number is different.

    Set Required string to "Sign Out" and Required status to "200".
    Save and Zabbix is good to go.

    Thank you Ken and Brett from the Liferay support team for helping us with this!
  • Daikazahn
    Member
    • Nov 2016
    • 69

    #2
    Hello!

    Somebody have template for LifeRay?
    I cannot found.
    Thanks

    Comment

    Working...