Re: [Nagios-users] what mail server to use?

2006-07-30 Thread Marc Haber
On Sat, Jul 29, 2006 at 08:50:27PM -0400, nagios wrote:
 Does anyone have any recommendations on what mail server to use? I'm 
 planning on going with Sendmail, but I know that there are a few others 
 out there. Any suggestions are welcome.

I'd go with whatever is the default on your OS. Being the maintainer
for Debian's exim packages, I am kind of biased.

If you have a working mailserver installation on the network, you
might want to go with one of the featureless mailers like ssmtp or
nullmailer. If so, take care what your local mail server does when the
smtp server is not reachable.

Greetings
Marc

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] what mail server to use?

2006-07-30 Thread nagios
Marc Haber wrote:
 On Sat, Jul 29, 2006 at 08:50:27PM -0400, nagios wrote:
   
 Does anyone have any recommendations on what mail server to use? I'm 
 planning on going with Sendmail, but I know that there are a few others 
 out there. Any suggestions are welcome.
 

 I'd go with whatever is the default on your OS. Being the maintainer
 for Debian's exim packages, I am kind of biased.

 If you have a working mailserver installation on the network, you
 might want to go with one of the featureless mailers like ssmtp or
 nullmailer. If so, take care what your local mail server does when the
 smtp server is not reachable.

 Greetings
 Marc

   
Thank you for your suggestions. I'll most likely go with either Sendmail 
or Qmail.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] getting some flyby errors

2006-07-30 Thread Artyom Khmelnitsky
Any suggestions on how I would go about doing this? I've been testing
 this out for the better part of the day, but still get the following
 error(s) on the flyby test:





Error: Service check command 'check_smtp' specified in service 'SMTP'
 for host 'aykshared' not defined anywhere!

Checked 7 services.





In the hosts.cfg file, I have the following:





define host{

name Linux

register 0

check_command check-host-alive

max_check_attempts 10

check_period 24x7

notification_interval 240

notification_period 24x7

notification_options d,r,u,f

contact_groups localadmin

#notification_enabled 1

#event_handler_enabled 1

flap_detection_enabled 1

#failure_detection_enabled 1

#process_perf_data 1

retain_status_information 1

retain_nonstatus_information 1

}

define host{

use Linux

host_name aykshared

hostgroups linux_aykshared

alias AYK PING

address 1.1.1.1

}

#define host{

#name Linux-SMTP

#register 0

#check_command check_smtp

#max_check_attempts 10

#check_period 24x7

#notification_interval 240

#notification_period 24x7

#notification_options d,r,u,f

#contact_groups localadmin

#notification_enabled 1

#event_handler_enabled 1

#flap_detection_enabled 1

#failure_detection_enabled 1

#process_perf_data 1

#retain_status_information 1

#retain_nonstatus_information 1

#}

#define host{

#use Linux-SMTP

#host_name aykshared-smtp

#hostgroups linux_aykshared

#alias AYK SMTP

#address mail.server.com

#}





In the services.cfg file I have the following:





define service{

namebasic-service

is_volatile 0

check_period24x7

max_check_attempts  15

normal_check_interval   5

retry_check_interval1

notification_interval   240

notification_period 24x7

register0

}

define service{

use basic-service

name ping-service

check_command check_ping!100.0,10%!500.0,40%!5

notification_options u,c,r,f

register 0

}

define service{

use ping-service

hostgroup_name linux_aykshared

servicegroups shared

service_description PING

contact_groups localadmin

}

define service{

use basic-service

name smtp-service

check_command check_smtp

notification_options c,r

register 0

}

define service{

use smtp-service

hostgroup_name linux_aykshared

servicegroups shared

service_description SMTP

contact_groups localadmin

}





I commented out the second half for the time being as it didn't
 work, but that is what I have. Also, please note that I do not
 want to define 'aykshared-smtp' as a new user but would like to
 have it all under 'aykshared'. This is mostly for us when we view
 through the web interface, so all the checks are under'aykshared'
 host. 



I tried using just host {}, but of course that did not work. When
 I uncomment the above part, I still get the same error, that it
 was not defined.



Thanks for the help!



P.S. Before I get jumped at for not replying to a specific mailing
 list, can someone please tell me how I can do that? Each reply
 button seems to be replying directly to the poster and not the
 whole thread.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] getting some flyby errors

2006-07-30 Thread Peter Ringe
Hi Artyom

so you know, that nagios is recognising that you hate defined a service 
check called

check_smtp' for host 'aykshared

but you also have to define a command (normally in commands.cfg)
additionally you have to have the corrosponding plugin ...


Peter




Artyom Khmelnitsky schrieb:
 Any suggestions on how I would go about doing this? I've been testing
  this out for the better part of the day, but still get the following
  error(s) on the flyby test:





 Error: Service check command 'check_smtp' specified in service 'SMTP'
  for host 'aykshared' not defined anywhere!

 Checked 7 services.





 In the hosts.cfg file, I have the following:





 define host{

 name Linux

 register 0

 check_command check-host-alive

 max_check_attempts 10

 check_period 24x7

 notification_interval 240

 notification_period 24x7

 notification_options d,r,u,f

 contact_groups localadmin

 #notification_enabled 1

 #event_handler_enabled 1

 flap_detection_enabled 1

 #failure_detection_enabled 1

 #process_perf_data 1

 retain_status_information 1

 retain_nonstatus_information 1

 }

 define host{

 use Linux

 host_name aykshared

 hostgroups linux_aykshared

 alias AYK PING

 address 1.1.1.1

 }

 #define host{

 #name Linux-SMTP

 #register 0

 #check_command check_smtp

 #max_check_attempts 10

 #check_period 24x7

 #notification_interval 240

 #notification_period 24x7

 #notification_options d,r,u,f

 #contact_groups localadmin

 #notification_enabled 1

 #event_handler_enabled 1

 #flap_detection_enabled 1

 #failure_detection_enabled 1

 #process_perf_data 1

 #retain_status_information 1

 #retain_nonstatus_information 1

 #}

 #define host{

 #use Linux-SMTP

 #host_name aykshared-smtp

 #hostgroups linux_aykshared

 #alias AYK SMTP

 #address mail.server.com

 #}





 In the services.cfg file I have the following:





 define service{

 namebasic-service

 is_volatile 0

 check_period24x7

 max_check_attempts  15

 normal_check_interval   5

 retry_check_interval1

 notification_interval   240

 notification_period 24x7

 register0

 }

 define service{

 use basic-service

 name ping-service

 check_command check_ping!100.0,10%!500.0,40%!5

 notification_options u,c,r,f

 register 0

 }

 define service{

 use ping-service

 hostgroup_name linux_aykshared

 servicegroups shared

 service_description PING

 contact_groups localadmin

 }

 define service{

 use basic-service

 name smtp-service

 check_command check_smtp

 notification_options c,r

 register 0

 }

 define service{

 use smtp-service

 hostgroup_name linux_aykshared

 servicegroups shared

 service_description SMTP

 contact_groups localadmin

 }





 I commented out the second half for the time being as it didn't
  work, but that is what I have. Also, please note that I do not
  want to define 'aykshared-smtp' as a new user but would like to
  have it all under 'aykshared'. This is mostly for us when we view
  through the web interface, so all the checks are under'aykshared'
  host. 



 I tried using just host {}, but of course that did not work. When
  I uncomment the above part, I still get the same error, that it
  was not defined.



 Thanks for the help!



 P.S. Before I get jumped at for not replying to a specific mailing
  list, can someone please tell me how I can do that? Each reply
  button seems to be replying directly to the poster and not the
  whole thread.

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null

   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to 

Re: [Nagios-users] getting some flyby errors

2006-07-30 Thread Peter Ringe
correctum:

normally in checkcommand.cfg ... 

Peter Ringe schrieb:
 Hi Artyom

 so you know, that nagios is recognising that you hate defined a service 
 check called

 check_smtp' for host 'aykshared

 but you also have to define a command (normally in commands.cfg)
 additionally you have to have the corrosponding plugin ...


 Peter

   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] 3d status map... from Linux?

2006-07-30 Thread steve.wray
Hi there,
I'm noticing some people having posted to the list (over the last few
years) about VRML plugins for Linux/Firefox and I'm noticing what
appears to be a total lack of any kind of response to them...

So far I've been unable to find any way to view the Nagios 3d status map
from Linux.

Though I have been able to find VRML viewers none have integrated with
the web browser nor allowed me to enter URLs.

Any suggestions on how to make the 3d status map visible in Linux would
be greatly appreciated. Suggestions other than 'install vmware and run
windows'.


Thanks!

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Tracking dynamic parents?

2006-07-30 Thread Steve Shipway
 I am monitoring several hundred virtual machines and they 
 move from time to time to different VMware host machines.  My 
 question is how can I easily update the parents for these?

We have this situation as well.

The way I get around it is to reconfigure the scripts daily.  I have a
reconfigurator which regenerates the config files for both MRTG and
Nagios, probing the SNMP on the VMWare server to identify the various
locations of the guests.  This is then used to set parent definitions,
and also make summary graphs for MRTG.

At the same time, it probes for agents, checks for various services, and
dynamically reconfigures the monitoring for certain things (theres a
central config file the holds a list of what should be there, in
addition).

We dont vmotion the guests very often, anyway, and the check_esx2 plugin
will log current active VMs so it also keeps track of any changes.

Sadly I can't share a copy of the config tool as it is too specific to
our site.

Steve

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] 3d status map... from Linux?

2006-07-30 Thread Hugo van der Kooij
On Mon, 31 Jul 2006, steve.wray wrote:

 Any suggestions on how to make the 3d status map visible in Linux would
 be greatly appreciated. Suggestions other than 'install vmware and run
 windows'.

XEN or win4lin come to mind ;-)

But frankly I have never felt the need for a '3D' map on a 2D screen.

Hugo.

-- 
I hate duplicates. Just reply to the relevant mailinglist.
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] getting some flyby errors

2006-07-30 Thread Artyom Khmelnitsky
Hello,



Thank you for the reply. I do believe I have the plugin and it is
 defined in checkcommands.cfg. I thought it may be the directory
 structure at first, but it's not as my PING works just fine and
 they are located in the same directory/file.



Any other ideas? Was my syntax correct as far as defining goes,
 etc..?



Sincerely,





- Artyom Khmelnitsky (temak82)



---

This thread is located in the archive at this URL:

http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi
1[showUid]=20567



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] 3d status map... from Linux?

2006-07-30 Thread steve.wray
Morris, Patrick wrote:

Subject: [Nagios-users] 3d status map... from Linux?

Hi there,
I'm noticing some people having posted to the list (over the last few
years) about VRML plugins for Linux/Firefox and I'm noticing 
what appears to be a total lack of any kind of response to them...
[snip]
 
 At least a couple are mentioned in the FAQ:
 
 http://www.nagios.org/faqs/viewfaq.php?faq_id=51expand=falseshowdesc=f
 alse
 
 Have you tried those?

I've tried to try them... they either require windows (or osx) or don't
appear to plug into firefox.

Cortona: windows only.

CosmoPlayer: windows or powermac only.

FreeWRL: might work with plenty of hacking. I'll keep this in mind as a
last resort.

OpenVRML: again, plenty of hacking required.


I didn't mention I'm running debian stable...

I did find that cortona works very nicely... in windows XP with firefox
so its not a lot of use to me at work.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Syslog-NG/NSCA

2006-07-30 Thread Mike Koponick



I found this posting on the Exchange site, but the 
E-Mail address provided did not work.

I wondered of anyone else has configured Syslog-NG to send data via NSCA, 
and let Nagios handle the notifications, etc. I'm curious to see how Nagios is 
configured as the server, and Nagios as the client.

Thanks in advance,

Mike


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] NDO - Log_Entries

2006-07-30 Thread Mike Koponick
Does anyone knowhow the field "logentry_type" is 
defined? I see many entries and numbers in this field, but I wonder what they 
mean.

Thanks!

Mike-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Syslog-NG/NSCA

2006-07-30 Thread Morris, Patrick
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Mike Koponick
 Sent: Sunday, July 30, 2006 7:06 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Syslog-NG/NSCA
 
 I found this posting on the Exchange site, but the E-Mail 
 address provided did not work.
  
 I wondered of anyone else has configured Syslog-NG to send 
 data via NSCA, and let Nagios handle the notifications, etc. 
 I'm curious to see how Nagios is configured as the server, 
 and Nagios as the client.

I use a combination of syslog-ng and SEC
(http://www.estpak.ee/~risto/sec/) to do this.  SEC calls a script that
submits check results to Nagios via the command pipe.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] getting some flyby errors

2006-07-30 Thread Hugo van der Kooij
On Mon, 31 Jul 2006, Artyom Khmelnitsky wrote:

 Thank you for the reply. I do believe I have the plugin and it is
  defined in checkcommands.cfg. I thought it may be the directory
  structure at first, but it's not as my PING works just fine and
  they are located in the same directory/file.

 Any other ideas? Was my syntax correct as far as defining goes,
  etc..?

Well. As you have not shown the check_smtp definition nor verified it is
in a file included in your nagios.cfg I think you have your work cut out
for you.

And we can not say a thing about the relevant definition as you have not
shown it yet. Compare definition with error report very very carefully. It
is easy to overlook a slight deviation. If in doubt remove the name and
retype it as you may have included a hidden character there.

Hugo.

-- 
I hate duplicates. Just reply to the relevant mailinglist.
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null