Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Firefox browser tests #3

Merged
merged 4 commits into from
Jun 7, 2024
Merged

Add Firefox browser tests #3

merged 4 commits into from
Jun 7, 2024

Conversation

mrvanes
Copy link
Collaborator

@mrvanes mrvanes commented May 27, 2024

No description provided.

@mrvanes mrvanes linked an issue May 27, 2024 that may be closed by this pull request
@mrvanes mrvanes force-pushed the add-firefox-browser branch 2 times, most recently from 139a7d6 to 864b343 Compare May 27, 2024 12:38
@mrvanes mrvanes force-pushed the add-firefox-browser branch from 864b343 to 14d2957 Compare May 27, 2024 12:40
echo "chrome" > browser
fi

BROWSER=$(cat browser)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kun je dit nog aanpassen zodat de browser op de command line kan worden opgegeven? Dat maakt het makkelijker om ze om en om aan te roepen van cron/systemd.

echo sbs_login=$OUTPUT >> ${LOGFILE}.new

# PAM weblogin test
OUTPUT=$(python3 pam-monitor.py ${ENV}.yml)
OUTPUT=$(python3 pam-monitor.py "${ENV}.yml" "$BROWSER")
echo pam_weblogin=$OUTPUT >> ${LOGFILE}.new
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kun je het script ook de gebruikte browser in laten outputten? Bij voorkeur als laatste regel, dat scheelt aanpassingen in zabbix.

@baszoetekouw baszoetekouw merged commit 5cc2865 into main Jun 7, 2024
@baszoetekouw baszoetekouw deleted the add-firefox-browser branch June 7, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for different browsers to SRAM-monitoring
2 participants