Mongodb monitoring using mikoomi plugin of zabbix is not rendering any data -


I am using to monitor mongodb , there is a shell script which is Php script and 0 to zabbix and parallel write a data file and send the log file to the / tmp / directory.

Now my question: how zabbix is reading that data / log file and how can I get information from that file? I need to debug this because zabbix is not providing any data how can I set it correctly?

The format of the data file is as follows:

  & lt; Mongo Hostname & gt; Mem_virtual 39484 & lt; Mongo Hostname & gt; Connections 34 and Mongo Hostnames & gt; Using the utility to inform zabbix server about the collected data.    

/ P>

  exec ("zabbix_sender -vv -z 127.0.0.1 -i $ data_file_name 2 & gt; and 1 ", $ log_file_data);   

The Zabbix server will read the key values ​​from the data file and will update the DB.

Which OS are you using? Check for errors related to the selinux policy If the selinux policies are enabled on your server, disable and check whether the data file is updating or not.

If the output is applicable then the selinux policies are enabled by using the following command

  setenforce 0   

And then to run getenforce to check that the output is permissive .

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -