MACscr
Jr. Member

Karma: 0
Offline
Posts: 17
|
 |
« on: April 08, 2009, 12:21:29 AM » |
|
I have PandoraFMS 2.1 installed and working for the most part and it looks great, yet i dont even see in the documentation on how to setup a server to be monitored.
Lets say i have server A that is the Pandora server. How do i setup server B to be monitored for basics like ICMP, check that services such as SSH, Web Server, SMTP, etc, are alive and responsive?
I have looked through the docs a bit, but i would think there would be a basic quick start guide of some sort.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
MACscr
Jr. Member

Karma: 0
Offline
Posts: 17
|
 |
« Reply #2 on: April 08, 2009, 12:44:05 AM » |
|
Hmm, ok, so i followed those steps, but when i click on Update for the Host Alive module assignment, it gives the following error: Not available in edition mode. What does that mean? EDIT: my fault, i should have searched first. http://openideas.info/vanilla/comments.php?DiscussionID=447&page=1#Item_0Now to wait 5 mins to see if it worked. Is there not a way to have that "task" or "check" run immediately?
|
|
|
|
« Last Edit: April 08, 2009, 12:46:19 AM by MACscr »
|
Logged
|
|
|
|
|
|
|
 |
« Reply #3 on: April 08, 2009, 12:46:30 AM » |
|
It means you cannot change the Module Type, (it must be a PROC type), are you editing an existing module?. The "Update" button only appear when you're editing an existing module, otherwise, if it is new, it must say: "create"
|
|
|
|
|
Logged
|
|
|
|
|
MACscr
Jr. Member

Karma: 0
Offline
Posts: 17
|
 |
« Reply #4 on: April 08, 2009, 12:54:18 AM » |
|
Hmm, well, Host Alive doesnt seem to be working. Should be checking every 300 seconds or 120 seconds (not sure which rule its using), yet it says its never made contact. I do not have any type of agent or pandora scripts running on that server im trying to monitor, but that shouldnt be needed for basic icmp checks, correct?
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #5 on: April 08, 2009, 01:01:19 AM » |
|
You are correct you don't need any.
Is the network server running? Did you assign a network server to that agent? (Manage Agents->your agent, check if it has the network server assigned) Did you write the IP of the agent?
|
|
|
|
|
Logged
|
|
|
|
|
MACscr
Jr. Member

Karma: 0
Offline
Posts: 17
|
 |
« Reply #6 on: April 08, 2009, 01:09:02 AM » |
|
Yes, it does have a network server assigned (basically the hostname of the Pandora server, plus net, like hostname_Net). Is that correct? As far as IP's, i have both the local and public ip's listed for the server im trying to monitor (each server has at least two nics).
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #7 on: April 08, 2009, 01:17:16 AM » |
|
That's correct.
Edit the module and make sure you have the IP there as well.
Try: sudo /etc/init.d/pandora_network stop && sudo sleep 2 && sudo /etc/init.d/pandora_network start
|
|
|
|
|
Logged
|
|
|
|
|
MACscr
Jr. Member

Karma: 0
Offline
Posts: 17
|
 |
« Reply #8 on: April 08, 2009, 10:32:29 AM » |
|
btw, that appeared to work, so thanks! Its not normal though to have to restart Pandora just because a new agent was added is it?
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #9 on: April 08, 2009, 10:53:18 AM » |
|
No, normally you don't have to, no way. Maybe the server got stuck, who knows..
|
|
|
|
|
Logged
|
|
|
|
|
|