How to monitor HTTP URLs by Zabbix agents Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Come Celebrate our 10 Year Anniversary!Zabbix Active Agents not working over the InternetHow to set up Zabbix to monitor SQL Server Failover Active-Passive Cluster?zabbix agents with the same IP moving between proxiesZabbix with active checksZabbix 2.2.1 JBoss monitoringBulk Gathering of Numerous Discovered ItemsZabbix-agent unreachableZabbix active check monitoring issueZabbix: adding items make agents not availableZabbix active agent - check Internet uptime
How was Lagrange appointed professor of mathematics so early?
Can this water damage be explained by lack of gutters and grading issues?
Meaning of this sentence, confused by まで
Can the van der Waals coefficients be negative in the van der Waals equation for real gases?
Why aren't road bike wheels tiny?
Why does my GNOME settings mention "Moto C Plus"?
A journey... into the MIND
A German immigrant ancestor has a "Registration Affidavit of Alien Enemy" on file. What does that mean exactly?
What's the connection between Mr. Nancy and fried chicken?
How to leave only the following strings?
Why aren't these two solutions equivalent? Combinatorics problem
Can gravitational waves pass through a black hole?
What is the evidence that custom checks in Northern Ireland are going to result in violence?
Why did Israel vote against lifting the American embargo on Cuba?
Help Recreating a Table
Converting a text document with special format to Pandas DataFrame
How to make an animal which can only breed for a certain number of generations?
Is it OK if I do not take the receipt in Germany?
What's the difference between using dependency injection with a container and using a service locator?
Is Vivien of the Wilds + Wilderness Reclamation a competitive combo?
Should man-made satellites feature an intelligent inverted "cow catcher"?
Why these surprising proportionalities of integrals involving odd zeta values?
Proving inequality for positive definite matrix
lm and glm function in R
How to monitor HTTP URLs by Zabbix agents
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Zabbix Active Agents not working over the InternetHow to set up Zabbix to monitor SQL Server Failover Active-Passive Cluster?zabbix agents with the same IP moving between proxiesZabbix with active checksZabbix 2.2.1 JBoss monitoringBulk Gathering of Numerous Discovered ItemsZabbix-agent unreachableZabbix active check monitoring issueZabbix: adding items make agents not availableZabbix active agent - check Internet uptime
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I have a monitoring scenario that I want to monitors some HTTP URLs that are in a LAN and send the results to the Zabbix server on the Internet. Zabbix can be used for monitoring HTTP URLs without using agents, then the main server is to monitor the HTTP URLs directly in web monitoring scenarios and the URLs should be visible for the Zabbix server. But in my scenario the HTTP services are behind the NAT then I should use 'Zabbix active agents' to monitor them.
I couldn't Find any item in Zabbix agents for this purpose. Does anyone know that how should I do this task?
EDIT:
I know about zabbix can be used for aggregated monitoring of local hosts, but proxy can be used for monitored items of the hosts. I couldn't find any item for monitoring HTTP urls on the hosts (active or passive hosts).
Regards
Sajad
zabbix zabbix-agent
add a comment |
I have a monitoring scenario that I want to monitors some HTTP URLs that are in a LAN and send the results to the Zabbix server on the Internet. Zabbix can be used for monitoring HTTP URLs without using agents, then the main server is to monitor the HTTP URLs directly in web monitoring scenarios and the URLs should be visible for the Zabbix server. But in my scenario the HTTP services are behind the NAT then I should use 'Zabbix active agents' to monitor them.
I couldn't Find any item in Zabbix agents for this purpose. Does anyone know that how should I do this task?
EDIT:
I know about zabbix can be used for aggregated monitoring of local hosts, but proxy can be used for monitored items of the hosts. I couldn't find any item for monitoring HTTP urls on the hosts (active or passive hosts).
Regards
Sajad
zabbix zabbix-agent
add a comment |
I have a monitoring scenario that I want to monitors some HTTP URLs that are in a LAN and send the results to the Zabbix server on the Internet. Zabbix can be used for monitoring HTTP URLs without using agents, then the main server is to monitor the HTTP URLs directly in web monitoring scenarios and the URLs should be visible for the Zabbix server. But in my scenario the HTTP services are behind the NAT then I should use 'Zabbix active agents' to monitor them.
I couldn't Find any item in Zabbix agents for this purpose. Does anyone know that how should I do this task?
EDIT:
I know about zabbix can be used for aggregated monitoring of local hosts, but proxy can be used for monitored items of the hosts. I couldn't find any item for monitoring HTTP urls on the hosts (active or passive hosts).
Regards
Sajad
zabbix zabbix-agent
I have a monitoring scenario that I want to monitors some HTTP URLs that are in a LAN and send the results to the Zabbix server on the Internet. Zabbix can be used for monitoring HTTP URLs without using agents, then the main server is to monitor the HTTP URLs directly in web monitoring scenarios and the URLs should be visible for the Zabbix server. But in my scenario the HTTP services are behind the NAT then I should use 'Zabbix active agents' to monitor them.
I couldn't Find any item in Zabbix agents for this purpose. Does anyone know that how should I do this task?
EDIT:
I know about zabbix can be used for aggregated monitoring of local hosts, but proxy can be used for monitored items of the hosts. I couldn't find any item for monitoring HTTP urls on the hosts (active or passive hosts).
Regards
Sajad
zabbix zabbix-agent
zabbix zabbix-agent
edited Apr 17 at 11:07
sajad
asked Apr 16 at 15:15
sajadsajad
11316
11316
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
That is what a Zabbix proxy is for.
You install a Zabbix proxy inside the network where it can reach the devices to be monitored, then in the Zabbix server you add the proxy and select the hosts which will be monitored via the proxy.
See the documentation for complete details on setting up a Zabbix proxy.
Yes I know about zabbix proxy but I can adjust proxy for the Items that I want to monitor on each host. I couldn't find any Item for monitoring HTTP URLs.
– sajad
Apr 17 at 11:04
add a comment |
You could create custom user parameter where run curl to URL, you want to monitor. Something like that:
UserParameter=host.url[*],curl -iLs $1 | grep -c "HTTP/1.1 200"
More details you could see in documentation.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963328%2fhow-to-monitor-http-urls-by-zabbix-agents%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
That is what a Zabbix proxy is for.
You install a Zabbix proxy inside the network where it can reach the devices to be monitored, then in the Zabbix server you add the proxy and select the hosts which will be monitored via the proxy.
See the documentation for complete details on setting up a Zabbix proxy.
Yes I know about zabbix proxy but I can adjust proxy for the Items that I want to monitor on each host. I couldn't find any Item for monitoring HTTP URLs.
– sajad
Apr 17 at 11:04
add a comment |
That is what a Zabbix proxy is for.
You install a Zabbix proxy inside the network where it can reach the devices to be monitored, then in the Zabbix server you add the proxy and select the hosts which will be monitored via the proxy.
See the documentation for complete details on setting up a Zabbix proxy.
Yes I know about zabbix proxy but I can adjust proxy for the Items that I want to monitor on each host. I couldn't find any Item for monitoring HTTP URLs.
– sajad
Apr 17 at 11:04
add a comment |
That is what a Zabbix proxy is for.
You install a Zabbix proxy inside the network where it can reach the devices to be monitored, then in the Zabbix server you add the proxy and select the hosts which will be monitored via the proxy.
See the documentation for complete details on setting up a Zabbix proxy.
That is what a Zabbix proxy is for.
You install a Zabbix proxy inside the network where it can reach the devices to be monitored, then in the Zabbix server you add the proxy and select the hosts which will be monitored via the proxy.
See the documentation for complete details on setting up a Zabbix proxy.
answered Apr 16 at 16:04
Michael Hampton♦Michael Hampton
175k27321651
175k27321651
Yes I know about zabbix proxy but I can adjust proxy for the Items that I want to monitor on each host. I couldn't find any Item for monitoring HTTP URLs.
– sajad
Apr 17 at 11:04
add a comment |
Yes I know about zabbix proxy but I can adjust proxy for the Items that I want to monitor on each host. I couldn't find any Item for monitoring HTTP URLs.
– sajad
Apr 17 at 11:04
Yes I know about zabbix proxy but I can adjust proxy for the Items that I want to monitor on each host. I couldn't find any Item for monitoring HTTP URLs.
– sajad
Apr 17 at 11:04
Yes I know about zabbix proxy but I can adjust proxy for the Items that I want to monitor on each host. I couldn't find any Item for monitoring HTTP URLs.
– sajad
Apr 17 at 11:04
add a comment |
You could create custom user parameter where run curl to URL, you want to monitor. Something like that:
UserParameter=host.url[*],curl -iLs $1 | grep -c "HTTP/1.1 200"
More details you could see in documentation.
add a comment |
You could create custom user parameter where run curl to URL, you want to monitor. Something like that:
UserParameter=host.url[*],curl -iLs $1 | grep -c "HTTP/1.1 200"
More details you could see in documentation.
add a comment |
You could create custom user parameter where run curl to URL, you want to monitor. Something like that:
UserParameter=host.url[*],curl -iLs $1 | grep -c "HTTP/1.1 200"
More details you could see in documentation.
You could create custom user parameter where run curl to URL, you want to monitor. Something like that:
UserParameter=host.url[*],curl -iLs $1 | grep -c "HTTP/1.1 200"
More details you could see in documentation.
answered Apr 17 at 12:06
Alexander TolkachevAlexander Tolkachev
3,3642919
3,3642919
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963328%2fhow-to-monitor-http-urls-by-zabbix-agents%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown