Mord, Something very strange appears when I try to run that command: /usr/sbin/zabbix_agentd -c /etc/zabbix_agentd.conf -f
*root@ConselhoQuarteirao:/# /usr/sbin/zabbix_agentd -c /etc/zabbix_agentd.conf -f-ash: /usr/sbin/zabbix_agentd: not found* But this file "/usr/sbin/zabbix_agentd" exists !!! I can see and access it by vim.. Any idea? Thank you El martes, 4 de abril de 2017, 11:07:31 (UTC-3), mord reneth escribió: > > opps.......missed the -f.... > > command is: > > /usr/sbin/zabbix_agentd -c /etc/zabbix_agentd.conf -f > > > > > On Tuesday, April 4, 2017 at 5:04:30 PM UTC+3, mord reneth wrote: >> >> use the init script to stop agent (probably /etc/init.d/zabbix_agentd >> stop ..... i'm not sure as I havent got round to installing client on my >> routers yet).... >> >> then run: >> >> /usr/sbin/zabbix_agentd -c /etc/zabbix_agentd.conf >> >> >> >> >> >> >> On Tuesday, April 4, 2017 at 4:12:45 PM UTC+3, Alberto Crespo wrote: >>> >>> Mord, >>> >>> Could you explain me how I can proceed to run it in foreground? >>> >>> Thank you so much >>> >>> El martes, 4 de abril de 2017, 4:32:50 (UTC-3), mord reneth escribió: >>>> >>>> Alberto >>>> >>>> Thats the agentd running on the SERVER....not the agent running on the >>>> router ;) >>>> (Zabbix is trying to monitor itself.....) >>>> >>>> >>>> As for the agent on the router crashing.....try running it in >>>> foreground......you'll see any errors appear on the console... >>>> >>>> >>>> >>>> On Friday, March 31, 2017 at 9:14:46 PM UTC+3, Alberto Crespo wrote: >>>>> >>>>> It would be great if we could edit our own posts (I am spamming :( ) >>>>> >>>>> Maybe this error is the key?? "Get value from agent failed: cannot >>>>> connect to [[127.0.0.1]:10050]: [111] Connection refused" in >>>>> *Configuration >>>>> -> Hosts* >>>>> >>>>> >>>>> <https://lh3.googleusercontent.com/-5GL0dc0bWPs/WN6cUB0MFwI/AAAAAAAAFpo/4_scKArD5ksbTPDw0417Pm_YMPWP2PQlQCLcB/s1600/zabbix3.png> >>>>> >>>>> >>>>> Sorry if I am doing a stupid question. >>>>> >>>>> Thank you ! >>>>> >>>>> El viernes, 31 de marzo de 2017, 14:50:08 (UTC-3), Alberto Crespo >>>>> escribió: >>>>>> >>>>>> In the /etc/zabbix_agent_conf I have defined the FileLog as >>>>>> /var/log/zabbix.log but seems that the daemon doesnt creates this >>>>>> FileLog. >>>>>> >>>>>> Maybe is because the daemon is not working correctly? >>>>>> >>>>>> Thank you for your patience !! >>>>>> >>>>>> El viernes, 31 de marzo de 2017, 14:47:32 (UTC-3), Alberto Crespo >>>>>> escribió: >>>>>>> >>>>>>> Hi again, >>>>>>> >>>>>>> So, they are on the same LAN. The router has Local IP range: >>>>>>> 172.16.2.X and the server is on the same LAN but using a Public IP like >>>>>>> 186.225.x.y . I can ping successfully from the server to the Router >>>>>>> Local >>>>>>> IP, so they are on the same LAN... >>>>>>> >>>>>>> So, I have changed the ServerIP to a Local IP 172.16.2.X and >>>>>>> modified the zabbix_agent_conf with the new Local IP and still the same >>>>>>> problem. >>>>>>> >>>>>>> Could you give some suggestion? >>>>>>> >>>>>>> Thank you! >>>>>>> >>>>>>> El viernes, 31 de marzo de 2017, 13:57:26 (UTC-3), SKapoor escribió: >>>>>>>> >>>>>>>> I don't see any problem setup wise.. >>>>>>>> Zabix server/agent should be in the same LAN.. >>>>>>>> >>>>>>>> Regards >>>>>>>> >>>>>>>> On Fri, 31 Mar 2017 at 10:20 PM, Alberto Crespo < >>>>>>>> alberto....@gmail.com> wrote: >>>>>>>> >>>>>>>>> Maybe the problem is because I am using Public IP ???? >>>>>>>>> >>>>>>>>> Thank you !! >>>>>>>>> >>>>>>>>> -- >>>>>>>>> You received this message because you are subscribed to a topic in >>>>>>>>> the Google Groups "OpenWISP" group. >>>>>>>>> To unsubscribe from this topic, visit >>>>>>>>> https://groups.google.com/d/topic/openwisp/DodaHOTJFCE/unsubscribe >>>>>>>>> . >>>>>>>>> To unsubscribe from this group and all its topics, send an email >>>>>>>>> to openwisp+u...@googlegroups.com. >>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>> >>>>>>>> -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.