LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-16-2009, 02:23 PM   #16
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297

So the servers you want to monitor are in a remote location and only accessible using SSH. But your GroundWork server is at your location, correct? Since you posted that you have GroundWork installed I assume it is.

Well, my friend, that's no problem at all. You can monitor almost anything with GroundWork using the included 'check_by_ssh' commands, for diskspace, memory, load, log files, lots and lots more.

In my setup I monitor our AIX servers using SSH also, so it's no problem at all.

Kind regards,

Eric
 
Old 09-16-2009, 02:26 PM   #17
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Quote:
Originally Posted by abhijeetdutta View Post
eric

i have forget my username of groundwork...how to recover that...
If you didn't delete the standard user, then you can enter with :

username: admin
password: admin

and from there on create a user for your own with administrator rights.

Kind regards,

Eric
 
Old 09-16-2009, 02:31 PM   #18
abhijeetdutta
Member
 
Registered: Aug 2009
Posts: 141

Original Poster
Rep: Reputation: 16
eric

you are great...thanks..


admin
admin

its works.....
 
Old 09-16-2009, 02:35 PM   #19
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
You're welcome. Also, GroundWork Open Source has a pretty good community also. Might be worth saving it in your favorites. Here's the answer if you ever loose your password completely and how to reset it in the integrated MySQL database: http://www.groundworkopensource.com/...php?f=3&t=1549.

Kind regards,

Eric
 
Old 09-16-2009, 04:11 PM   #20
abhijeetdutta
Member
 
Registered: Aug 2009
Posts: 141

Original Poster
Rep: Reputation: 16
eric..

is it possible to get the mails from groundwork..i am not able to get the options...

means on dialy basis it monitors the server and send the mails if it goes over the threshold..
 
Old 09-17-2009, 12:30 AM   #21
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Quote:
Originally Posted by abhijeetdutta View Post
eric..

is it possible to get the mails from groundwork..i am not able to get the options...

means on dialy basis it monitors the server and send the mails if it goes over the threshold..
Of course it's possible to get mails from the monitoring server, that's the whole meaning of monitoring. What's the use of an automated monitoring system when it doesn't communicate with you? The setup I have here mails all sysadmins (3) whenever there's a warning or critical event.

The way I set it up bypasses a lot of escalation trees and functions since they are not necessary for our setup.

When logged in, go to Configuration and click on Commands in the menu. Under the Modify link you'll find two commands, host-notify-by-email and service-notify-by-email. Edit those two commands to include the email address you want to send notifications to. My service-notify-by-email shows this:
Code:
/usr/bin/printf "%b" "*** NAGIOS *** \n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "Control de servicios  $NOTIFICATIONTYPE$ $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" admin1@domain.com,admin2@domain.com,admin3@domain.com
(email addresses substituted of course).

After that Nagios will send out the mails on the localhost, so you also have to configure a MTA like postfix to relay your mail to your mail server. Do you have a mail server running yourself or do you use a public mail service like GMail, Yahoo, HotMail, ...?

Kind regards,

Eric
 
Old 09-17-2009, 04:35 PM   #22
abhijeetdutta
Member
 
Registered: Aug 2009
Posts: 141

Original Poster
Rep: Reputation: 16
Hi eric...

howz going on....eric i am geeting this error....

/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: -\n\nService: service_desc\nHost: Linux Server #1\nAddress: 127.0.0.1\nState: UP\n\nDate/Time: 2009-05-18 22:57:23\n\nAdditional Info:\n\n-" | /usr/sbin/sendmail -s "** - alert - Linux Server #1/service_desc is UP **" abhijeetdutta89@gmail.com

WARNING: RunAsUser for MSP ignored, check group ids (egid=500, want=51)
can not chdir(/var/spool/clientmqueue/): Permission denied
Program mode requires special privileges, e.g., root or TrustedUser.

Command returned exit status 78

Secondly let me know how to add remote servers in ground work..
 
Old 09-17-2009, 04:40 PM   #23
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

All processes from Groundwork are run as user nagios. You'll have to give that user the appropriate rights to be able to mail. What mail agent are you using? Check if the nagios user has a mailbox created and has the appropriate rights to it.

If you want to add a host in GroundWork, go to the menu Configuration and click on Hosts in the menu bar. There you can create hostgroups, for example Windows Servers, Linux Servers, etc... and create hosts and make them member of a group. The screens are quite self explanatory.

Kind regards,

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
monitoring software eublade Linux - Software 4 08-16-2007 02:12 PM
Monitoring software chhansopheaktra Linux - Software 2 08-12-2005 09:58 AM
Monitoring software Mclewson Linux - Software 1 11-27-2004 03:10 PM
Looking for some help on monitoring software shelby Linux - General 14 12-11-2002 03:36 PM
Needs monitoring software! Bogdan Linux - Networking 3 03-20-2002 03:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration