I am new at Zabbix and English.
I want to get Zabbix MySQL monitoring value from server which cannot connect from zabbix server.
So I want to get value from active check zabbix agent to zabbix server.
Mysql monitoring function is only passive check?
Please let me know how to do this.
Related
I want to send HTTP request to a website where I can't deploy a Zabbix agent. I can only access the website via HTTP / HTTPS.
I created a host, but I had to setup a false interface (I wrote Zabbix Agent / the website DNS and port 10050). Consequently, the status is "Red" as Zabbix Server cannot connect to the agent.
How can I set up an agent without any interfaces, or more precisely, without triggering a "Red" status on the host ? In my situation, is there any way to get a "Green" status on the host ?
Zabbix version : 3.2.11
At least one interface is mandatory. Using 127.0.0.1 the status is Enabled, green. I'm using Zabbix 4 here.
Hosts in Zabbix must have at least one interface. That interface does not have to be used.
If you see the red "Z" and an error about contacting the agent, this means that you have created Zabbix agent items on that host (directly or via linking some template).
As those items do not work, it would be best to remove them.
See http://www.zabbixbook.com/2016/11/22/can-i-have-a-host-without-interfaces/ for more information.
I am using active Zabbix agents that auto-register themselves to the Zabbix server.
Everything goes well until the DHCP changes the host IP, the host then becomes unavailable in Zabbix... Looking at the host under the hosts list in Zabbix frontend, I can see that it had the old IP.
Is there any way to solve this?
This means that you are actually not using active items. I'd suggest cloning your current template and changing items, LLD rules and LLD prototypes to "Zabbix agent (active)" - then agent IP address changes will not be a concern.
With neo4j 2.3.x community edition I use to set the ip address to local host and change the port to allow multiple instances for development.
#org.neo4j.server.webserver.address=0.0.0.0
org.neo4j.server.webserver.port=7384
Upon starting the instance, I use to have a confirmation message with ip and port.
Starting Neo4j Server...WARNING: not changing user
process [28531]... waiting for server to be ready........ OK.
http://localhost:7384/ is ready.
I would then upload data using a shell script and cypher commands.
$neo/bin/neo4j-shell -path $neo/data/graph.db -file upload.cypher
With neo4j 3.0, the server setup slightly changed. I turned on HTTP connection, CSV import, and shell connection.
dbms.connector.http.enabled=true
dbms.connector.http.address=localhost:7384
dbms.shell.enabled=true
# dbms.shell.host=127.0.0.1
dbms.shell.port=1387
When I start the instance, I get the following message in which the port is not correct.
Starting Neo4j.
Started neo4j (pid 28718). By default, it is available at http://localhost:7474/
There may be a short delay until the server is ready.
Uploading data with the same shell script as for neo4j-2.3.x works well, no error message and I can see the data using neo4j-shell.
./neo4j-3.0.0/bin/neo4j-shell -path neo4j-3.0.0/data/graph.db
However, when I connect using host and port instead, I see no data. Furthermore, when I connect using the web interface, I see no data either.
./neo4j-3.0.0/bin/neo4j-shell -host localhost -port 1387
Is there anything wrong in my database setup?
Thanks!
In 3.0 the location of the datastore has changed. 2.x used data/graph.db, in 3.0 it's by default in data/databases/graph.db. So you want to change your setup script to:
./neo4j-3.0.0/bin/neo4j-shell -path neo4j-3.0.0/data/databases/graph.db
I have zabbix installed on my wan ip and I'm able to add clients in that of same Wan Ip network, But when i'm trying to add a zabbix client of different Wan network range, i'm getting -
Received empty response from Zabbix Agent at [xx.xx.xx.xx]. Assuming
that agent dropped connection because of access permission.
There is no filtering at any end, and i have cross checked zabbix_agentd.conf file may times and found no errors. I can see ports listening at 10050 on client servers.
The Troubleshooting page on Zabbix.org is a classical reference for troubleshooting unreachable agents.
In this particular case, you might wish to start with checking that Zabbix server IP is listed in agent's Server configuration parameter.
I have solved the above problem. it was my router's wan ip that was collecting the data from zabbix agent and not the zabbix server's wan ip.
so i gave both the ips of my router as well as of zabbix server in zabbix_agentd.conf's Server and ServerActive . and now its working fine.
Thanks
I have installed a Neo4J instance on my server on port 7474. My domain is also using that server and I want webadmin to be used remotely with a username and a password like this:
example.com:7474
Is there a way to do that? I could not find any guideline in the Neo4J documentation.
Did you get a chance to go through Neo4j Server Configuration documentation? It says:
#allow any client to connect
org.neo4j.server.webserver.address=0.0.0.0
This line in conf/neo4j-server.properties is commented by default and limits access to port 7474 to localhost or 127.0.0.1 (which probably is the reason why things work for your domain using that server and accessing Neo4j over localhost). Uncomment that line and it should make port 7474 accessible to everyone i.e. 0.0.0.0.
In order to secure your Neo4j server with an Authorization layer, you might want to refer Securing access to the Neo4j Server documentation.
In my case on ubuntu the line to uncomment was
dbms.connector.http.address=0.0.0.0:7474
File location
Ubuntu: /etc/neo4j/neo4j.conf
Neo4j 3.0.6