linkslice
2012-08-30 23:10:31 UTC
linkslice [http://community.zenoss.org/people/linkslice] created the discussion
"Re: Check_http using NTLM"
To view the discussion, visit: http://community.zenoss.org/message/68328#68328
--------------------------------------------------------------
The way I do this is just use curl directly.
/usr/bin/curl --ntlm -u "DOMAIN\username:p4ssw0rd" -w "URL RETURNED \"%{http_code}\"; Should be 200|http_code=%{http_code}; time=%{time_total}\n" https://$ https://${here/id}/foo/bar -sq -o /dev/null
I then set a threshold of 400 or something.
Massage to your needs.
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68328#68328]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Re: Check_http using NTLM"
To view the discussion, visit: http://community.zenoss.org/message/68328#68328
--------------------------------------------------------------
The way I do this is just use curl directly.
/usr/bin/curl --ntlm -u "DOMAIN\username:p4ssw0rd" -w "URL RETURNED \"%{http_code}\"; Should be 200|http_code=%{http_code}; time=%{time_total}\n" https://$ https://${here/id}/foo/bar -sq -o /dev/null
I then set a threshold of 400 or something.
Massage to your needs.
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68328#68328]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]