[Nagios-users] Timerange in exception area for timeperiod defintiion

2011-01-13 Thread Yu Watanabe
Hello all.

I 'd like to ask question for version 3.x.

In the exception area of timeperiod definitions , when you specify you own 
timerange,
like 

day 1 10:00-11:00

it seems that Nagios is not acknowledging the period.

Is this a know issue in Nagios?

Thanks,
Yu Watanabe


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
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] Postqueue monitoring

2011-01-13 Thread Luc MAIGNAN
Hi,

I'm looking for a postqueue (postfix) plugin that alerts me if there are 
blocked messages in a postfix queue.

I didn't find any WORKABLE plugin.

Does anyone know a good one ?


BR

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
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] Custom command, works from command line, not from nagios?

2011-01-13 Thread Clyde Jones
Mister IT Guru mailto:misteritg...@gmx.com wrote:
 I run this command from the cli
 
 [root@host ~]# /usr/lib/nagios/plugins/check_nrpe -H
client.localdomain -c get_disk -a localhost C: 70,80
 
 And I get the response above. I defined the command below,
 
 define command{
  command_namecheck_cdrive
  command_line$USER1$/get_disk -a  $HOSTADDRESS$ C: 70,80

 } 
 
 and also this service,
 
 define service{
 
  usegeneric-service; Inherit default
 values from a
 template
  hostgroup_nameWindows_Servers
  service_descriptionC Drive Space
  check_commandcheck_cdrive
  }
 
 And I get this response when nagios runs the checks.
 
 Status Information:(Return code of 127 is out of bounds - plugin
may
 be missing)
 
 

You are asking Nagios to run a non-existing command.  What you have
defined in the nagios command is NOT what you ran on the command line.  

Your command should be: 
   define command{
 command_namecheck_cdrive
 # Wrong command_line$USER1$/get_disk -a  $HOSTADDRESS$ C: 70,80

 command_line$USER1$/check_nrpe $HOSTADDRESS$ -c
get_disk -a localhost C: 70,80 
   } 

-- 
Clyde Jones
RD Informatics
Senior Applications Engineer
cjo...@exelixis.com
Exelixis Inc
650 837 7085 Office
650 228 4699 Cell

This email (including any attachments) may contain material
that is confidential and privileged and is for the sole use of
the intended recipient. Any review, reliance or distribution by
others or forwarding without express permission is strictly
prohibited. If you are not the intended recipient, please
contact the sender and delete all copies.
Exelixis, Inc. reserves the right, to the extent and under
circumstances permitted by applicable law, to retain, monitor
and intercept e-mail messages to and from its systems.


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
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] About the process of Nagios

2011-01-13 Thread Jim Avery
2011/1/7 織田 成飛 fj657...@aa.jp.fujitsu.com:
 Hello all.

 I would like to ask a question regarding to the behavior of Nagios check.
 Delay has occurred in processing of Naigos check.


Is that delay of an Active check or a Passive check?


 When external command processing occurs, what does internal processing become?
 Is internal processing after external processing execution performed?

 External Command{cacti → Nagios(Passive services)}
 ⇒ Internal processing{ Nagios(Active service)}

 Please let me know about processing of Nagios.


I'm not sure if they will tell you all you need to know, but if you
haven't read them already, take a look at the Active Checks and
Passive Checks pages under
http://nagios.sourceforge.net/docs/3_0/toc.html

The first place to look when fixing performance problems with Nagios is:

http://nagios.sourceforge.net/docs/3_0/tuning.html

I hope that helps you a little.

Jim

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
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] Nagios checker configuration

2011-01-13 Thread Jim Avery
On 8 January 2011 12:45, moses neah mssn...@yahoo.com wrote:
 Hi all,
 Have anybody used nagios checher addon for firefox with nagiosxi? I try it
 with nagios 2.9 and it work fine. But I get error (1error) when I use it
 with nagiosxi. Can anybody point out what to do?
 Thanks so much,


It's been a while since I last used the Nagios Checker addon for Firefox.

I think it simply runs the relevant .cgi and scrapes the status from
what it finds there.  In my experience, this can work well, but if you
do something which alters the web page output in a way that Nagios
Checker doesn't understand then it breaks it in one way or another.

In my case, I found it broke after I implemented notes_url and
action_url directives in service definitions (I can't remember which
of those two actually broke the Firefox addon).

I have no experience with Nagios XI so I don't know how the cgi
differs from Nagios core (if at all).  If you still have your Nagios
2.9 system, you might find what the problem is by comparing the html
output of that with your XI system.

hth,

Jim

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
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] Check scheduling mechanism

2011-01-13 Thread Jim Avery
On 11 January 2011 02:09, Yu Watanabe yu.watan...@jp.fujitsu.com wrote:
 Hello all.

 I'd like to confirm if the check scheduling mechanism had changed
 between version 2.x and 3.x.

 I have tried to check the documentation for 3.x but it seems that its
 still under construction.

 If it hadn't changed from version 2.x I want to refer the previous version .
 Had it changed drastically?

 Thanks!
 Yu Watanabe


Have you checked the version history?

http://www.nagios.org/projects/nagioscore/history/core-3x

I don't know why but I can never find the version history page very
easily so I bookmarked it.

hth,

Jim

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
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] Postqueue monitoring

2011-01-13 Thread Jim Avery
On 13 January 2011 14:29, Luc MAIGNAN luc.maig...@winxpert.com wrote:
 Hi,

 I'm looking for a postqueue (postfix) plugin that alerts me if there are
 blocked messages in a postfix queue.

 I didn't find any WORKABLE plugin.

 Does anyone know a good one ?

Have you tried searching for 'postfix' at http://exchange.nagios.org/ ?

There are few plugins there - if you find any of them are good or bad,
please post a rating to help anyone else looking for something
similar.

I see one of them has good ratings ..

http://exchange.nagios.org/directory/Plugins/Email-and-Groupware/Postfix/check_postfix_queue/details

hth,

Jim

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
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] Nagios checker configuration

2011-01-13 Thread Lincoln Hobley

___

Note: This e-mail is subject to the disclaimer contained at the bottom of this 
message.
___


Hi,

Have been using the list for a while now  thought its time to contribute..  So 
being my 1st response, please be gentle.;-)

I use Nagios checker with Firefox, connecting to XI.  I just  configure it to 
connect to the Nagios Core component of XI http://nagiosXI_host/nagios, 
providing the relevant user details.   for me works just fine. 

Here's how I did it:

So when you edit the Nagios Systems in the checker config (R click on the 
Nagios Checker notification area in FF,  select settings),  on the Nagios 
Systems tab,  r click the Nagios system -- edit)

In the general tab - just a friendly name..

In the Nagios Web interface tab - enter the url of the XI host: 
http://nagiosXI_host/nagios.  Also select the radio button Standalone 
Nagios,   add the user detail you use to connect that has access to the 
hosts/services you're interested in.

In the status script URL tab Tick the box Set URL manually copy the Nagios 
URL from previous,   append: /cgi-bin/status.cgi which will give you the 
complete URL http://nagiosXI_host/nagios/cgi-bin/status.cgi

Left the other tab untouched

Then OK all the way out..

Cant comment on the notes_url or action_url other than I haven't seen that 
behaviour in the Nagios Core instances we have deployed.

Hope its helpful..

Regards

Lincoln

 

-Original Message-
From: Jim Avery [mailto:j...@jimavery.me.uk] 
Sent: Friday, 14 January 2011 10:43 AM
To: Nagios Users List
Subject: Re: [Nagios-users] Nagios checker configuration

On 8 January 2011 12:45, moses neah mssn...@yahoo.com wrote:
 Hi all,
 Have anybody used nagios checher addon for firefox with nagiosxi? I try it
 with nagios 2.9 and it work fine. But I get error (1error) when I use it
 with nagiosxi. Can anybody point out what to do?
 Thanks so much,


It's been a while since I last used the Nagios Checker addon for Firefox.

I think it simply runs the relevant .cgi and scrapes the status from
what it finds there.  In my experience, this can work well, but if you
do something which alters the web page output in a way that Nagios
Checker doesn't understand then it breaks it in one way or another.

In my case, I found it broke after I implemented notes_url and
action_url directives in service definitions (I can't remember which
of those two actually broke the Firefox addon).

I have no experience with Nagios XI so I don't know how the cgi
differs from Nagios core (if at all).  If you still have your Nagios
2.9 system, you might find what the problem is by comparing the html
output of that with your XI system.

hth,

Jim


___

The information transmitted in this message and its attachments (if any) is 
intended 
only for the person or entity to which it is addressed.
The message may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of, or taking of any action in 
reliance 
upon this information, by persons or entities other than the intended recipient 
is 
prohibited.

If you have received this in error, please contact the sender and delete this 
e-mail 
and associated material from any computer.

The intended recipient of this e-mail may only use, reproduce, disclose or 
distribute 
the information contained in this e-mail and any attached files, with the 
permission 
of the sender.

This message has been scanned for viruses.
___

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
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