Re: [Nagios-users] [CHECK_DIG] PTR record check not working

2011-07-25 Thread Jonathan Angliss
On 07/25/11 20:19, Yueh-Hung Liu wrote:
> try this:
>
> check_dig -H "8.8.8.8" -l "-x 74.203.101.150" -T "PTR" -v
>
> you have to pass the "-x" option to the dig utility.

Interesting, I hadn't considered stringing together this, however 
check_dig returns a warning, which is because it's looking for:

   "-x 74.203.101.150"

as the response.  I guess if you tied it together with -a "somestring" 
you can make this setup work for you.  For example:

./check_dig -H 8.8.8.8 -l "-x 74.203.101.150" -T PTR \
   -a "akc.org" -v

That returns OK, but without the -a, it returns a warning.

-- 
Jonathan Angliss

>
>
>
>
>
> On Mon, Jul 25, 2011 at 9:37 PM, Chris C  wrote:
>> Hi guys,
>> I am having trouble getting a PTR record check working with check_dig
>>
>> check_dig fails
>> check_dig -H "8.8.8.8" -l "74.203.101.150" -T "PTR" -v
>> /usr/bin/dig @8.8.8.8 -p 53 74.203.101.150 -t PTR
>> Looking for: '74.203.101.150'
>> DNS CRITICAL - 0.169 seconds response time (No ANSWER SECTION
>> found)|time=0.169224s;;;0.00
>>
>>
>> dig works correctly
>> dig @8.8.8.8 -x 74.203.101.150
>>
>> ;<<>>  DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5<<>>  @8.8.8.8 -x 74.203.101.150
>> ; (1 server found)
>> ;; global options:  printcmd
>> ;; Got answer:
>> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27441
>> ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
>>
>> ;; QUESTION SECTION:
>> ;150.101.203.74.in-addr.arpa.   IN  PTR
>>
>> ;; ANSWER SECTION:
>> 150.101.203.74.in-addr.arpa. 83707 IN   CNAME   
>> 150.128-255.101.203.74.in-addr.arpa.
>> 150.128-255.101.203.74.in-addr.arpa. 907 IN PTR akc.org.
>> 150.128-255.101.203.74.in-addr.arpa. 907 IN PTR www.akc.org.
>>
>> ;; Query time: 15 msec
>> ;; SERVER: 8.8.8.8#53(8.8.8.8)
>> ;; WHEN: Mon Jul 25 09:07:21 2011
>> ;; MSG SIZE  rcvd: 110
>>
>>
>> I can't get check_dig to work with any PTR record using any nameserver.
>>
>> Anyone have any idea what I'm doing wrong?
>>
>> Thanks,
>> /Chris C
>>
>> --
>> Storage Efficiency Calculator
>> This modeling tool is based on patent-pending intellectual property that
>> has been used successfully in hundreds of IBM storage optimization engage-
>> ments, worldwide.  Store less, Store more with what you own, Move data to
>> the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
>> ___
>> 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
>>
>
> --
> Magic Quadrant for Content-Aware Data Loss Prevention
> Research study explores the data loss prevention market. Includes in-depth
> analysis on the changes within the DLP market, and the criteria used to
> evaluate the strengths and weaknesses of these DLP solutions.
> http://www.accelacomm.com/jaw/sfnl/114/51385063/
> ___
> 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
>



--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
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_DIG] PTR record check not working

2011-07-25 Thread Yueh-Hung Liu
try this:

check_dig -H "8.8.8.8" -l "-x 74.203.101.150" -T "PTR" -v

you have to pass the "-x" option to the dig utility.





On Mon, Jul 25, 2011 at 9:37 PM, Chris C  wrote:
> Hi guys,
> I am having trouble getting a PTR record check working with check_dig
>
> check_dig fails
> check_dig -H "8.8.8.8" -l "74.203.101.150" -T "PTR" -v
> /usr/bin/dig @8.8.8.8 -p 53 74.203.101.150 -t PTR
> Looking for: '74.203.101.150'
> DNS CRITICAL - 0.169 seconds response time (No ANSWER SECTION
> found)|time=0.169224s;;;0.00
>
>
> dig works correctly
> dig @8.8.8.8 -x 74.203.101.150
>
> ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> @8.8.8.8 -x 74.203.101.150
> ; (1 server found)
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27441
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;150.101.203.74.in-addr.arpa.   IN      PTR
>
> ;; ANSWER SECTION:
> 150.101.203.74.in-addr.arpa. 83707 IN   CNAME   
> 150.128-255.101.203.74.in-addr.arpa.
> 150.128-255.101.203.74.in-addr.arpa. 907 IN PTR akc.org.
> 150.128-255.101.203.74.in-addr.arpa. 907 IN PTR www.akc.org.
>
> ;; Query time: 15 msec
> ;; SERVER: 8.8.8.8#53(8.8.8.8)
> ;; WHEN: Mon Jul 25 09:07:21 2011
> ;; MSG SIZE  rcvd: 110
>
>
> I can't get check_dig to work with any PTR record using any nameserver.
>
> Anyone have any idea what I'm doing wrong?
>
> Thanks,
> /Chris C
>
> --
> Storage Efficiency Calculator
> This modeling tool is based on patent-pending intellectual property that
> has been used successfully in hundreds of IBM storage optimization engage-
> ments, worldwide.  Store less, Store more with what you own, Move data to
> the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
> ___
> 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
>

--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
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_DIG] PTR record check not working

2011-07-25 Thread Jonathan Angliss
On 07/25/11 08:37, Chris C wrote:
> Hi guys,
> I am having trouble getting a PTR record check working with check_dig
>
> check_dig fails
> check_dig -H "8.8.8.8" -l "74.203.101.150" -T "PTR" -v
> /usr/bin/dig @8.8.8.8 -p 53 74.203.101.150 -t PTR
> Looking for: '74.203.101.150'
> DNS CRITICAL - 0.169 seconds response time (No ANSWER SECTION
> found)|time=0.169224s;;;0.00
>
>
> dig works correctly
> dig @8.8.8.8 -x 74.203.101.150
>

These are 2 different requests.  The -x command sent to dig does an 
automatic reversal for the PTR record.  Notice in your answer section 
below the actual question.


> ;<<>>  DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5<<>>  @8.8.8.8 -x 74.203.101.150
> ; (1 server found)
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27441
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;150.101.203.74.in-addr.arpa. IN  PTR

This question here, see the IP reversed, and the syntax is different. 
To make check_dig do the same, you have to do some work...

./check_dig  -H 8.8.8.8 -l 150.101.203.74.in-addr.arpa. -T PTR -v
/usr/bin/dig @8.8.8.8 -p 53 150.101.203.74.in-addr.arpa. -t PTR
Looking for: '150.101.203.74.in-addr.arpa.'
;; ANSWER SECTION:
150.101.203.74.in-addr.arpa. 62035 IN   CNAME 
150.128-255.101.203.74.in-addr.arpa.
DNS OK - 0.044 seconds response time (150.101.203.74.in-addr.arpa. 62035 
IN CNAME 150.128-255.101.203.74.in-addr.arpa.)|time=0.043945s;;;0.00

Works just fine, if you have the syntax correct.

According to the docs, you're supposed to be able to pass arguments 
straight to dig using the -A arg on check_dig, however because check_dig 
executes "-t A" it doesn't allow you to pass certain syntax, so:

./check_dig -H 8.8.8.8 -l 74.203.101.150 -A "-x"

doesn't work, because the real syntax is:

/usr/bin/dig @8.8.8.8 -p 53 74.203.101.150 -t A -x

Long story short, do proper PTR queries, which isn't what you were doing.

-- 
Jonathan Angliss


--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
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] [CHECK_DIG] PTR record check not working

2011-07-25 Thread Chris C
Hi guys,
I am having trouble getting a PTR record check working with check_dig

check_dig fails
check_dig -H "8.8.8.8" -l "74.203.101.150" -T "PTR" -v
/usr/bin/dig @8.8.8.8 -p 53 74.203.101.150 -t PTR
Looking for: '74.203.101.150'
DNS CRITICAL - 0.169 seconds response time (No ANSWER SECTION
found)|time=0.169224s;;;0.00


dig works correctly
dig @8.8.8.8 -x 74.203.101.150

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> @8.8.8.8 -x 74.203.101.150
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27441
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;150.101.203.74.in-addr.arpa.   IN  PTR

;; ANSWER SECTION:
150.101.203.74.in-addr.arpa. 83707 IN   CNAME   
150.128-255.101.203.74.in-addr.arpa.
150.128-255.101.203.74.in-addr.arpa. 907 IN PTR akc.org.
150.128-255.101.203.74.in-addr.arpa. 907 IN PTR www.akc.org.

;; Query time: 15 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Mon Jul 25 09:07:21 2011
;; MSG SIZE  rcvd: 110


I can't get check_dig to work with any PTR record using any nameserver.

Anyone have any idea what I'm doing wrong?

Thanks,
/Chris C

--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
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] error: (Return code of 127 is out of bounds - plugin may be missing)

2011-07-25 Thread عبد الحميد
$user1$ :  /usr/lib/nagios/plugins

2011/7/25 LEVEAU Stan IMAP 

> **
> what is the path of this variable? : $USER1$
>
> regards
>
> Le 25/07/2011 14:42, عبد الحميد  a écrit :
>
>  **commandes.cfg
>
> define command{
>   command_name check_win_load
>   command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ -C $ARG1$ 
> $ARG2$ -T $ARG3$ -w $ARG4$ -c $ARG5$
> }
>
>  ***server-wind.cfg***
>
> # Create a service for monitoring Windows CPU load with SNMP
> define service{
> use generic-service ;Use generic-service 
> template
> service_description chk-win-load
> check_command   check_win_load!public!--v2c!stand!85!95
>
> }
>
>
--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/___
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] error: (Return code of 127 is out of bounds - plugin may be missing)

2011-07-25 Thread LEVEAU Stan IMAP

what is the path of this variable? : $USER1$

regards

Le 25/07/2011 14:42, عبد الحميد  a écrit :

**commandes.cfg
define command{
command_name check_win_load
command_line $USER1$/check_snmp_load.pl    
-H $HOSTADDRESS$ -C $ARG1$ $ARG2$ -T $ARG3$ -w $ARG4$ -c $ARG5$
}
***server-wind.cfg***
# Create a service for monitoring Windows CPU load with SNMP
define service{
 use generic-service ;Use generic-service 
template
 service_description chk-win-load
 check_command   check_win_load!public!--v2c!stand!85!95

 }
--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/___
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] error: (Return code of 127 is out of bounds - plugin may be missing)

2011-07-25 Thread Jonathan Aquilina

  
  
my plugins are in /usr/lib64/nagios/plugins

On 25/07/2011 14:33, Martin Hugo wrote:

  
  
  
  
  
Is
that path correct for your installation?  I installed on
CentOS 5.x from source and my path is different >
/usr/local/Nagios/libexec.
 
The
path will vary depending on your OS and how you installed
the app and configured the plugins.
 
Martin
T. Hugo
Network
Administrator
Hilliard
City Schools
614-921-7102
(Ph)
614-771-7243
(Fax)
Think before you
print
 
 
 

  From:
  عبد الحميد [mailto:serajddin.mahm...@gmail.com]
  
  Sent: Monday, July 25, 2011 8:20 AM
  To: Nagios Users List
  Subject: Re: [Nagios-users] error: (Return code of
  127 is out of bounds - plugin may be missing)

 

  i'v installed snpm_plugins and move them
to the directory :  /usr/lib/nagios/plugins
  
 
  
  



  
  
i've also created commands

  

  
  
  
  
  --
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
  
  
  
  ___
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


  

--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/___
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] error: (Return code of 127 is out of bounds - plugin may be missing)

2011-07-25 Thread Martin Hugo
Is that path correct for your installation?  I installed on CentOS 5.x from 
source and my path is different > /usr/local/Nagios/libexec.

The path will vary depending on your OS and how you installed the app and 
configured the plugins.

Martin T. Hugo
Network Administrator
Hilliard City Schools
614-921-7102 (Ph)
614-771-7243 (Fax)
[Think before you print.]Think before you print



From: عبد الحميد [mailto:serajddin.mahm...@gmail.com]
Sent: Monday, July 25, 2011 8:20 AM
To: Nagios Users List
Subject: Re: [Nagios-users] error: (Return code of 127 is out of bounds - 
plugin may be missing)

i'v installed snpm_plugins and move them to the directory :  
/usr/lib/nagios/plugins



i've also created commands
<>--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/___
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] error: (Return code of 127 is out of bounds - plugin may be missing)

2011-07-25 Thread LEVEAU Stan IMAP

you have an example of your commnds please


Le 25/07/2011 14:19, عبد الحميد  a écrit :
i'v installed snpm_plugins and move them to the directory : 
/usr/lib/nagios/plugins




i've also created commands


--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/


___
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
--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/___
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] error: (Return code of 127 is out of bounds - plugin may be missing)

2011-07-25 Thread عبد الحميد
i'v installed snpm_plugins and move them to the directory :
/usr/lib/nagios/plugins


i've also created commands
--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/___
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] check http port 80 warning on a site that actually exists.

2011-07-25 Thread Jonathan Aquilina
I am workign with a site which i have being monitored by nagios, and for 
some reason when check_http runs it gets a 404, but if you go to the 
domain the page exists and the site exists.

Would this be a false positive, and if so how can i fix it.

Also another interesting matter is that when i try and run the script to 
check http from command line it times out even after increasing the time 
out timefrom the default 10 seconds to 20 for instance. Any ideas would 
be greatly appreciated.

--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
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_procs

2011-07-25 Thread Jonathan Aquilina
Thanks Jim, ended up finding what i needed and managed with check_snmp.

Very hard to find the various types of ranges you can specify wiht 
nagios but i ended up finding them.

On 25/07/2011 14:02, Jim Avery wrote:
> On 25 July 2011 10:34, Jonathan Aquilina  wrote:
>> is it possible to specify an ip with this check?
>
> No, that plugin is only designed to run locally.
>
>
> You should be able to run it on the remote machine if you have nrpe
> installed though.
>
> See the NRPE manual which you will find here:
>
> http://library.nagios.com/library/products/nagioscore/manuals/
>
>
> Also/instead, take a look at check_snmp_process which you will find at
> http://nagios.manubulon.com/ .  This obviously requires that you have
> the monitored system configured to allow SNMP.
>
> If it's a Windows server you want to monitor then take a look at
> NSClient++ http://www.nsclient.org/nscp/
>
> I hope that helps!
>
> --
> Storage Efficiency Calculator
> This modeling tool is based on patent-pending intellectual property that
> has been used successfully in hundreds of IBM storage optimization engage-
> ments, worldwide.  Store less, Store more with what you own, Move data to
> the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
> ___
> 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


--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
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_procs

2011-07-25 Thread Jim Avery
On 25 July 2011 10:34, Jonathan Aquilina  wrote:
> is it possible to specify an ip with this check?


No, that plugin is only designed to run locally.


You should be able to run it on the remote machine if you have nrpe
installed though.

See the NRPE manual which you will find here:

http://library.nagios.com/library/products/nagioscore/manuals/


Also/instead, take a look at check_snmp_process which you will find at
http://nagios.manubulon.com/ .  This obviously requires that you have
the monitored system configured to allow SNMP.

If it's a Windows server you want to monitor then take a look at
NSClient++ http://www.nsclient.org/nscp/

I hope that helps!

--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
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] error: (Return code of 127 is out of bounds - plugin may be missing)

2011-07-25 Thread Martin Hugo
Typically, one can see that error if the actual plugin is missing from your 
plugins folder (path will vary depending on distro and source).  Check that the 
actual plugins are there.  Also, check that the command functions from the 
command line.  Be sure to test it as the nagios user, if it works as root but 
not nagios then it's likely permissions.



If it doesn't work from command line and the plugins are there, check your 
syntax and, if neccessary recompile your plugins.



Martin T. Hugo
Network Administrator
Hilliard City Schools
Tel: 614-921-7102

From: عبد الحميد [serajddin.mahm...@gmail.com]
Sent: Monday, July 25, 2011 7:00 AM
To: Nagios Users List
Subject: Re: [Nagios-users] error: (Return code of 127 is out of bounds - 
plugin may be missing)

i've used this guid to monitor with snmp : 
http://wiki.monitoring-fr.org/nagios/mise-en-place-complete-nagios-sur-rhel-5.4/supervision-nagios-snmp:
--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/___
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] error: (Return code of 127 is out of bounds - plugin may be missing)

2011-07-25 Thread LEVEAU Stan IMAP

Hi

Have you installed the plugins?
Have you created the commands?

Regards

Le 25/07/2011 12:49, عبد الحميد  a écrit :
i'm using this plugins  for SNMP :{ check_snmp_boostedge.pl 
 ; check_snmp_cpfw.pl 
 ; check_snmp_css.pl 
 ; check_snmp_env.pl 

check_snmp_int.pl    ;check_snmp_linkproof_nhr.pl  
  ;check_snmp_load.pl    
;check_snmp_mem.pl    ;check_snmp_nsbox.pl  
check_snmp_process.pl    ;check_snmp_storage.pl  
  ;check_snmp_vrrp.pl    
;check_snmp_win.pl  }
for distridution i'm using : FAN- 2.1 (Centos)
NB: before using SNMP i'd configurated machines and it worked



--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/


___
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
--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/___
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] error: (Return code of 127 is out of bounds - plugin may be missing)

2011-07-25 Thread عبد الحميد
i've used this guid to monitor with snmp :
http://wiki.monitoring-fr.org/nagios/mise-en-place-complete-nagios-sur-rhel-5.4/supervision-nagios-snmp
:
--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/___
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] error: (Return code of 127 is out of bounds - plugin may be missing)

2011-07-25 Thread عبد الحميد
i'm using this plugins  for SNMP :{ check_snmp_boostedge.pl ;
check_snmp_cpfw.pl ; check_snmp_css.pl ; check_snmp_env.pl

check_snmp_int.pl ; check_snmp_linkproof_nhr.pl ; check_snmp_load.pl ;
check_snmp_mem.pl ; check_snmp_nsbox.plcheck_snmp_process.pl ;
check_snmp_storage.pl ; check_snmp_vrrp.pl ; check_snmp_win.pl}

for distridution i'm using : FAN- 2.1 (Centos)

NB: before using SNMP i'd configurated machines and it worked
--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/___
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] error: (Return code of 127 is out of bounds - plugin may be missing)

2011-07-25 Thread Martin Hugo
What plugin (check) are you attempting to use?  What distro (Linux ver) are you 
using?  Did you install from RPM or source?



These answers will help people point you in the right direction.



Martin T. Hugo
Network Administrator
Hilliard City Schools
Tel: 614-921-7102

From: عبد الحميد [serajddin.mahm...@gmail.com]
Sent: Monday, July 25, 2011 5:16 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] error: (Return code of 127 is out of bounds - plugin 
may be missing)

Hi ,

i've configured a windows machine and  a router to monitor with SNPM and 
localhost

But i've this error : (Return code of 127 is out of bounds - plugin may be 
missing)   when i open the Web Interface Monitoring in my browser


any help?
--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/___
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] check_procs

2011-07-25 Thread Jonathan Aquilina
is it possible to specify an ip with this check?

--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
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] error: (Return code of 127 is out of bounds - plugin may be missing)

2011-07-25 Thread عبد الحميد
Hi ,

i've configured a windows machine and  a router to monitor with SNPM and
localhost

But i've this error : (Return code of 127 is out of bounds - plugin may be
missing)   when i open the Web Interface Monitoring in my browser


any help?
--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/___
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] Defining command and service manually in Nagios XI

2011-07-25 Thread Michael Friedrich

Kumar, Ashish wrote:


  I amthinking to define a new command and new service in
Nagios XI , I have manually edited the configuration file in
/usr/local/etc/nagios.cfg  but *its not showing any that command
and service in the run Monitoring Wizard*



The commands are usually defined in /usr/local/nagios/etc/commands.cfg 
and not nagios.cfg


does not matter where you define it, just make sure to include those 
files. since this is a nagiosix question, you might refer to 
support.nagios.com instead ...




--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/


___
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



--
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email:  michael.friedr...@univie.ac.at
phone:  +43 1 4277 14359
mobile: +43 664 60277 14359
fax:+43 1 4277 14338
web:http://www.univie.ac.at/zid
http://www.aco.net

Icinga Core&  IDOUtils Developer
http://www.icinga.org

--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/___
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] Defining command and service manually in Nagios XI

2011-07-25 Thread Kumar, Ashish
>
>   I am thinking to define a new command and new service in Nagios
> XI , I have manually edited the configuration file in
> /usr/local/etc/nagios.cfg  but *its not showing any that command and
> service in the run Monitoring Wizard*
>


The commands are usually defined in /usr/local/nagios/etc/commands.cfg and
not nagios.cfg
--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/___
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