Open harikrish432 opened 5 years ago
When you look at the "Latest data" from the maschine, do you see the 4 entries as in this printscreen?
If yes, then the graphs should show up ok. If not, then you still have something missing in the zabbix agent config. In that case, please increase the logging level of the zabbix agent.
BTW: You did install sudo and the corresponding /etc/sudoers.d/zabbix_ipsec file?
Thank you for the response, when I changed the template type from zabbix agent(active ) to zabbix agent i am stated getting the below error. Kindly help me I am very new to zabbix but i want to learn the new things.
It shows some errors about sudo not working as expected. What OS do you have on the vpn machine?
The VPN machine runs on Centos and I also installed the agent as a root user and added the zabbix ipsec in sudoers.d in the VPN machine.
Please kindly help me with the above issue...
is the zabbix agent process running as root user? If yes, then you can just remove the sudo in all places
Thank you allot, While I have checked for the Zabbix agent process it is running as Zabbix user. Do I need to change it to root user? how can i do so?
No, letting it running as user zabbix should be fine. It just needs a correctly configured sudo environment.
You did install sudo and the corresponding /etc/sudoers.d/zabbix_ipsec file? Perhaps on centos it's on another location?
Thank you for the response, I am using an AWS Centos Instance where the sudo is already installed in it and I have placed the Corresponding zabbix_ipsec file in /etc/sudoers.d/zabbix_ipsec in VM Machine.
You did put the check_ipsec.sh in /usr/local/lib/zabbix/externalscripts/?
It seems it does not pickup your sudo file for this
Thank you for the response, This is the path which I have placed the check_ipsec.sh file
In that case you must also modify the path in the file you did put in the sudoers.d folder
Should i also add the Zabbix-IPsec in Zabbix server Sudoers or only by adding it into VPN server is fine?
On the client (where the VPN is running) is enough.
But I think you a x too much at the start of the last line of the printscreen
Sorry For the delay response, Even after changing the scripts I am still receiving the same. I am only able to get the graph for StrongSWAN charon process , OpenSWAN PLUTO process
all the items key are in Zabbix agent (active) but still, I am not able to see any data points. When I changed the items key to Zabbix agent I will be getting the following error.
Hi Schild, Help me with the above issue which I am facing now.
Somehow your sudo config is not correct. It does not pickup your sudo config file correctly or you still have some error n the sudo file.
Thank you, Schild, I will check it once and get back to you.
Sorry for disturbing, Even after installing the Fping I am not able to get the graphs. Whereas discovery items are in enabled state and also reflecting the changes made in VPN backend server into the zabbix dashboards. Totally confused about the data points. Kindly help me.....
Originally posted by @harikrish432 in https://github.com/a-schild/zabbix-ipsec/issues/10#issuecomment-454404354