Re: [Nagios-users] Using Nagios to restart a Power Strip, Switch, Router, etc. via SNMP

2007-02-21 Thread Trevor Warren
Ofcourse it iswhile the consequence sound a little scary too. Think about it.ur intention is to have nagios trigger an request if a condition is met. The intention can be satisfied over SNMP With the trigger being called when a plugin check is performed Nagios per say may not be equipp

[Nagios-users] Using Nagios to restart a Power Strip, Switch, Router, etc. via SNMP

2007-02-21 Thread patrickm
Hello, I've been scouring Google all day long and I can't seem to find anything regarding Nagios being able to reboot switches, routers, or power strips via SNMP. We have some HP Procurve Switches, Some Cisco 7200 Routers, and some APC Power strips, all being monitored via SNMP already and via

Re: [Nagios-users] Contact definitions and multiple email addresses?

2007-02-21 Thread Andy Moran
Oh yech. I'll pass on that. how about this one: Is it possible to have a contact receive critical messages for all services but warning messages ONLY for a particular service? For example: All services are set to notify on warning, critical, unknown, and recovery..Admins want to be

Re: [Nagios-users] Contact definitions and multiple email addresses?

2007-02-21 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Andy Moran > Sent: Wednesday, February 21, 2007 4:49 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Contact definitions and multiple email addresses? > > > Can a

Re: [Nagios-users] Problems with passing on service check information

2007-02-21 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Steven Schwartz > Sent: Wednesday, February 21, 2007 4:19 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Problems with passing on service check information > > D

[Nagios-users] Contact definitions and multiple email addresses?

2007-02-21 Thread Andy Moran
Can a contact definition contain a list of email addresses, and if so, will Nagios email them all? e.g. define contact{ contact_namejdoe alias John Doe service_notification_period 24x7 host_notification_period

[Nagios-users] Problems with passing on service check information

2007-02-21 Thread Steven Schwartz
I am trying to follow the instructions to use a centralized server in the Nagios documentation, with one major change - instead of reporting all errors to a central server and having it do the notifications, I want the individual servers to do their own notification, and also send copies of service

Re: [Nagios-users] Sending a txt message as acknowledgement for event

2007-02-21 Thread Nagios Mail
Patrick ~ I just set this up myself, so I'll share some of the details on how I got it working. First off you'll need a way for the email's to reach the nagios inbox. In our example I setup fetchmail on our CentOS box to check Exchange every 15 seconds for mail using POP3. once you have that co

Re: [Nagios-users] Sending a txt message as acknowledgement for event

2007-02-21 Thread patrickm
Thanks for the response. To send txt messages, we have Verizon, so we send to [EMAIL PROTECTED] I hit reply on my phone and a few seconds later I received a bounceback from the mail server where Nagios is..so I think we might be in business. What would I have to do from here? From the looks

Re: [Nagios-users] two sets of host groups

2007-02-21 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of dave stern - e- > mail.pluribus.unum > Sent: Wednesday, February 21, 2007 11:08 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] two sets of host groups > > Is it po

[Nagios-users] two sets of host groups

2007-02-21 Thread dave stern - e-mail.pluribus.unum
Is it possible to have hosts in two sets of groups? Currently I've divided hosts by hostgroup names associated with their physical location. But it would be quite useful to have hostgroups based on operating systems. Anyone have a way to accomplish this allow "multiple views"? TIA --

Re: [Nagios-users] HostGroup not visible to notification recipients

2007-02-21 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of David G Schlecht > Sent: Tuesday, February 20, 2007 5:32 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] HostGroup not visible to notification recipients > > All, >

Re: [Nagios-users] htaccess authorization error..

2007-02-21 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of abid dar > Sent: Tuesday, February 20, 2007 8:32 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] htaccess authorization error.. > > So I am getting the infamous cgi

Re: [Nagios-users] NRPE unable to read output

2007-02-21 Thread Andy Shellam (Mailing Lists)
Another stab in the dark... the NRPE agent isn't inside a BSD jail is it? My Nagios host refuses to read NRPE's output in a machine that's jailed :( Andy. Hari Sekhon wrote: Thanks for the reply, I just tried that but unfortunately it still gave the same result. I have another sudo /etc/n

Re: [Nagios-users] NRPE unable to read output

2007-02-21 Thread Hari Sekhon
Thanks for the reply, I just tried that but unfortunately it still gave the same result. I have another sudo /etc/nagios/plugin and that works. Also, su-ing to nagios and then running the command by hand works. so I'm still stuck Hari Sekhon Andy Shellam (Mailing Lists) wrote: I had t

Re: [Nagios-users] NRPE unable to read output

2007-02-21 Thread Andy Shellam (Mailing Lists)
I had this problem, and had to put the full path to sudo (/usr/bin/sudo) in nrpe's config. HTH Andy. Hari Sekhon wrote: I know that nrpe works, I run over 100 checks via nrpe, and on this host all other nrpe checks work. I don't know if it's really the sudo in the line because I have anothe

Re: [Nagios-users] Getting a no response error when checking via snmpplugin check_hd

2007-02-21 Thread Kaplan, Andrew H.
Hi there -- I ran the snmpwalk command from the nagios machine, and it did timeout. My next step will be to check the HP-UX box, and see if it does allow the polling to occur. -Original Message- From: Morris, Patrick [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 20, 2007 7:49 PM To

Re: [Nagios-users] NRPE unable to read output

2007-02-21 Thread Hari Sekhon
I know that nrpe works, I run over 100 checks via nrpe, and on this host all other nrpe checks work. I don't know if it's really the sudo in the line because I have another line which says command[check_another_plugin]=sudo /etc/nagios/another_plugin and this works fine when called via nrpe as

Re: [Nagios-users] NRPE unable to read output

2007-02-21 Thread Lane, Jim
Hari: I think your problem is with the sudo in the line command[check_plugin]=sudo /etc/nagios/check_plugin Try it as command[check_plugin]=/etc/nagios/check_plugin and see how you get on. I run NRPE plugins as above on my systems and they work fine. HTH Jim Lane -Original Message

[Nagios-users] NRPE unable to read output

2007-02-21 Thread Hari Sekhon
Hi, I'm using NRPE to execute checks on remote hosts and am have problems with one plugin on just one machine. I have the plugin in the configuration of nrpe and execute /usr/nagios/libexec/check_nrpe -H hostname -c check_plugin NRPE: Unable to read output The definition of the command call

Re: [Nagios-users] Check_nt & Microsoft Exchange 6.5

2007-02-21 Thread Mark Duffy
Firstly, thanks for the reply: > Based on that document, I've set up the following commands. I'm not > really sure how well they're working (they always return 0 on the quiet > Exchange box I'm using them on so far) so I'd be interested to hear how > you get on. It seems no matter what qu

Re: [Nagios-users] FW: Reports using NDOutils?

2007-02-21 Thread Wheeler, JF (Jonathan)
> -Original Message- > From: nagios-users On Behalf Of Marcel Mitsuto Fucatu Sugano > Sent: 15 February 2007 14:58 > > On Thu, 2007-02-15 at 10:17 +, Wheeler, JF (Jonathan) wrote: > > -Original Message- > > From: nagios-users On Behalf Of Marcel Mitsuto Fucatu Sugano > > Sent:

Re: [Nagios-users] Sending a txt message as acknowledgement for event

2007-02-21 Thread Az
patrickm wrote: > Is it possible to reply to a txt message that is sent from the nagios server > as acknowledgement when an event occurs, like an unreachable server or other > events? The short answer is, yes. The long answer is, it depends on how you sent the SMS in the first place. If you are