I went through the doc but I can't seem to find this anywhere. Say I just deployed a new Linux server, what are the steps to start monitoring it? I have installed the agent but what steps need to be done on the Pandora server for everything to work? Also when I define modules in the config do I have to define them in Pandora too? Or is there a way to only define them in Pandora and have the settings be pushed?
Steps to create new server to be monitored
Red Squirrel · 7 jun 2012, 9:07 · 8 mensajes · 56 visitas
- Inicio del debate
hi when you installed the agent and configured the transfer mode ( by default with tentacle protocol ) . you must restart the pandora_agent_daemon service and in the server side you must see the new agent with the modules defined in the pandora_agent.conf. if you can't comunicate with the server check the firewall or check the tentacle service in the agent side. i hope that it helps you thanks
I'm not sure I understand, so I don't have to do anything at all on the server side then? I can ping the pandora server from the server, and did restart the agent. Is there a way I can troubleshoot if I can reach the port? Since it's UDP I'm not sure how to troubleshoot that. I normally just telnet when it's a tcp port. There should not be any firewall rules blocking it, but may as well rule it out at least.
Wow I really screwed it up now. The agent wont even start. I tried to move it location since I did a typo when I previously installed it. I thought editing the paths in the init script would be all that needs to be done but it still wont start. Is there a way to completely uninstall it and restart? I'm guessing it put files in other locations that I don't know about and it's referring to the old path. It seems when I tried to reinstall it, it's not generating the files properly. The init script comes out as being blank now. Also should this be running as root or can I make it run as another user? Edit: ok got it to the point where it starts! I had to delete the tar folder and untar it again, guess it got corrupted somehow. Still trying to get it to show up on the server with the modules though. Any steps I need to do on the server?
hi try to put the agent daemon in debug mode and restart it. with the debug mode the agent executes one time and stop it. generate a xml file in the pandora's tmp directory. i guess that your agent is linux, please check que temporal /tmp line in your agent's configuration file. this folder contains the xml file that uses to send to the server side. if the xml exists and inside are all the module's data, the problem you have is in the tentacle protocol for the transfer of the files. sorry for this post if you dont understand it, last night i only sleep 3 hours bye
For some reason I thought I read somewhere that the protocol was UDP but it's actually TCP. I tried to telnet to it from all machines on my network and it cannot connect. It seems the tentacle server is not accepting any outside connections. I can connect to port 22 (ssh) from those same machines. So something is either blocking that specific IP or the tentacle server itself is not accepting connections. Any reason why this would happen? I edited the tentacle config file to ensure it is listening on the proper IP. I can connect to it locally from localhost. I'm using the prebuilt distro so I would imagine there's no firewall on there that would be blocking it. I don't think iptables is even installed by default.
Figured it out! Turns out iptables IS running somehow. I do not see the process, but it's hidden I guess. I did iptables -A INPUT -J ACCEPT as a troubleshooting step, and now it works. Anyone know how this process is running in first place? I do not see any references to the service being turned on, or an entry when I do ps aux. Where does it store it's settings on what ports to open?
ok think I'm good now. The Iptables process is changed in Suse, it's SuSEfirewall2_init and SuSEfirewall2_setup. I turned it off and have my own script so I can set my own rules. All is good. And as it turns out I don't need to do anything on the server for the new agent to show up. I just need to go setup the thresholds after but it shows up automatically.
Entra en tu cuenta para publicar.
