Pages: [1]   Go Down
Author Topic: basic startup guide?  (Read 1270 times)
0 Members and 1 Guest are viewing this topic.
MACscr
Jr. Member
**

Karma: 0
Offline Offline

Posts: 17


View Profile
« 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

Manuel Arostegui
Global Moderator
Expert member
*****

Karma: 50
Offline Offline

Posts: 853



View Profile
« Reply #1 on: April 08, 2009, 12:25:58 AM »

Yep, you're right.
We are working on those documents.
To monitor a server for SSH, Web etc...

Go to the agent (make sure you wrote the IP)
Manage Modules -> Create a network module -> Select Host Alive (that's a ping) (click get data)

And there you have check HTTP, check SMTP...

http://openideas.info/wiki/index.php?title=Pandora_2.0:Documentation_en:Basic_Setup
Logged

MACscr
Jr. Member
**

Karma: 0
Offline Offline

Posts: 17


View Profile
« 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_0

Now 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

Manuel Arostegui
Global Moderator
Expert member
*****

Karma: 50
Offline Offline

Posts: 853



View Profile
« 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 Offline

Posts: 17


View Profile
« 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

Manuel Arostegui
Global Moderator
Expert member
*****

Karma: 50
Offline Offline

Posts: 853



View Profile
« 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 Offline

Posts: 17


View Profile
« 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

Manuel Arostegui
Global Moderator
Expert member
*****

Karma: 50
Offline Offline

Posts: 853



View Profile
« 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 Offline

Posts: 17


View Profile
« 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

Manuel Arostegui
Global Moderator
Expert member
*****

Karma: 50
Offline Offline

Posts: 853



View Profile
« 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

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST