linux - Nagios verify Sharepoint -
i want set nagios (on debian) verify sharepoint server up. tried use curl didn't worked issue don't know decided change way i'll verify service.
it's simple in theory, have make script send request (http or https, doesn't matter) , check response, if 200 successful or 40x if not (ok @ point).
so have use telnet or ftp service or can use feature/tool that.
with telnet i'am having problem 400 error. sharepoint returns error when server or down, don't work me.
any ideas??
you can use check_http plugin of nagios. example:
check_http -h sharepointhostname/ip -p port you can use -s flag secure http connections
you can use -u flag going specific url
you can use -s flag search specific string in html page returned url specified -u flag.
so can request specific page, scan known string, , if found, sure page (which means server etc.)
example:
check_http -h my.sharepoint.com -u /start/page/sharepoint.aspx -s "test string" commonly done on login pages etc. don't forget escape special chars in url, if contains (like ? , &).
there's perl script available checking sharepoint servers.
Comments
Post a Comment