Trying to monitor the jenkins website status whether it is up or down in grafana dashboard

Hi Team,
Actually i’m trying to monitor the jenkins website status whether it is up or down or 200 .
For this I configured in telegraf plugin metrics as below

`[[inputs.http_response]]
 # ## Deprecated in 1.12, use 'urls'
 # ## List of urls to query. 
name_override = "status_url" 
urls = ["https://info-jenkins.com", "https://info-jenkins1.com" ] 
response_timeout = "5s" 
# ## HTTP Request Method method = "GET"
 ###interval = "30s" 
# ## Whether to follow redirects from the server (defaults to false) 
follow_redirects = true`

Now when i’m trying to fetch the url status from grafana . Some webistes status showing me as 403 status code and some showing as 200 status-code .and i’m able to access the website url also .can anyone help me with this .

note : to login to the jenkins url website i need to enter the SSO credentials .

Input plugin metric -


[[inputs.http_response]] 
# ## Deprecated in 1.12, use 'urls' 
# ## Server address (default [http://localhost](http://localhost/))
 # # address = "[http://localhost](http://localhost/)"
 # ## List of urls to query.
 name_override = "status_url" 
urls = ["[https://url.com](https://url.com/)", "[https://url.com](https://url.com/)"] 
response_timeout = "5s" 
# # # HTTP Request Method method = "GET"
 ###interval = "30s" 
# ## Whether to follow redirects from the server (defaults to false) follow_redirects = true

Output of telegraf debug

telegraf -config /etc/telegraf/telegraf.conf -input-filter http_response -test

2024-02-12T15:30:21Z I! Starting Telegraf 1.21.2
2024-02-12T15:30:21Z I! Loaded inputs: http_response
2024-02-12T15:30:21Z I! Loaded aggregators:
2024-02-12T15:30:21Z I! Loaded processors:
2024-02-12T15:30:21Z W! Outputs are not used in testing mode!
2024-02-12T15:30:21Z I! Tags enabled: host=hostname

status_url,host=hostname,method=GET,result=success,server=https://url1.com,status_code=401 content_length=450i,http_response_code=401i,response_time=0.020731181,result_code=0i,result_type=“success” 1700000
status_url,host=hostname,method=GET,result=success,server=https://url2.com,status_code=500 content_length=8176i,http_response_code=500i,response_time=0.013636198,result_code=0i,result_type=“success” 1707750000 2024-02-12T15:30:21Z
E! [inputs.http_response] Error in plugin: only http and https are supported
status_url,host=hostname,method=GET,result=success,server=https://url3.com,status_code=500 content_length=7758i,http_response_code=500i,response_time=0.014732737,result_code=0i,result_type=“success” 170770000
status_url,host=hostname,method=GET,result=success,server=https://url4.com,status_code=500 content_length=6579i,http_response_code=500i,response_time=0.046924287,result_code=0i,result_type=“success” 1707000
status_url,host=hostname,method=GET,result=success,server=https://url5.com,status_code=401 content_length=450i,http_response_code=401i,response_time=0.005292509,result_code=0i,result_type=“success” 170700
status_url,host=hostname,method=GET,result=success,server=https://url6.com,status_code=401 content_length=450i,http_response_code=401i,response_time=0.066148339,result_code=0i,result_type=“success” 17077 2024-02-12T15:30:22Z
E! [telegraf] Error running agent: input plugins recorded 1 errors

can anyone please help on this

I cleared the “E! [telegraf] Error running agent: input plugins recorded 1 errors”.

But I’m not able to get the status of the URL.
Right now i am able to see that url is working fine , but in grafana dashboard/ using curl command its showing 403 https_response_status code

note : to login to the jenkins url website i need to enter the SSO credentials .