Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring

2013-05-14 Thread Joerg Linge
Never test as root!

Joerg

Am 14.05.2013 um 10:58 schrieb Thilakraj.Shanmugam 
:

> Hi Deborah,  Thanks for the response..  please find the details below.
>  
>  
> [root@abc libexec]# pwd
> /usr/local/nagios/libexec
> [root@abc libexec]# ./check_iptables.sh   
> <-  Executing manually script
> + IPT=/sbin/iptables
> + GREP=/bin/grep
> + AWK=/bin/awk
> + EXPR=/usr/bin/expr
> + WC=/usr/bin/wc
> + A=/usr/bin/sudo
> + E_SUCCESS=0
> + E_CRITICAL=2
> + E_UNKNOWN=3
> ++ /usr/bin/sudo /sbin/iptables -nvL
> ++ /bin/grep Chain
> ++ /bin/awk '{ print $2 }'
> ++ /bin/grep Cid
> ++ /usr/bin/wc -l
> + CHAINS=5
> + '[' 5 -ne 0 ']'
> + echo 'Firewall is running!'
> Firewall is running!
> + exit 0  
>  <--  it shows firewall 
> running   ( correct output )
> [root@abc libexec]#
>  
>  
> Client - NRPE config file
>  
> [root@abc libexec]# cat /usr/local/nagios/etc/nrpe.cfg |grep -i iptable
> command[check_iptables]=/usr/local/nagios/libexec/check_iptables.sh
> [root@abc libexec]#
>  
>  
> [root@abc libexec]# ./check_nrpe -H localhost -c check_iptables
> Firewall is not running   
>  <-  executing via 
> check_nrpe   (  wrong output )
> [root@abc libexec]#
>  
>  
> NRPE Logs
> -
>  
> May 14 18:52:28 abc nrpe[31158]: Added 
> command[check_Partion_db]=/usr/local/nagios/libexec/check_disk -w 15% -c 5% 
> -p /db
> May 14 18:52:28 abc nrpe[31158]: Added 
> command[check_Partion_app]=/usr/local/nagios/libexec/check_disk -w 15% -c 5% 
> -p /app
> May 14 18:52:28 abc nrpe[31158]: Added 
> command[check_iptables]=/usr/local/nagios/libexec/check_iptables.sh
> May 14 18:52:28 abc nrpe[31158]: INFO: SSL/TLS initialized. All network 
> traffic will be encrypted.
> May 14 18:52:28 abc nrpe[31158]: Handling the connection...
> May 14 18:52:28 abc nrpe[31158]: Host is asking for command 'check_iptables' 
> to be run...
> May 14 18:52:28 abc nrpe[31158]: Running command: 
> /usr/local/nagios/libexec/check_iptables.sh
> May 14 18:52:28 abc nrpe[31158]: Command completed with return code 2 and 
> output: Firewall is not running
> May 14 18:52:28 abc nrpe[31158]: Return Code: 2, Output: Firewall is not 
> running
>  
>  
> Kind Regards,
> Thilak
>  
>  
> From: Deborah Martin [mailto:deborah.mar...@kognitio.com] 
> Sent: Tuesday, 14 May 2013 6:44 PM
> To: Nagios Users List
> Subject: Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring
>  
> Hi,
> What is the wrong output being returned ? This might give us all a clue as to 
> the cause of the problem.
> When you run the check manually, are you doing this as the same user that 
> check_nrpe will use ?
>  
> Regards,
> Deborah
>  
>  
>  
> From: Thilakraj.Shanmugam [mailto:thilakraj.shanmu...@canberra.edu.au] 
> Sent: 14 May 2013 08:43
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Nagios Plugin for IPTABLES Monitoring
>  
> Greetings!
>  
> Could someone send me nagios plugin which is tested and works well for 
> monitoring IPTABLES in Linux.
>  
> I have tested below script but it is not returning correct output to nagios 
> server.
>  
> If I execute script manually, it shows correct output…
>  
> But if I execute via  ./check_nrpe – H localhost –c check_iptables,  it shows 
> wrong output.
>  
>  
>  
> Below is my plugin
> --
>  
> #!/bin/bash
> set -x
>  
> IPT='/sbin/iptables'
> GREP='/bin/grep'
> AWK='/bin/awk'
> EXPR='/usr/bin/expr'
> WC='/usr/bin/wc'
> A='/usr/bin/sudo'
>  
> E_SUCCESS="0"
> E_CRITICAL="2"
> E_UNKNOWN="3"
>  
> CHAINS=`$A $IPT -nvL | $GREP 'Chain' | $AWK '{ print $2 }'| $GREP Cid | $WC 
> -l`
>  
> if [ $CHAINS -ne 0 ] ; then
> echo "Firewall is running!"
> exit ${E_SUCCESS}
>  
> elif [ $CHAINS -eq 0 ] ; then
> echo "Firewall is not running"
> exit ${E_CRITICAL}
> fi
>  
> 
> This e-mail and any files transmitted with it are strictly confidential and 
> intended solely for the use of the individual or entity to whom they are 
> addressed. If you are not the intended recipient, please delete this e-mail 
> immediately. Any unauthorised distribution or copying is strictly prohibited.
> 
> Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, 
> we cannot guarantee that any e-mail or attachment is free from computer 
> viruses and you are strongly advised to undertake your own anti-virus 
> precautions. Kognitio grants no warranties regarding performance, use or 
> quality of any e-mail or attachment and undertakes no liability for loss or 
> damage, howsoever caused.
> 
> -

Re: [Nagios-users] Monitoring Oracle tablespace created with autoextension option

2013-01-21 Thread Joerg Linge

Am 21.01.2013 um 07:36 schrieb Yu Watanabe :

> Hello all.
> 
> I would like to ask for help to people in this mailinglist.
> 
> We are trying to monitor Oracle Database which is installed on  the Windows 
> Server.
> * Sorry that we cannot reveal the details of the versions at this moment.
> 
> Nagios (v 3.0.6) is installed in the Linux box (RHEL 5.2).
> 
> I am considerding to monitor the Oracle Table space but hesitating which 
> plugin to use. The table is created with the autoextension option.
> 
> We found "check_oracle_health" but is this the most recommended plugin 
> to monitor Oracle installed on the Windows Server? 

yes it is (IMHO)

Joerg
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
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 plugin check_ftp default threshold limits

2012-11-29 Thread Joerg Linge

Am 27.11.2012 um 11:29 schrieb anil_kum...@mcafee.com:

> Hi Guys
>  
> Can you guys let us know what is the default Critical(-c) and warning(-w) 
> response time threshold limits set for the below plugin :
>  

https://github.com/nagios-plugins/nagios-plugins/blob/master/plugins/check_tcp.c#L61

IMHO the default is 0 so you have to define -w and -c to check against these 
thresholds

Per default the state depends in the ftp server response and not on response 
time

Joerg


--
Keep yourself connected to Go Parallel: 
VERIFY Test and improve your parallel project with help from experts 
and peers. http://goparallel.sourceforge.net
___
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_http status 503 gives 200 OK

2012-11-20 Thread Joerg Linge
again

check_http -H  -u http://www.testsomething.com

is a proxy request. NOT an valid HTTP request

Joerg

Am 20.11.2012 um 08:35 schrieb Jaap van Arragon :

> Herewith
> 
> define service{
>use generic-service_24x7
>host_name   www1
>service_description check http 
>check_command   check_http! -u
> http://www.testsomething.com -w 5 -c 8
> }
> 
> This gives me a 
> 
> HTTP OK: HTTP/1.1 200 OK - 414 bytes in 0.002 second response time 
> 
> Back.
> 
> 
> But in the browser the check gives me a
> 
> 503 statuscode back.
> 
> The Nagios check_http script isn't detecting this 503 error message.
> 
> Regards,
> 
> Jaap
> 
> 
> On 11/20/12 8:20 AM, "Joerg Linge"  wrote:
> 
>> Please provide a complete example!
>> check_http works correct since years
>> 
>> Joerg
>> 
>> Am 19.11.2012 um 23:00 schrieb "Jaap van Arragon" :
>> 
>>> Hey Joerg,
>>> 
>>> The 4xx and 3xx error are handeld correctly but not the 5xx error ;-)
>>> 
>>> any ideas?
>>> 
>>> Regards,
>>> Jaap 
>>> From: Joerg Linge [mailto:pitchf...@ederdrom.de]
>>> To: Nagios Users List [mailto:nagios-users@lists.sourceforge.net]
>>> Sent: Mon, 19 Nov 2012 18:07:52 +0100
>>> Subject: Re: [Nagios-users] Check_http status 503 gives 200 OK
>>> 
>>> 
>>> Your example
>>> 
>>> /usr/local/nagios/libexec/check_http -I  -u http:// -w1 -c2
>>> 
>>> is a proxy request!
>>> 
>>> -I = ip address to connect to
>>> -H = HTTP/1.1 Host Header
>>> -u = relative url to fetch without protocol infos like http://
>>> 
>>> some examples
>>> 
>>> check nagios.org
>>> 
>>> OMD[gearman]:~/lib/nagios/plugins$ ./check_http -H nagios.org
>>> HTTP OK: HTTP/1.1 200 OK - 54919 bytes in 1.703 second response time
>>> |time=1.703114s;;;0.00 size=54919B;;;0
>>> 
>>> 
>>> OMD[gearman]:~/lib/nagios/plugins$ host nagios.org
>>> nagios.org has address 96.126.126.159
>>> 
>>> ok, nagios .org runns on 96.126.126.159
>>> lets check a non existing page. we got 404!
>>> 
>>> OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H
>>> nagios.org -u /404
>>> HTTP WARNING: HTTP/1.1 404 Not Found - 17141 bytes in 0.536 second response
>>> time |time=0.536015s;;;0.00 size=17141B;;;0
>>> 
>>> lets ask nagios.org for icinga.org ;) and we will get a 302
>>> 
>>> OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H
>>> icinga.org -u /
>>> HTTP OK: HTTP/1.1 302 Found - 242 bytes in 1.837 second response time
>>> |time=1.837209s;;;0.00 size=242B;;;0
>>> 
>>> Joerg
>>> 
>>> Am 19.11.2012 um 17:14 schrieb Jaap van Arragon :
>>> 
>>>> Thank you for your reply.
>>>> 
>>>> I¹ve tried the check without the ip adress option but it makes no
>>>> difference.
>>>> 
>>>> Any other ideas?
>>>> 
>>>> Thanks.
>>>> 
>>>> 
>>>> On 11/19/12 2:29 PM, "Ryan Edwards"  wrote:
>>>> 
>>>>> You said u are using it like so:
>>>>> 
>>>>> Check:
>>>>> /usr/local/nagios/libexec/check_http -I  -u http:// -w1
>>>>> -c2
>>>>> 
>>>>> Maybe drop the IP address? I dunno, maybe cuz you have both IP and the url
>>>>> its causing problems. Maybe its replying on the IP, but not on the URL 
>>>>> your
>>>>> providing. You prob only need one or the other if im not mistaken
>>>>> 
>>>>> Cheers!
>>>>> 
>>>>> 
>>>>> On Mon, Nov 19, 2012 at 7:14 AM, Jaap van Arragon
>>>>>  wrote:
>>>>>> Hello,
>>>>>> 
>>>>>> Does anyone know why it gives me a 200 back?
>>>>>> 
>>>>>> If you need more info, I will gladly provide it ;-)
>>>>>> 
>>>>>> Thank you.
>>>>>> 
>>>>>> Regards,
>>>>>> 
>>>>>> Jaap
>>>>>> 
>>>>>> 
>>>>>> On 11/16/12 11:54 AM, "Jaap van Arragon"  
>>>>>> wrote:
>>>&

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-19 Thread Joerg Linge
Please provide a complete example!
check_http works correct since years

Joerg

Am 19.11.2012 um 23:00 schrieb "Jaap van Arragon" :

> Hey Joerg,
> 
> The 4xx and 3xx error are handeld correctly but not the 5xx error ;-)
> 
> any ideas?
> 
> Regards,
> Jaap 
> From: Joerg Linge [mailto:pitchf...@ederdrom.de]
> To: Nagios Users List [mailto:nagios-users@lists.sourceforge.net]
> Sent: Mon, 19 Nov 2012 18:07:52 +0100
> Subject: Re: [Nagios-users] Check_http status 503 gives 200 OK
> 
> 
> Your example
> 
> /usr/local/nagios/libexec/check_http -I  -u http:// -w1 -c2
> 
> is a proxy request!
> 
> -I = ip address to connect to
> -H = HTTP/1.1 Host Header
> -u = relative url to fetch without protocol infos like http://
> 
> some examples
> 
> check nagios.org
> 
> OMD[gearman]:~/lib/nagios/plugins$ ./check_http -H nagios.org
> HTTP OK: HTTP/1.1 200 OK - 54919 bytes in 1.703 second response time 
> |time=1.703114s;;;0.00 size=54919B;;;0
> 
> 
> OMD[gearman]:~/lib/nagios/plugins$ host nagios.org
> nagios.org has address 96.126.126.159
> 
> ok, nagios .org runns on 96.126.126.159
> lets check a non existing page. we got 404!
> 
> OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H 
> nagios.org -u /404
> HTTP WARNING: HTTP/1.1 404 Not Found - 17141 bytes in 0.536 second response 
> time |time=0.536015s;;;0.00 size=17141B;;;0
> 
> lets ask nagios.org for icinga.org ;) and we will get a 302
> 
> OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H 
> icinga.org -u /
> HTTP OK: HTTP/1.1 302 Found - 242 bytes in 1.837 second response time 
> |time=1.837209s;;;0.00 size=242B;;;0
> 
> Joerg
> 
> Am 19.11.2012 um 17:14 schrieb Jaap van Arragon :
> 
> > Thank you for your reply.
> > 
> > I’ve tried the check without the ip adress option but it makes no 
> > difference.
> > 
> > Any other ideas?
> > 
> > Thanks.
> > 
> > 
> > On 11/19/12 2:29 PM, "Ryan Edwards"  wrote:
> > 
> >> You said u are using it like so:
> >> 
> >> Check:
> >> /usr/local/nagios/libexec/check_http -I  -u http:// -w1 
> >> -c2
> >> 
> >> Maybe drop the IP address? I dunno, maybe cuz you have both IP and the url 
> >> its causing problems. Maybe its replying on the IP, but not on the URL 
> >> your providing. You prob only need one or the other if im not mistaken
> >> 
> >> Cheers!
> >> 
> >> 
> >> On Mon, Nov 19, 2012 at 7:14 AM, Jaap van Arragon 
> >>  wrote:
> >>> Hello,
> >>> 
> >>> Does anyone know why it gives me a 200 back?
> >>> 
> >>> If you need more info, I will gladly provide it ;-)
> >>> 
> >>> Thank you.
> >>> 
> >>> Regards,
> >>> 
> >>> Jaap
> >>> 
> >>> 
> >>> On 11/16/12 11:54 AM, "Jaap van Arragon"  wrote:
> >>> 
> >>> > Hello,
> >>> >
> >>> > I’m trying to use the check_http plugin to verify if one of our website 
> >>> > is
> >>> > available.
> >>> >
> >>> > When I check our website it gives me a 200 OK status code back even 
> >>> > when the
> >>> > website isn’t available en the URL gives me a 503 status code through 
> >>> > the
> >>> > browser.
> >>> >
> >>> > After some searching I came across the post below:
> >>> >
> >>> > http://permalink.gmane.org/gmane.network.nagios.plugins.devel/485
> >>> >
> >>> > This states that there is a bug in check_http. The only thing is that 
> >>> > the post
> >>> > is from 2003 so I expect that the necessary changes are already in the 
> >>> > new
> >>> > release.
> >>> >
> >>> > Things I’ve tried:
> >>> >
> >>> > - recompiled the latest version of the check_http plugin but the 
> >>> > necessary
> >>> > changes seems to be integrated there already.
> >>> > - updated the plugins package to the latest version for our release
> >>> >
> >>> > Check:
> >>> > /usr/local/nagios/libexec/check_http -I  -u http:// 
> >>> > -w1 -c2
> >>> >
> >>> > Packages:
> >>> >
> >>> > ii nagios-images 0.5
> >>> > ii nagios-nrpe-plugin 2.12-4ubuntu1.10.04

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-19 Thread Joerg Linge

Your example

 /usr/local/nagios/libexec/check_http -I  -u http:// -w1 -c2

is a proxy request!

-I = ip address to connect to
-H = HTTP/1.1 Host Header
-u = relative url to fetch without protocol infos like http://

some examples

check nagios.org

OMD[gearman]:~/lib/nagios/plugins$ ./check_http -H nagios.org
HTTP OK: HTTP/1.1 200 OK - 54919 bytes in 1.703 second response time 
|time=1.703114s;;;0.00 size=54919B;;;0


OMD[gearman]:~/lib/nagios/plugins$ host nagios.org
nagios.org has address 96.126.126.159

ok, nagios .org runns on 96.126.126.159
lets check a non existing page. we got 404!

OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H nagios.org 
-u /404
HTTP WARNING: HTTP/1.1 404 Not Found - 17141 bytes in 0.536 second response 
time |time=0.536015s;;;0.00 size=17141B;;;0

lets ask nagios.org for icinga.org ;) and we will get a 302

OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H icinga.org 
-u /
HTTP OK: HTTP/1.1 302 Found - 242 bytes in 1.837 second response time 
|time=1.837209s;;;0.00 size=242B;;;0

Joerg

Am 19.11.2012 um 17:14 schrieb Jaap van Arragon :

> Thank you for your reply.
> 
> I’ve tried the check without the ip adress option but it makes no difference.
> 
> Any other ideas?
> 
> Thanks.
> 
> 
> On 11/19/12 2:29 PM, "Ryan Edwards"  wrote:
> 
>> You said u are using it like so:
>> 
>>Check:
>>/usr/local/nagios/libexec/check_http -I  -u http:// -w1 
>> -c2
>> 
>> Maybe drop the IP address?  I dunno, maybe cuz you have both IP and the url 
>> its causing problems. Maybe its replying on the IP, but not on the URL your 
>> providing.  You prob only need one or the other if im not mistaken
>> 
>> Cheers!
>> 
>> 
>> On Mon, Nov 19, 2012 at 7:14 AM, Jaap van Arragon  
>> wrote:
>>> Hello,
>>> 
>>> Does anyone know why it gives me a 200 back?
>>> 
>>> If you need more info, I will gladly provide it ;-)
>>> 
>>> Thank you.
>>> 
>>> Regards,
>>> 
>>> Jaap
>>> 
>>> 
>>> On 11/16/12 11:54 AM, "Jaap van Arragon"  wrote:
>>> 
>>> > Hello,
>>> >
>>> > I’m trying to use the check_http plugin to verify if one of our website is
>>> > available.
>>> >
>>> > When I check our website it gives me a 200 OK status code back even when 
>>> > the
>>> > website isn’t available en the URL gives me a 503 status code through the
>>> > browser.
>>> >
>>> > After some searching I came across the post below:
>>> >
>>> > http://permalink.gmane.org/gmane.network.nagios.plugins.devel/485
>>> >
>>> > This states that there is a bug in check_http. The only thing is that the 
>>> > post
>>> > is from 2003 so I expect that the necessary changes are already in the new
>>> > release.
>>> >
>>> > Things I’ve tried:
>>> >
>>> > - recompiled the latest version of the check_http plugin but the necessary
>>> > changes seems to be integrated there already.
>>> > - updated the plugins package to the latest version for our release
>>> >
>>> > Check:
>>> > /usr/local/nagios/libexec/check_http -I  -u http:// -w1 
>>> > -c2
>>> >
>>> > Packages:
>>> >
>>> > ii nagios-images 0.5
>>> > ii nagios-nrpe-plugin 2.12-4ubuntu1.10.04.1
>>> > ii nagios-nrpe-server 2.12-4ubuntu1.10.04.1
>>> > ii nagios-plugins 1.4.14-1ubuntu1
>>> > ii nagios-plugins-basic 1.4.14-1ubuntu1
>>> > ii nagios-plugins-standard 1.4.14-1ubuntu1
>>> > ii nagios3 3.2.0-4ubuntu2.2
>>> > ii nagios3-cgi 3.2.0-4ubuntu2.2
>>> > ii nagios3-common 3.2.0-4ubuntu2.2
>>> > ii nagios3-core 3.2.0-4ubuntu2.2
>>> > ii nagiosgrapher 1.7.1-1
>>> >
>>> > Does anyone know why it gives me a status 200 OK back? At the moment I 
>>> > can't
>>> > rely on my Nagios checks..
>>> >
>>> > Thank you in advance
>>> >
>>> > Regards
>>> > Jaap
>>> 
>>> 
>>> 
>>> --
>>> Monitor your physical, virtual and cloud infrastructure from a single
>>> web console. Get in-depth insight into apps, servers, databases, vmware,
>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>>> Pricing starts from $795 for 25 servers or applications!
>>> http://p.sf.net/sfu/zoho_dev2dev_nov
>>> ___
>>> 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
>> 
>> 
> --
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/n

Re: [Nagios-users] Getting Performance Data in PNP4Nagios but not from Nagios

2012-10-15 Thread Joerg Linge

Am 15.10.2012 um 12:24 schrieb Jatin :

> Hi
> 
> I am coming back to Nagios after a gap of 2 years. So i might be out of 
> touch with some of its new features. I have installed both Nagios 3.4.1 
> and PNP4Nagios 0.6 version perfectly. No issues are seen in the 
> installation and i can view the UI of both the products.
> 
> Earlier when i installed Nagios with PNP4Nagios , As soon as i install 
> PNP4Nagios and configure it with synchronous mode i used to see the 
> performance data in Nagios. But earlier when i used it , i used to see a 
> RED Exploded ballon kind of an icon which i in turn click on it to view 
> the performance data in another TAB which would eventually open the pnp4 
> graphs.
> 
> With the current installation i am not seeing this link from the 
> existing service that would eventually take me to view its performance 
> data in PNP4. But when i view the PNP4 UI using the URL:
> 
> http:///pnp4nagios , i can see the graphs fine. Its only 
> that the link from Nagios UI to PNP4Nagios is not seen now.
> 
> Could someone please help me in viewing this. I am kind of used to it 
> and also love it that way.
> 
> Appreciate your response in this regard.

http://docs.pnp4nagios.org/pnp-0.6/webfe

did you configure host and serviceextinfo ?

Joerg

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
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] solutions for off-server PNP4Nagios perfdata processing?

2012-10-15 Thread Joerg Linge

Am 03.10.2012 um 16:33 schrieb "Frost, Mark {BIS}" :

> Hello.  Has anyone come up with solutions for processing Nagios performance 
> data on a server other than a Nagios server?   We’ve been processing perfdata 
> results on our Nagios server(s) for a while now and increasingly it’s just 
> eating up too much I/O to make me comfortable.
>  
> Yes, we do use rrdcached and yes, I realize that shuffling data around on 
> different disk spindles and controllers would help, but in today’s world 
> where companies don’t like building any kind of physical server let alone one 
> with all that additional hardware, that’s not entirely an option for us.
>  
> I realize that once the perfdata files are on the dedicated graphing 
> server(s), processing them into RRD files there should be a no-brainer.  My 
> problem is figuring out how to get them there without say, using a NAS 
> device.   (If I/O’s a problem locally, I don’t want to shuffle that I/O to an 
> even slower network device).
>  
> It would be ideal if somehow there was a process that I could just send that 
> data to and have it picked up remotely.  Like if maybe Merlin have a special 
> kind of peer that just received a stream of perfdata or something.  Anything 
> else I could imagine would be some kind of home-grown solution like say 
> pumping events into a messaging system from the Nagios server(s) and then 
> letting the graphing server pick them up from the message queue(s).  I could 
> also imagine some kind of fancy-pants module in Nagios 4 that did something 
> like this, maybe.
>  
> Any thoughts would be appreciated.
>  
> Thanks

Hi Mark,

on your nagios servers  use npcdmod.o to spool files and npcd to transfer them 
to a central pnp4nagios server via scp
On the pnp4nagios server use npcd to process the perfdata files and write the 
rrds

Joerg


--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
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] Plugin check_oracle_health

2012-10-03 Thread Joerg Linge
you just need a working sqlplus installation
http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html

use check_oracle_health --method=sqlplus ... and you are on your way

Joerg

Am 03.10.2012 um 08:14 schrieb Cosmin Neagu :

> Well, thats the hard part for me, installing those ORA files - didnt find yet 
> how to do that. I think installing the plugin on DBServer and using NRPE is 
> easier.
>  Cosmin Neagu
>  NOC Team Leader
>  Str. I. G. Duca nr. 36
>  Otopeni, Judetul Ilfov, 075100 Romania
>  Tel: 021 303 3159 / 0732 669 193
>  
> www.omnilogic.ro
> On 10/02/2012 06:05 PM, Claudio Kuenzler wrote:
>> 
>> The plugin needs to be installed on the Oracle Database server.
>> 
>> That's not entirely correct. It can also run on a standalone Nagios server.
>> But you need to install the ora files to be able to launch the plugin 
>> against an Oracle DB server.
>> I did that successfully on Nagios 3.3.1 against ORA11. 
>>  
>> 
>> 
>> 
>> --
>> Don't let slow site performance ruin your business. Deploy New Relic APM
>> Deploy New Relic app performance management and know exactly
>> what is happening inside your Ruby, Python, PHP, Java, and .NET app
>> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
>> 
>> http://p.sf.net/sfu/newrelic-dev2dev
>> 
>> 
>> ___
>> 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
>> 
> 
> --
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev___
> 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


--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
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 Plugin Log Pattern Notification

2012-09-04 Thread Joerg Linge

Am 04.09.2012 um 18:48 schrieb Net Warrior :

> Hi there guys
> Does anyone know if there is a plugin that checks for a pattern in a
> log file and if it finds it then sends an alert or would I have to
> write it myself?
> 


http://labs.consol.de/lang/en/nagios/check_logfiles/

check_logfiles is one of the more powerful plugins.

Cheers
Joerg

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] printing info from nagios db check script

2012-05-13 Thread Joerg Linge

Am 14.05.2012 um 00:27 schrieb Tim Dunphy:

> Hey list,
> 
> I'm having a small but important problem with a script I am writing in order 
> to monitor the tablespaces of an oracle database. This is probably more of a 
> bash programming issue, but as the ultimate purpose of the script is to be a 
> nagios check I am hoping that you won't mind me asking here. 
> 
> 
> Just to give you a brief overview of what I am experiencing, I'd like to 
> start by giving you the output of a couple runs of the script and a couple 
> snippets of code. 



Tim,
isn't it easier to use existing plugins?

http://labs.consol.de/lang/en/nagios/check_oracle_health/
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Recommendation needed

2012-03-16 Thread Joerg Linge
The next version on PNP4Nagios will be able to push data to Graphite.
So you are able to use all PNP4Nagios internal functions + all available 
Graphite GUIs out there.

I'am just working on that.

Joerg

Am 16.03.2012 um 04:20 schrieb ranjib dey:

> I'll strongly recommend Graphios+ Graphite. Its bit more work than pnp4nagios 
> or nagiosgraph, bit its totally worth. You can compose custom graphs, overlay 
> multiple graphs etc. Graphite is a graphing/charting solution, while graphios 
> is the nagios add on that can parse nagios performance data and push it in 
> graphite.
> 
> On Thu, Mar 15, 2012 at 2:22 PM, Claudio Kuenzler  
> wrote:
> It depends on your own "skills".
> If you know a little bit regex (regular expressions), then you're good with 
> Nagiosgraph. I couldn't live without it anymore. 
> PNP4Nagios is, as Daniel said, "just working" out of the box for many 
> plugins. But on the other hand with Nagiosgraph you're more flexible when it 
> comes to your own plugins or other special plugins. 
> Haven't tried munin myself.
> 
> 
> On Thu, Mar 15, 2012 at 10:10 PM, Daniel Wittenberg 
>  wrote:
> I like pnp4nagios, easy to integrate and flexible.  Using it with multisite 
> as the front-end make it all "just work" out of the box.
> 
> Dan
> 
> 


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
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_http fails for two Sprint sites

2012-02-23 Thread Joerg Linge
OK, more tests.

check_http with verbose output

OMD[gearman]:~$ ./lib/nagios/plugins/check_http -vv -H www.sprint.net
GET / HTTP/1.1
User-Agent: check_http/v1.4.15 (nagios-plugins 1.4.15)
Connection: close
Host: www.sprint.net


CRITICAL - Socket timeout after 10 seconds

so lets test with low level telnet 


OMD[gearman]:~$ telnet www.sprint.net 80
Trying 2600::...
Connected to www.sprint.net.
Escape character is '^]'.
GET / HTTP/1.1
Host: www.sprint.net

HTTP/1.1 302 Moved Temporarily
Server: HTTP Proxy/1.0
Connection: Close
Content-Length: 0
Location: https://www.sprint.net/


Server: HTTP Proxy/1.0 ??

Lets do a http 1.0 request


OMD[gearman]:~$ telnet www.sprint.net 80
Trying 2600::...
Connected to www.sprint.net.
Escape character is '^]'.
GET / HTTP/1.0

HTTP/1.1 200 OK
Set-Cookie: ServerID=1125; path=/
Date: Fri, 24 Feb 2012 07:26:04 GMT
Content-Type: text/html
Connection: close
Server: Apache/2.2.21 (Unix)

Now its an Apache 2.2.22 ??

Joerg

Am 24.02.2012 um 07:02 schrieb Frank Bulk:

> So if wget can follow redirects from insecure to secure sites, why can't
> check_http?
> 
> Frank
> 
> -----Original Message-
> From: Joerg Linge [mailto:pitchf...@ederdrom.de] 
> Sent: Thursday, February 23, 2012 11:40 PM
> To: Nagios Users List
> Subject: Re: [Nagios-users] check_http fails for two Sprint sites
> 
> Hi Frank,
> your side does not respond to http requests
> 
> OMD[gearman]:~$ ./lib/nagios/plugins/check_http -6 -H www.sprint.net
> CRITICAL - Socket timeout after 10 seconds
> OMD[gearman]:~$ ./lib/nagios/plugins/check_http -H www.sprint.net
> CRITICAL - Socket timeout after 10 seconds
> 
> HTTPS works well
> 
> OMD[gearman]:~$ ./lib/nagios/plugins/check_http -6 -S -H www.sprint.net
> HTTP OK: HTTP/1.1 200 OK - 18004 bytes in 0.744 second response time
> |time=0.743648s;;;0.00 size=18004B;;;0
> OMD[gearman]:~$ ./lib/nagios/plugins/check_http -S -H www.sprint.net
> HTTP OK: HTTP/1.1 200 OK - 18004 bytes in 0.736 second response time
> |time=0.735588s;;;0.00 size=18004B;;;0
> 
> wget redirects directly to HTTPS 
> 
> OMD[gearman]:~$ wget www.sprint.net
> --2012-02-24 06:37:35--  http://www.sprint.net/
> Resolving www.sprint.net... 2600::, 208.24.22.50
> Connecting to www.sprint.net|2600::|:80... connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location: https://www.sprint.net/ [following]
> --2012-02-24 06:37:36--  https://www.sprint.net/
> Connecting to www.sprint.net|2600::|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: unspecified [text/html]
> Saving to: “index.html”
> 2012-02-24 06:37:37 (1.31 MB/s) - “index.html” saved [17739]
> 
> 
> Joerg
> 
> Am 24.02.2012 um 00:58 schrieb Frank Bulk:
> 
>> Starting this morning two IPv6 sites, www.sprint.net and www.sprintv6.net
>> failed to pass check_http.  What's strange is that the v4 version of
>> www.sprint.net also fails.  
>> 
>> I see that there are 302's (redirection) to the secure version of the
> site,
>> but using the '-f follow' command doesn't help, either.  It seems that if
>> the site one being is redirected to is secure that the check command
> fails.
>> 
>> I'm running check_http version 1.4.15.
>> 
>> Here's my output:
>> 
>> 
> 
>> ==
>> nagios:/etc/nagios3#
>> nagios:/etc/nagios3# /usr/lib/nagios/plugins/check_http -H www.sprint.net
> -4
>> CRITICAL - Socket timeout after 10 seconds
>> nagios:/etc/nagios3#
>> nagios:/etc/nagios3# wget -4 www.sprint.net
>> --2012-02-23 17:52:06--  http://www.sprint.net/
>> Resolving www.sprint.net... 208.24.22.50
>> Connecting to www.sprint.net|208.24.22.50|:80... connected.
>> HTTP request sent, awaiting response... 302 Moved Temporarily
>> Location: https://www.sprint.net/ [following]
>> --2012-02-23 17:52:06--  https://www.sprint.net/
>> Connecting to www.sprint.net|208.24.22.50|:443... connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: unspecified [text/html]
>> Saving to: âindex.html.4â
>> 
>>   [ <=>
>> ] 16,997  --.-K/s   in 0.05s
>> 
>> 2012-02-23 17:52:06 (348 KB/s) - âindex.html.4â
>> 
>> nagios:/etc/nagios3#
>> 
> 
>> ==
>> nagios:/etc/nagios3# /usr/lib/nagios/plugins/check_http -H www.sprint.net
> -6
>> CRITICAL - Socket timeout after 10 seconds
>> nagios:/etc/nagios3#
>> nagios:/etc/nagios3# wget -6 www.sprint.net
>> --2012-02-23 17:54:49--  http://www.sprint

Re: [Nagios-users] check_http fails for two Sprint sites

2012-02-23 Thread Joerg Linge
Hi Frank,
your side does not respond to http requests

OMD[gearman]:~$ ./lib/nagios/plugins/check_http -6 -H www.sprint.net
CRITICAL - Socket timeout after 10 seconds
OMD[gearman]:~$ ./lib/nagios/plugins/check_http -H www.sprint.net
CRITICAL - Socket timeout after 10 seconds

HTTPS works well

OMD[gearman]:~$ ./lib/nagios/plugins/check_http -6 -S -H www.sprint.net
HTTP OK: HTTP/1.1 200 OK - 18004 bytes in 0.744 second response time 
|time=0.743648s;;;0.00 size=18004B;;;0
OMD[gearman]:~$ ./lib/nagios/plugins/check_http -S -H www.sprint.net
HTTP OK: HTTP/1.1 200 OK - 18004 bytes in 0.736 second response time 
|time=0.735588s;;;0.00 size=18004B;;;0

wget redirects directly to HTTPS 

OMD[gearman]:~$ wget www.sprint.net
--2012-02-24 06:37:35--  http://www.sprint.net/
Resolving www.sprint.net... 2600::, 208.24.22.50
Connecting to www.sprint.net|2600::|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://www.sprint.net/ [following]
--2012-02-24 06:37:36--  https://www.sprint.net/
Connecting to www.sprint.net|2600::|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “index.html”
2012-02-24 06:37:37 (1.31 MB/s) - “index.html” saved [17739]

 
Joerg

Am 24.02.2012 um 00:58 schrieb Frank Bulk:

> Starting this morning two IPv6 sites, www.sprint.net and www.sprintv6.net
> failed to pass check_http.  What's strange is that the v4 version of
> www.sprint.net also fails.  
> 
> I see that there are 302's (redirection) to the secure version of the site,
> but using the '-f follow' command doesn't help, either.  It seems that if
> the site one being is redirected to is secure that the check command fails.
> 
> I'm running check_http version 1.4.15.
> 
> Here's my output:
> 
> 
> ==
> nagios:/etc/nagios3#
> nagios:/etc/nagios3# /usr/lib/nagios/plugins/check_http -H www.sprint.net -4
> CRITICAL - Socket timeout after 10 seconds
> nagios:/etc/nagios3#
> nagios:/etc/nagios3# wget -4 www.sprint.net
> --2012-02-23 17:52:06--  http://www.sprint.net/
> Resolving www.sprint.net... 208.24.22.50
> Connecting to www.sprint.net|208.24.22.50|:80... connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location: https://www.sprint.net/ [following]
> --2012-02-23 17:52:06--  https://www.sprint.net/
> Connecting to www.sprint.net|208.24.22.50|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: unspecified [text/html]
> Saving to: âindex.html.4â
> 
>[ <=>
> ] 16,997  --.-K/s   in 0.05s
> 
> 2012-02-23 17:52:06 (348 KB/s) - âindex.html.4â
> 
> nagios:/etc/nagios3#
> 
> ==
> nagios:/etc/nagios3# /usr/lib/nagios/plugins/check_http -H www.sprint.net -6
> CRITICAL - Socket timeout after 10 seconds
> nagios:/etc/nagios3#
> nagios:/etc/nagios3# wget -6 www.sprint.net
> --2012-02-23 17:54:49--  http://www.sprint.net/
> Resolving www.sprint.net... 2600::
> Connecting to www.sprint.net|2600::|:80... connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location: https://www.sprint.net/ [following]
> --2012-02-23 17:54:49--  https://www.sprint.net/
> Connecting to www.sprint.net|2600::|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: unspecified [text/html]
> Saving to: âindex.html.5â
> 
>[ <=>
> ] 17,739  --.-K/s   in 0s
> 
> 2012-02-23 17:54:49 (174 MB/s) - âindex.html.5â
> 
> nagios:/etc/nagios3#
> 
> ==
> 
> 
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> 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


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
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/nu

Re: [Nagios-users] Centralized Dashboard

2012-02-08 Thread Joerg Linge

Am 08.02.2012 um 14:40 schrieb trm asn:

> Dear Friend,
> 
> I have 7 Nagios core server running at 7 different location. I have installed 
> MNTOS to get the consolidated tactical views. Is there any other way to do 
> so. 

Yes!

mathias-kettner.de/checkmk_multisite.html
http://thruk.org/

Joerg
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
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] Is there a plugin available that will log into a website and navigate through it?

2011-11-25 Thread Joerg Linge

Am 25.11.2011 um 19:02 schrieb Niall O Broin:

> On 25 Nov 2011, at 17:01, Andrew Thompson wrote:
> 
>> Joerg – thankyou that looks just the job!
> 
> What was the plugin you were thanking Joerg for? I saw your question, but 
> didn't see his reply. Maybe he replied off-list.
> 

No, the reply was on-list

my suggestion was

http://www.webinject.org/

Joerg
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
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] Is there a plugin available that will log into a website and navigate through it?

2011-11-25 Thread Joerg Linge

Am 25.11.2011 um 17:06 schrieb Andrew Thompson:

> Hi all,
>  
> Is there a plugin out there in the wild that will login into a website with a 
> provided user/pass and then navigate its way around the site clicking a few 
> links and then log back out again?
>  
> Got a site that id like to trawl to check its availability.
>  
> www.site.com takes you to the login screen of where it asks for user/pass 
> then a login button.
>  
> www.site.com/mainmenu.aspx takes you to the main menu where you can click 
> links to navigate around the site, including a log out link
>  
> Id like to be able to get the plugin/script to input user/pass and hit the 
> login button then click 2 links and return back to the main menu where it 
> will hit the log out link.
>  
> In the order of
>  
> www.site.com
> www.site.com/mainmenu.aspx
> www.site.com/link1.aspx
> www.site.com/mainmenu.aspx
> www.site.com/link2.aspx
> www.site.com/mainmenu.aspx
> www.site.com/logout.aspx
>  
>  
> Anything available to do this?

Hi Andrew,

webinject might be useful

http://www.webinject.org/

Joerg


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
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_http -L writes raw html (a href) but does not render link in browser

2011-11-09 Thread Joerg Linge

Am 09.11.2011 um 22:33 schrieb Kimberly McKinnis:

> I'm using the stock Nagios 3 package from aptitude on Ubuntu. I wrote a
> new check using check_http, but the -L isn't entirely doing what I'd
> expect. Do I need to set something else somewhere in Nagios to get browser
> renderable code? I've tried both Firefox and Safari on MacOSX Lion.
> 
> My check:
> define command{
>command_namecheck-livepass-gateways
>command_line/usr/lib/nagios/plugins/check_http -L -H
>  -u  -t 5 -R 'unknown' --invert-regex
>}
> 
> 
> 
> My check spits out the raw html code instead of actually making it a link:
>  HREF="obfuscated URL"
> target="_blank">HTTP OK: HTTP/1.1 200 OK - 13878 bytes in 0.304
> second response time 

cgi.cfg:

# ESCAPE HTML TAGS
# This option determines whether HTML tags in host and service
# status output is escaped in the web interface.  If enabled,
# your plugin output will not be able to contain clickable links.

escape_html_tags=1

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
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] programmatic access to nagios state

2011-10-31 Thread Joerg Linge

Am 01.11.2011 um 06:33 schrieb Henti Smith:

> On Tue, Nov 1, 2011 at 6:10 AM, Aamer Akhter  wrote:
>> Hello,
> 
> Hi,
> 
>> Is there a way to programmatically access the state of specific
>> services that nagios is monitoring? I can see how one could do that
>> via the web interface but that would mean parsing the html. Is there a
>> more straightforward API/interface?
> 
> 
> Nagios writes the current state in a file called status.dat
> 
> This file can be parsed to find the status of the host/service you want.

a smarter way is to use livestatus

http://mathias-kettner.de/checkmk_livestatus.html

Joerg

--
RSA® Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
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] Monitoring clamd.amavisd

2011-10-18 Thread Joerg Linge

Am 19.10.2011 um 07:38 schrieb Alex:

> Hi,

Hi Alex

> I need to monitor the clamd.amavisd binary, but having difficulty with
> the check_procs command. When using the following check_procs, it
> isn't able to identify any running processes:
> 
> # /usr/lib64/nagios/plugins/check_procs -w 1: -c 1: -C clamd.amavisd -u amavis
> PROCS CRITICAL: 0 processes with command name 'clamd.amavisd', UID =
> 496 (amavis)

append -vv to your check_procs call to get more infos about the internals.

> However, the process is there:
> 
> # ps ax|grep clam
> 1066 ?Ssl1:13 clamd.amavisd -c /etc/clamd.d/amavisd.conf
> --pid /var/run/clamd.amavisd/clamd.pid
> 
> If I change the check_procs to just look for "clamd", it matches, but
> it also matches clamdscan, which also runs periodically, and I don't
> want it to do that.
> 
> Do you have any suggestions for what the problem may be? Is it because
> of the dot between clamd.amavisd?


Example:

OMD[gearman]:~$ ps -ef | grep amavis
gearman848 32594  0 08:03 pts/100:00:00 grep amavis
amavis1571 1  0 Sep09 ?00:00:39 amavisd (master)
amavis2408  1571  0 Oct18 ?00:00:09 amavisd (ch15-avail)
amavis   31143  1571  0 Oct18 ?00:00:10 amavisd (ch16-avail)


Ahh a amavisd process!

OMD[gearman]:~$ ./lib/nagios/plugins/check_procs -C amavisd
PROCS OK: 0 processes with command name 'amavisd'

WTF?

No amavisd Process?
So lets be more verbose ...

OMD[gearman]:~$ ./lib/nagios/plugins/check_procs -C amavisd -vvv |head -n1
CMD: /bin/ps axwo 'stat uid pid ppid vsz rss pcpu comm args'

Ahh check_procs use other ps option!

OMD[gearman]:~$ /bin/ps axwo 'stat uid pid ppid vsz rss pcpu comm args' | grep 
amavis
Ss 106  1571 1 207404 10208  0.0 amavisd-new amavisd (master)
S+ 999  1938 32594   9928   844  0.0 grepgrep amavis
S  106  2408  1571 213380 61968  0.0 amavisd-new amavisd (ch15-avail)
S  106 31143  1571 212216 60476  0.0 amavisd-new amavisd (ch16-avail)

So the process name is amavisd-new and not just amavis!
Lets call check_procs again

OMD[gearman]:~$ ./lib/nagios/plugins/check_procs -C amavisd-new
PROCS OK: 3 processes with command name 'amavisd-new'

Much better!

HTH Joerg

Joerg





--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
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] Suggestion on SNMP disk space checker

2011-10-13 Thread Joerg Linge

Am 14.10.2011 um 02:19 schrieb Al:

> I'm open for any suggestions/urlz/code for disk space checking via SNMP.  I'm 
> trying not to do it with NRPE.  Thanks in advance!

http://www.google.com/search?q=nagios+check+snmp+disk
http://nagios.manubulon.com/snmp_storage.html


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
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] DNS check - please help

2011-07-18 Thread Joerg Linge
Matthew Pounsett schrieb:
> On 2011/07/18, at 11:37, James Pratt wrote:
>
>> This plugin uses the nslookup program to obtain the IP address for the given 
>> host/domain query.
>> An optional DNS server to use may be specified.
>> If no DNS server is specified, the default server(s) specified in 
>> /etc/resolv.conf will be used.
>
> The behaviour of nslookup is pretty terrible... it's not really advisable to 
> use it for any DNS diagnostics.  I'm working on a replacement for check_dns 
> which does its own DNS work rather than relying on shelling out to something 
> else... unfortunately, I'm not much of a C coder, so it's in Perl.  If I can 
> get permission from my boss I'll share it back to the community as a 
> replacement for what's there now.

i use check_dig for years now.

Joerg

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
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] Clarification need on configuring nagios to monitor multiple hosts

2011-07-13 Thread Joerg Linge
Zama Ques schrieb:
> Hi All ,
>
> I am new to nagios configuration . I  successfully installed nagios on one of 
> my linux server  and now monitoring two hosts .
>
> For monitoring of remote hosts , I created a new config file by renaming 
> localhost.cfg file under objects directory.
>
> I renamed the entries "hostname" and "address"  and other entries under 
> "DEFINE HOST" directive to point to the new server which I am planning to 
> monitor . The settings looks like this
>
> define host{
>  use linux-server; Name of host 
> template to use
>  ; This host definition will inherit all 
> variables that are defined
>  ; in (or inherited by) the linux-server host 
> template definition.
>  host_name   node1
>  alias node1
>  address   192.168.122.167
>  }
>
>
> define host{
>  use linux-server; Name of host 
> template to use
> ; This host definition will inherit all 
> variables that are defined
> ; in (or inherited by) the linux-server 
> host template definition.
>  host_name  node2
>  aliasnode2
>  address  192.168.122.218
>  }
>
>
> Also modified "DEFINE SERVICE"  directive to monitor few services on both the 
> remote hosts . Few of the settings looks like this
>
> define service{
>  use local-service ; Name of 
> service template to use
>  host_name   node1
>  service_description Current Users
>  check_commandcheck_nrpe!check_users
>  }
>
>
> define service{
>  use local-service ; Name of 
> service template to use
>  host_name   node2
>  service_description Current Users
>  check_commandcheck_nrpe!check_users
>  }
>
> The checks are working fine . But my confusion here is in terms of scalabilty 
> .
> What if I want to monitor 100 servers and 5 services in each of the servers. 
> Does that mean I need to create 100 "define host"  directives for each of 
> these servers . Also , monitoring 5 services means i have to create 5 "define 
> service" for each host , that means 500 "define service" directives.
> If this is the case , then it will be really painful to configure and manage 
> if there are many servers to monitor.
>
>
> Can't I use comma separated ip address and hosts like this
>
> define host{
>
>  use linux-server; Name of host 
> template to use
>
>  ; This host definition will inherit all 
> variables that are defined
>
>  ; in (or inherited by) the linux-server host 
> template definition.
>
>  host_name   node1,node2
>
>  alias node1
>
>  address   192.168.122.167,192.168.122.218
>
>  }
>
>
> define service{
>
>  use local-service ; Name of 
> service template to use
>
>  host_name   node1,node2
>
>  service_description Current Users
>
>  check_commandcheck_nrpe!check_users
>
>  }
>
> . Will it work . Have not tried yet. What you people suggest should be the 
> approach  if somebody is planning to monitor more than 50 servers.
>
> Any help will be highly appreciated

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

This is a good starting point i think

Joerg

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
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] pnp4nagios custom icon

2011-07-05 Thread Joerg Linge
Nibin V M schrieb:
> Hi guys,
>
> Do anybody know a way to change/add the logo in pnp4nagios graph report that
> we download as pdf, xml, etc?

change pnp4nagios/etc/backgrund.pdf to fit your needs.

Joerg

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
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] PNP4Nagios watermark font colour

2011-07-04 Thread Joerg Linge
radu.p...@technomatic.de schrieb:
> Hello,
>
> Can this color of the font be changed? Even more if possible: can half of
> the watermark word be written in a color and the other half in another
> color?

this is IMHO not a nagios or pnp4nagios question

http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html

Option --font and --color (untested(tm))

Joerg

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
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] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-07-02 Thread Joerg Linge
radu.p...@technomatic.de schrieb:
>
> Yes, that's the one. Inside my config_local.php I have the line already
> put:
>
> #
> # Use this file as PDF background.
> #
> $conf['background_pdf'] = '/usr/local/pnp4nagios/etc/background.pdf' ;
>
> I downloaded the pdf file via scp and double checked to confirm it's the
> modified one.
>
> The rights on the file are:
>
> -rw-r--r-- 1 nagios nagios 41924 Jul  2 08:39 background.pdf
>
> Thanks!

Sorry i can´t reproduce this issue here.

someone else?

Joerg

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
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] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-07-02 Thread Joerg Linge
radu.p...@technomatic.de schrieb:
>
> What I am trying to achieve is now modifying a bit the pdf generated page (
> add an additional logo, put some text, aso). Saw that the background page
> is called background.pdf, so I have modified that, but when generating PDF
> I still see the original background page, not the modified one.

Please be more precise!

which pdf file did you modify?

pnp4nagios/etc/background.pdf? Is this the one?

Is this file also registered in your pnp4nagios/etc/config_local.php

#
# Use this file as PDF background.
#
$conf['background_pdf'] = '/usr/local/pnp4nagios/etc/background.pdf' ;


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
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] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-07-02 Thread Joerg Linge
radu.p...@technomatic.de schrieb:
> I have managed to put the text into the graphs ( watermark) by adding the
> option directly into the respective php file ( e.g. check_snmp_int.php).
> All the php files seem to have already an $opt[1] line which overrides the
> general options.
>
> I am still stucked with the PDF background file however.

Please tell us in detail what you are doing.

Which version of pnp4nagios do you use and which config file do you change.
Please provide exact informations.

Joerg

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
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] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-07-02 Thread Joerg Linge
radu.p...@technomatic.de schrieb:
> Hello again,
>
> Can you please give some guidelines how to customize the PNP4Nagios
> background page? I have tried using the $conf['graph_opt'] = "--watermark
> 'Test'" option, but it does not take it. Also modifications done on the
> background.pdf file are not updated. Already restarted apache and nagios
> services. In general I would like to add some logos and/or text.

Which pnp4nagios version do you use?

I assume its 0.6.13

PNP web interface reads config files in the following order.

pnp4nagios/etc/config_local.php
pnp4nagios/etc/config.php

config_local.php is used to store your own changes and will not be overwritten 
on updates.
config.php is the default config file.

http://docs.pnp4nagios.org/pnp-0.6/webfe_cfg

Joerg

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
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] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-06-29 Thread Joerg Linge
radu.p...@technomatic.de schrieb:
> After adding the -r option it works like a charm!
>
> Now in pnp4nagios I can see both values on the same graph: bytes in and
> bytes out. I see them as two thin lines. Any way to make the lines thicker
> and change their colour?

it depends on the pnp4nagios template you use to create this kind of graphs.
I assume its templates.dist/check_snmp_int.php

http://docs.pnp4nagios.org/pnp-0.6/tpl

You can change the Template to fit your needs. Every valid rrdtool option is 
allowed.

http://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html

Joerg

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
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] Remote command plugins

2011-05-12 Thread Joerg Linge
Luis Miguel Silva schrieb:
> Dear all,
>
> I'm pretty new to Nagios and i was wondering how can i extract
> information from remote hosts with Nagios?
> i.e. get the remote hosts's cpu load, available disk, etc?
>
> p.s. All my nodes have share ssh keys (so i can easily ssh into them);

you can use check_by_ssh which is part of nagios plugins package.
you have to install the plugins you want to use (check_disk, check_load ...) on 
the remote side too.

Joerg  

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
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] A Question on Console Alerts for a Help Desk

2010-12-29 Thread Joerg Linge
Jim Avery wrote:
> On 29 December 2010 15:51, steve f  wrote:
>
>> The Help Desk uses a menu to stop&  restart services, etc.  Is it feasible (
>> realistic )  for the menu command to add a snippet of code to put the nagios
>> check for that service/host  in awk mode for say 5 minutes so anyone who
>> sees the alert on the screen would know that its being addressed?
>>
>> Is there an easier way to do this?
>
> There isn't an easy way to ack it for 5 minutes, as you can't ack it
> until it's in a hard state.  I would instead get your menu script to
> schedule downtime in Nagios for that service for 5 minutes by
> submitting an external command to Nagios.  I would say this is a
> feasible and realistic thing to do, yes.  But .. I don't know how you
> operate your distributed Nagios setup.  So long as only one of your
> Nagios servers is used for the web front-end this should be easy.  If
> various people use various of the distributed Nagios servers for their
> web front end it could be a challenge setting up your menu system to
> submit the external command to the right server.
>
> See:
>
> http://nagios.sourceforge.net/docs/3_0/extcommands.html

Instead of scheduling downtime its also possible reschedule the next service 
checks to now + 15minutes for example.

http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=30

Joerg

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
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] PNP/MYSQL/RRDTool

2010-12-22 Thread Joerg Linge
Rick Munn wrote:
> Hi,
>
> Is anyone using MYSQL to collect their PNP4Nagios Stats or is the Round
> Robin Database (RRDTool) the only way to do it?

PNP4Nagios depends heavily on rrdtool because the graphs are created by rrdtool 
too.
Is not possible to use another storage engine then rrdtool.

NagiosGrapherV2 might be a solution for you.

Joerg

--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
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] JVM Monitoring

2010-12-17 Thread Joerg Linge
Am 17.12.10 08:19, schrieb Marc-André Doll:
> On Thu, 2010-12-16 at 22:41 +, Jim Avery wrote:
>> On 16 December 2010 19:04, Paul M. Dubuc  wrote:
>>> I was just looking at the web page for check_jmx4perl at
>>>
>>> http://exchange.nagios.org/directory/Plugins/Java-Applications-and-Servers/check_jmx4perl/details
>>>
>>> It says that it requires "No Java installation required on the Nagios host".
>>>
>>> Is this not true?
> 
> Hi,
> 
> Yes it is true. You don't need to install Java on your Nagios server to
> use check_jmx4perl. You just have to deploy a .war on your TomCat (and
> certainly GlassFish, I didn't try it) servers and then you just have to
> send some HTTP request to your server to obtain readings about your JVM.
> 
> That's why I choose it. But for now, it seems it is only capable to
> check Java on JEE servers and not Java on its own as I need right now.

Hi Marc,

the jmx4perl agent is now called jolokia

http://labs.consol.de/lang/de/jolokia/
http://www.jolokia.org/

There is also an JVM Agent which can be used with Sun Java 6+

http://www.jolokia.org/agent/jvm.html

Joerg

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
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] Reporting add-ons for Nagios

2010-10-30 Thread Joerg Linge
pnp4nagios is based on rrdtool and not mysql

http://docs.pnp4nagios.org/pnp-0.6/about#storage

Joerg

Am 29.10.10 22:20, schrieb Mark Campbell:
>  Have you setup pnp4nagios and used mysql for storing the results.  We
> get thousands of little file left there that are never cleaned up.  Not
> sure if they are left over from the check or it is where pnp4nagios
> stores the resulting performance data so wasn't sure about deleting them.
> 
> I though mysql might solve this problem.
> 
> Mark
> 
> 
> On 10/29/2010 3:56 PM, Rick Munn wrote:
>> Thanks Andrew, I'll check it out.
>>
>> Cheers
>> Rick
>>
>> On Fri, Oct 29, 2010 at 1:37 PM, Kaplan, Andrew H.
>> mailto:ahkap...@partners.org>> wrote:
>>
>> Hi there --
>> I am using pnp4nagios, and it works without any issue.
>>
>>
>> 
>> *From:* Rick Munn [mailto:r...@screenscape.net
>> ]
>> *Sent:* Friday, October 29, 2010 12:23 PM
>> *To:* Nagios Users List
>> *Subject:* [Nagios-users] Reporting add-ons for Nagios
>>
>> Hi,
>>
>> Any recommendation on monitoring and graphing performance
>> tools/addons for Nagios.   Sample services I'd like to collect
>> stats on e.g. network bandwidth, tomcat, mysql, linux(centos and
>> redhat), etc.
>>
>> Thank you,
>> Rick
>>
>>
>> The information in this e-mail is intended only for the person to
>> whom it is
>> addressed. If you believe this e-mail was sent to you in error and
>> the e-mail
>> contains patient information, please contact the Partners
>> Compliance HelpLine at
>> http://www.partners.org/complianceline . If the e-mail was sent to
>> you in error
>> but does not contain patient information, please contact the
>> sender and properly
>> dispose of the e-mail.
>>
>>
>> --
>>
>> Nokia and AT&T present the 2010 Calling All Innovators-North
>> America contest
>> Create new apps & games for the Nokia N8 for consumers in  U.S.
>> and Canada
>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
>> marketing
>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi
>> Store
>> http://p.sf.net/sfu/nokia-dev2dev
>> ___
>> 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
>>
>>
>>
>> --
>>
>> Nokia and AT&T present the 2010 Calling All Innovators-North America
>> contest
>> Create new apps&  games for the Nokia N8 for consumers in  U.S. and
>> Canada
>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
>> marketing
>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
>> http://p.sf.net/sfu/nokia-dev2dev
>>
>>
>> ___
>> 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
> 
> 
> 
> 
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev
> 
> 
> 
> ___
> 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


--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please

Re: [Nagios-users] pnp4nagios configuration errors

2010-08-24 Thread Joerg Linge
Am 24.08.10 09:32, schrieb Julius Kidubuka:
> Hi list,

Hi Julius,
there are other support channels available for pnp4nagios then the nagios-users 
list.

http://docs.pnp4nagios.org/pnp-0.6/about#support


> I'm trying to setup and configure pnp4nagios [v0.6.6] on a currently working
> Nagios Core [v3.2.0] system running on openSUSE 11.1
> 
> I installed pnp4nagios from source and also installed rrdtool using an rpm.
> All was going well until I tried to verify the pnp configuration. Below are
> the
> specific errors;
> 
> 
> *the-host:/usr/local/pnp4nagios/libexec # ./verify_pnp_config.pl -m sync
> 
> Check Nagios/Icinga/PNP integration, v0.1.21
> 
> [I] OS: Welcome to openSUSE 11.1 - Kernel  ().
> [I] Perl: 5.01
> [I] Package Manager: /bin/rpm
> [I] Package: "php5-5.2.6-49.11"
> [I] Package: "dejavu-2.26-1.41"
> [I] install_opts: -o nagios -g nagios
> [I] PNP-version: 0.6.6
> [I] using Nagios basedir "/usr/local/nagios"
> [I] using Nagios config "/usr/local/nagios/etc/nagios.cfg"
> [I] using Nagios binary "/usr/local/nagios/bin/nagios"
> [I] PNP mode: "sync"
> [I] Nagios info: Nagios Core 3.2.0
> [A] verifying Nagios config
> [A] processing "/usr/local/nagios/etc/nagios.cfg"
> [I] nagios_user=nagios
> [I] nagios_group=nagios
> [A] checking RRDtool (/usr/bin/rrdtool)
> [I] RRDtool: RRDtool 1.2.26
> [I] RRDs perl module not installed
> [A] processing "/usr/local/nagios/etc/resource.cfg"
> [I] using "/usr/local/nagios/var/objects.cache" entries
> [E] value "/usr/bin/printf "%b"
> "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n"
>>> /usr/local/nagios/var/service-perfdata.out" for
> "service_perfdata_command" is invalid
> [H] http://docs.pnp4nagios.org/pnp-0.6/config#sync_mode
> [E] value "/usr/bin/printf "%b"
> "$LASTHOSTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$HOSTSTATETYPE$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$\n"
>>> /usr/local/nagios/var/host-perfdata.out" for "host_perfdata_command" is
> invalid

This config is wrong while using synchronous mode.

http://docs.pnp4nagios.org/pnp-0.6/config

Please check nagios.cfg for service_perfdata_command and host_perfdata_command
 
Joerg

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
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] pnp4nagios

2010-04-07 Thread Joerg Linge
Am 08.04.10 04:24, schrieb Marc Powell:
> 
> On Apr 7, 2010, at 12:45 PM, Trisha Hoang wrote:
> 
>> In our environment, the slaves send check results in bulk to the master, 
>> which means that all the nagios macros associated with the results are no 
>> longer available once reached the master.
> 
> I can't test this but I'm 99% sure there's no reason they shouldn't be 
> available unless you've disabled macros-as-environment-variables in 
> nagios.cfg. There's no distinction made between an active check and a passive 
> check that I know of for this feature.

Only the used check_command is missing on the master.

More Infos on -> http://docs.pnp4nagios.org/pnp-0.6/advanced

Joerg

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Change the Syslog Facility in Nagios 3

2010-03-16 Thread Joerg Linge
Am 16.03.10 13:57, schrieb Traiano Welcome:
> Hi List
> 
> We have a requirement that our nagios (Version 3.0.6 running) instance send 
> log messages to syslogd  using the Local5 facility instead of the "User" 
> facility. Currently it seems nagios only logs via "User", is there any way to 
> change this?

base/logging.c line 223ff

syslog(LOG_USER|LOG_INFO,"%s",buffer);

Per default it look like facility USER and not LOCAL5

Joerg


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Statistics of alerts and notifications

2010-03-12 Thread Joerg Linge
Am 12.03.10 14:18, schrieb Ryan Kovar:
> All,
>I am trying to find out how many alerts/notifications my nagios system
> has processed in the last year.  Has anyone written a script or know how to
> dig this out of the nagios innards?  I am not looking for a itemized list,
> just some statistics to show for our yearly "State of Nagios" report.
> Thanks!

grep NOTIFICATION /usr/local/nagios/var/archives/*2010*.log | wc -l

Just an example ...

Joerg

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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 Plugin for tomcat

2010-03-10 Thread Joerg Linge
Am 10.03.10 12:16, schrieb Kaushal Shriyan:
> Hi,
> 
> is there a Nagios Plugin to measure XMS (minimum heap size) and XMX
> (maximum heap size) which is a parameter to set for CATALINA_OPTS for
> tomcat application server?

http://labs.consol.de/lang/de/jmx4perl/

Joerg

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] A bit OT Apache- nagios refresh issue

2010-03-01 Thread Joerg Linge
Am 01.03.10 15:31, schrieb Marc Powell:
> 
> On Mar 1, 2010, at 7:29 AM, Frost, Mark {PBG} wrote:
> 
>>
>> I too have encountered this issue and also find it quite annoying.  I did 
>> refreshes a lot with 3.0.6 and find them useless now that I'm redirected to 
>> the home page.  (I was just going to post something about this).
>>
>> Did the backend web code change with 3.2.0?
> 
> A bit. index.html is now index.php. Because there's no actual PHP in there 
> yet, you can rename share/index.php to share/index.html to regain the old 
> behavior. You can do this now but you may not be able to in future releases.

Where is the need for PHP to build a static HTML frameset?

Just my 2 cent

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] A bit OT Apache- nagios refresh issue

2010-03-01 Thread Joerg Linge
Am 01.03.10 14:01, schrieb Assaf Flatto:
> Hello List
> 
> I am having an annoying issue with the refresh option with nagios 3.2 .
> When ever i go to a page (cgi) and press the F5 or CTRL-R to reload the 
> page , the apache sends  me to the "home page" and not to the same CGI 
> with new data.
> 
> The URL in the browser is http://nagios/nagios/ and it works fine with 
> nagios 3.0.6 .
> I compared the Apache conf and could not find the difference .
> below is a section of my apache log showing the my access and doing a 
> refresh .

Just add a header line to share/index.php



This must be the first line in this file.

Or just rename index.php to index.html

Joerg

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Monitoring Tomcat

2010-02-17 Thread Joerg Linge
Am 17.02.10 11:03, schrieb Tarak Mukherjee:
> 
> Hi List,
> 
> I'm interested tomcat monitoring. Some times i have a problems with java, for 
> example i get
> 
> java.lang.OutOfMemoryError
> 
> 
> 
> some idea is monitor catalina.out log for such errors, is there any 
> possibilities to check with Nagios.

jmx4perl works perfect.

http://labs.consol.de/lang/de/jmx4perl/

Joerg

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
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_mem plugin for Solaris10 with perfdata?

2010-02-15 Thread Joerg Linge
Am 15.02.10 09:50, schrieb lennart.k...@softronic.se:
>  
> 
> Hello everyone!
> 
>  
> 
> Does anybody have or knows where i can get a "check_mem" for solaris 10, both 
> with and without Zfs.

Like this one?

http://sysadminsjourney.com/content/2009/06/05/new-and-improved-checkmempl-nagios-plugin

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
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] status.cgi parameters

2010-01-29 Thread Joerg Linge
Am 29.01.10 11:03, schrieb Assaf Flatto:
> Hello
> 
> I am trying to find the service and host status values for setting 
> specific views from the status cgi.
> 
> I looked in the nagios documentation but was unable to find it .
> 
> I know it is the the Wolfgang book ( ordered - still waiting for it ) , 
> but I can not wait till it arrives .
> 
> Does any one knows the parameters ? or can point me to an online page 
> that lists them ?

http://nagios.cvs.sourceforge.net/viewvc/nagios/nagios/include/cgiutils.h.in?revision=1.29&view=markup

Line 276 ff

Joerg

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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 parameters and plotting them in terms of % (Percentage)

2010-01-07 Thread Joerg Linge
Am 07.01.10 14:25, schrieb Jatin Davey:
> Hi Marc
> 
> Can you elaborate on what you mean by Nagios does not support it 
> directly. My understanding is that that the check_nrpe process does not 
> have such provisions to get the data in the manner that i have asked 
> for. Please correct me if i am wrong.
> 
> Also i checked PNP4Nagios , it has support for monitoring on linux boxes 

PNP4Nagios can create graphs based on performance data provided by nagios 
plugins.
PNP is not limited to linux hosts.

http://docs.pnp4nagios.org/pnp-0.6/about

Joerg 

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
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] Log file monitoring with NSCA

2009-11-19 Thread Joerg Linge
Kumar, Ashish schrieb:
> Hello list,
> 
> We are testing log monitoring with NSCA and Nagios 3.0.6 on RHEL 5.  The
> NSCA is setup properly and functioning.  Our script is executing every
> minute to check for any critical and warning messages in log files and sends
> them one by one to NSCA server.
> 
> We executed following test cases:
> #1 100 messages with same contents but different severity (crit and warn)
> Result: OK, we get 100 e-mails
> 
> #2 100 messages with different contents and different severity
> Result: OK, we get 100 e-mails
> 
> #3 100 messages with different contents but same severity (crit or warn)
> Result: FAILED, we receive only 1 e-mail generated by first alert.  We have
> verified this in "View History For This Service"
> 
> I was just wondering if there is a way to not suppress notifications
> regardless of message contents and severity?  So we get an alert every time
> NSCA sends something interesting.

'is_volatile 1' is defined for this kind of services?

http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service

Joerg

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Retain last output

2009-11-19 Thread Joerg Linge
Flyinvap schrieb:
> Hi,
> 
> I would like to use last output and last performance data from a
> service in a plugin . The $SERVICEOUTPUT$ and $SERVICEPERFDATA$ macros
> contain this but a said in the doc :
> 
> " These macros are not valid for the service they are associated with
> when that service is being checked (i.e. they make no sense, as they
> haven't been determined yet). "
> 
> So when the plugin is executed, these macros are empty. How can I
> retrieve these data. I would like to avoid using temporaries files.

On-Demand Macros should work in this case.
http://nagios.sourceforge.net/docs/3_0/macros.html

Joerg

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Supression of action_url ?

2009-11-14 Thread Joerg Linge
Jason Frisvold schrieb:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hi all,
> 
>   I'm working on pnp4nagios integration with our current nagios
> deployment and I've run into a cosmetic snag.  Some of the services we
> monitor either don't have performance data, or it doesn't make sense to
> record the performance data.  For those services, I can easily set
> process_perf_data to 0 and it won't create the data.  That part works
> fine, but the result is a cosmetic issue in that the "Perform Extra
> Service Actions" icon still appears in the Nagios gui.
> 
>   One method of preventing this is to put action_url fields in all of the
> relevant service templates, and not in the ones that don't need it.
> However, this makes for lots of work and a rather large, confusing
> configuration.  So is there a way to tell nagios to supress the action
> button for given services/hosts ?

http://docs.pnp4nagios.org/pnp-0.6/webfe

set "process_perf_data 0" in srv-pnp and/or host-pnp templates.
Make sure these templates a used first because object definition within first 
template wins.


Joerg

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] JBOSS

2009-10-28 Thread Joerg Linge
Eduardo Barreto schrieb:
> Hi All,
> 
> How can I monitor a jboss server?

jmx4perl is cool!

http://labs.consol.de/lang/en/jmx4perl/

Joerg

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
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] requirednagiosgraph 1.3.1

2009-08-11 Thread Joerg Linge
harish tyagi schrieb:
> Dear All
> Please send me the download  nagiosgraph1.3.1.tar.gz file it is urgent 
> for me.

http://sourceforge.net/projects/nagiosgraph/files/

Found by google

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Problem with pnp4nagios

2009-07-09 Thread Joerg Linge
Kaplan, Andrew H. schrieb:
> Followup:
> 
> I came across the following entry in the nagios.log file:
> 
>  Warning: Host performance command 'process-host-perfdata' was not found - 
> host
> performance data will not be processed!
> 
> What would the correct syntax be, assuming it is in the commands.cfg file, for
> the process-host-perfdata command?  

http://www.pnp4nagios.org/pnp/config

define command {
  command_nameprocess-service-perfdata
  command_line/usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl
}

define command {
  command_nameprocess-host-perfdata
  command_line/usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl 
-d HOSTPERFDATA
}

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Problem with pnp4nagios

2009-07-09 Thread Joerg Linge
Kaplan, Andrew H. schrieb:
> 
> 
> Hi there --
> 
> I went through the motions of installing pnp4nagios on our 3.1.2 system. 
> I ran the
> verify_pnp_config script and the output from it is shown below:
> 
> [...@romonitor pnp]$ sudo /home/ahk/Nagios/pnp\ 4\ 
> nagios/pnp-0.4.14/contrib/verify_pnp_config -c 
> /usr/local/nagios/etc/pnp/config.php -m default

[ --- cut ---]

quote from verify_pnp_config -h

parameters:
-h, --helpprint these lines
-b, --basedir=s   Nagios Base directory (default: /usr/local/nagios)
-B, --binary=sNagios binary (default: nagios)
-c, --config=sNagios main config file (default: 
/usr/local/nagios/etc/nagios.cfg)

-c  not config.php !

Joerg

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] missing pnp graphs

2009-04-24 Thread Joerg Linge
Seth Simmons schrieb:
>   
> 
> I have a test box to try pnp.  For some reason, the graphs for
> performance data are showing with a red x.

Hi Seth,

please check path to rrdtool in etc/pnp/config.php

$conf['rrdtool'] = "/usr/bin/rrdtool";

Joerg

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
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] Pppnp4nagios graph customization

2009-04-14 Thread Joerg Linge
MAD schrieb:
> Hi Mohandas
> 
> Here is a template for swap utilization performances with colours changing 
> following the service state. I hope this will be what you've been looking 
> for. I didn't tested it by I'm quite confident ;). All you have to do is to 
> copy the file in the 'templates' directory (not in the 'templates.dist' one) 
> and this should work.

@MAD: Good Job!

i would like to include this Template in PNP-0.4.14
How do you feel about this?

Cheers
Joerg


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
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] Pppnp4nagios graph customization

2009-04-09 Thread Joerg Linge
Jim Avery schrieb:
> 2009/4/9  :
>> Hi All,
>>
>> We have installed nagios (3.0.5) on Solaris sparc box and configured rrdtool
>> (1.2.19) along with pnp4nagios- npcd (0.4.13) for dashboard/graph.
>>
>> By default we are getting following graph for locolhost free swap. I want to
>> configure  following requirements :
>>
>> (1) can we add more variable (i.e say "Total Swap" ) in graph ?
>>
>> (2) Can we create different-different color in graph for different-different
>> status critical-> RED,OK->Green,Warnijng->Yellow ?
>>
>> (3) last question how can we change graph updation time interval (here it's
>> showing as 20 Minutes) however in our service definition,it's 10 Minutes
>>
>> Following is default graph for your better understanding :
> 
> 
> I believe there's a typo in the default.php template which means
> default graphs don't show the maximum value.  Copy the file
> "default.php" from /usr/local/nagios/share/pnp/templates.dist/ to the
> ../templates folder, giving it the name "check_local_swap.php".  Then
> edit this file to correct the problem.
> 
> The erroneous section is:
> 
> if ($WARN[$i] != "") {
> $warning = $WARN[$i];
> }
> if ($CRIT[$i] != "") {
> $critical = $CRIT[$i];
> }
> if ($MIN[$i] != "") {
> $lower = " --lower=" . $MIN[$i];
> $minimum = $MIN[$i];
> }
> if ($CRIT[$i] != "") {< $upper = " --upper=" . $MAX[$i];
> $maximum = $MAX[$i];
> }
> if ($UNIT[$i] == "%%") {
> $vlabel = "%";
> }
> 

< ---cut -->

This issue is fixed since SVN Revision 555 and also in 0.4.13

http://pnp4nagios.svn.sourceforge.net/viewvc/pnp4nagios/trunk/share/pnp/templates.dist/default.php?view=annotate

Cheers Joerg

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
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] pnp4nagios - view graph for disabled service

2009-04-04 Thread Joerg Linge
Dhaval Thakar schrieb:
> Hi,
> 
> I am using pnp4nagios to generate rrd graphs for all nagios hosts &
> services.
> It is working fine for active services,
> 
> If I am trying to view graph for disabled / removed service, graph is
> disabled.
> e.g I am monitoring traffic for eth0 & eth1 for a month. for some reason I
> stopped monitoring eth1, now I need utilization graph. 
> in this case eth1 is disabled in pnp4nagios.
> 
> I am unable to view graph unless I change time for eth1.xml (NAGIOS_TIMET)
> 
> Is there any option in pnp to view graph for disabled service (apart from
> time change in respective xml file), kindly guide me to solve this.

Just change "$conf['max_age']" in etc/pnp/config.php

Cheers
Joerg

--
___
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] Monitoring Logs under Windows 2003 server

2009-03-03 Thread Joerg Linge
Michael Medin schrieb:
> Hello,
> 
> I would suggest someone to "port" check_logfiles to "windows" (ie 
> working with for instance pure Perl or some such).
> That is the "point" of the NRPE support in NSClient++ (and others)

Hi Michael,
check_logfiles is already availably for windows.

http://www.consol.de/opensource/nagios/check-logfiles/

Joerg

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] PNP performance

2009-02-06 Thread Joerg Linge
Michael W. Lucas schrieb:
> On Fri, Feb 06, 2009 at 07:03:36PM +0100, Joerg Linge wrote:
>> Michael W. Lucas schrieb:
>>> Hi,
>>>
>>> I have Nagios 3.0.6 on FreeBSD 7.1/amd64, with ~1500 services on ~250
>>> hosts.  I've been investigating replacing our MRTG setup with PNP.
>>> PNP runs fine, and we are keeping about 1450 MRTG graphs.  Our plans
>>> call for at least doubling the number of services and graphs.
>>>
>>> Adding process_perfdata.pl has increased the system load from
>>> "minimal" to 10-20.  I see that process_perfdata.pl will not run under
>>> ePN.
>>>
>>> Anyone out there have ways to reduce process_perfdata.pl's system
>>> load, short of rewriting it in C or making it ePN-friendly?
>> Do you already use the NPCD ?
>>
>> http://www.pnp4nagios.org/pnp/modes
> 
> Yes, we use NPCD.  It made it possible to get this far.  :-)

Okay, whats about the rrdtool version? Do you use the rrdtool perl modules?

Joerg
 

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
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] PNP performance

2009-02-06 Thread Joerg Linge
Michael W. Lucas schrieb:
> Hi,
> 
> I have Nagios 3.0.6 on FreeBSD 7.1/amd64, with ~1500 services on ~250
> hosts.  I've been investigating replacing our MRTG setup with PNP.
> PNP runs fine, and we are keeping about 1450 MRTG graphs.  Our plans
> call for at least doubling the number of services and graphs.
> 
> Adding process_perfdata.pl has increased the system load from
> "minimal" to 10-20.  I see that process_perfdata.pl will not run under
> ePN.
> 
> Anyone out there have ways to reduce process_perfdata.pl's system
> load, short of rewriting it in C or making it ePN-friendly?

Do you already use the NPCD ?

http://www.pnp4nagios.org/pnp/modes

Joerg

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
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] Using nagios check_http for webbasedauthentication

2009-01-22 Thread Joerg Linge
Venugopal S schrieb:
> 
> 
> Hi Marc,
> 
>  
> 
> * This is my command in commands.cfg : *
> 
>  
> 
> / define command{ /
> 
> / command_namecheck_http /
> 
> / command_line$USER1$/check_http -I $HOSTADDRESS$ 
>   /
> 
> / } /
> 
>  
> 
> I executed the following command :
> 
>  
> 
> ./check_http -I 199.107.237.196 -H  ww12.1800flowers.com -u /signin.do 
> -p 80 -P "email= svenugop...@gmail.com&password=podhum" -s "welcome venu"
> 
>  
> 
> and it threw
> 
>  
> 
> HTTP CRITICAL - string not found|time=0.080070s;;;0.00 size=38300B;;;0
> 
>  
> 
> Any idea why ?

Add -v to you test a analyze te response. There is no string "welcome venu" in 
the response. 


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] re-execute an event handler just in case the service stays DOWN

2009-01-22 Thread Joerg Linge
Marc Haber schrieb:
> Hi,
> 
> I would like one event handler to be re-executed just in case it
> failed for the first time. The docs
> (http://nagios.sourceforge.net/docs/3_0/eventhandlers.html) say "you
> don't want that", but I am fairly confident that I want it in this case.
> 
> I have a nagios host in a unattended site which generally gets its
> internet access from the site network. In case of a site network
> failure, the host needs to dial in to the Internet via modem to be
> reachable for debugging purposes.
> 
> The nagios installation monitors a host on the Internet and has an
> event handler connected with this host which will initiate the dial-up
> when the "Internet host" goes into a HARD DOWN state.
> 
> I would like this event handler to be re-executed in case the dial-up
> connection doesn't come up or goes down _before_ nagios has detected
> that the "Internet host" is UP again.
> 
> Is there any way to accomplish this or am I better of with a cronjob
> which will initiate the dial-up from outside nagios?
> 
> Any hints will be appreciated.,

Hi Marc,
just use a notification to fire the eventhandler script.
Disadvantage: only triggered on HARD states.
Advantage: notification_interval to re-execute the script.

Joerg

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Where does nagios keeps data for Reporting/trend/availabiility/...

2009-01-14 Thread Joerg Linge
Jaime Ventura schrieb:
> Hello,
> Nagios can give you precious information about host/service
> trend,availability...
> So, I need to backup the files were the data used for reporting is.
> Does any one knows which files should I backup?

/var/archives/*

Cheers Joerg

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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 3.0.5 email notifications fail {Spam?}

2009-01-13 Thread Joerg Linge
alex alex schrieb:
> Hi again.
> I have bad news(for me,at least). I remove the flap announcements and 
> notifications are not working. Here's the debug log for nagios:
> 
> [1231835680.728809] [032.2] [pid=14526] ** Checking host notification 
> viability for contact 'user'...
> [1231835680.728838] [032.2] [pid=14526] We shouldn't notify this contact 
> about DOWN states.
> [1231835680.728858] [032.0] [pid=14526] No contacts were notified.  Next 
> possible notification time: Thu Jan  1 02:00:00 1970
> [1231835680.728873] [032.0] [pid=14526] 0 contacts were notified.
> 
> 
> So it seems that the contacts didn't inherited the template???  were 
> found. Again, my configs read:
> 
> # contactgroups admins
> define contactgroup {
> contactgroup_name   admins
> alias   admins
> members nagios,user
> }
> #contact template
> define contact {
> namegeneric_contact
> host_notification_period24din24_7din7
> service_notification_period 24din24_7din7
> host_notification_options   d,u,r,n,f
> service_notification_optionsu,c,w,r,n,f
> host_notification_commands  notify-host-by-email
> service_notification_commands   notify-service-by-email
> register0
> }


Do you realy want to use "service_notification_options n"?

http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contact


If you specify n (none) as an option, the contact will not receive any type of 
service notifications. 


Cheers Joerg

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Can't force active check in Nagios 3.0.6?

2008-12-11 Thread Joerg Linge
Frost, Mark {PBG} schrieb:
> Is it just my imagination or can one not force an active check with
> Nagios 3.0.6 anymore?
> 
> I was running 3.0.2 (and earlier versions) and never had a problem with
> this.  I typically use this to validate a new check I've setup without
> having to wait until the next time the passive check is supposed to run.
> 
> Now if I click "Re-schedule the next check of this service" in the
> Service Commands are of the web interface, it accepts it (I always hit
> the "force check" checkbox) and I see the command request in the logs,
> yet it never does it.  It just keeps waiting until the next passive
> check runs and it ignores my request.
> 
> At first I thought I just wasn't close enough attention, but now I'm
> quite certain this is happening since we went to 3.0.6.

Hi Mark,
this issue is already reported by Matthias on nagios-devel

http://permalink.gmane.org/gmane.network.nagios.devel/5848

Joerg 

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
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] problems with action_url/notes_url URL truncation

2008-12-10 Thread Joerg Linge
Eric Pearce schrieb:
> Sorry if this in the docs or FAQ - I didn't see it if it is.
> I'm running nagios 3.0.6 and 1.4.13 plugins.
> I want to have a URL in the email host notification that would allow me 
> to connect to an Avocent KVM switch.  This is what I have for the host 
> definition:
>  
>  
> define host{
> use generic-host
> host_name   dbtest
> alias   dbtest
> contact_groups  buildpeople
> action_url  
> https://kvmswitch/cgi-bin/kvm.cgi?&file=overview-dsr&userID=1326154034&index=25
>  
> 
> }
>  
> This URL works fine if you use it directly in a browser. 
>  
> I changed the notify-host-by-email command to include action_url via 
> $HOSTACTIONURL$:
>  
> # 'notify-host-by-email' command definition
> define command{
> command_namenotify-host-by-email
> command_line/usr/bin/printf "%b" "* Nagios 
> *\n\nNotification Type: $NO
> TIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: 
> $HOSTADDRESS$\nInfo: $HOST
> OUTPUT$\n\nDate/Time: $LONGDATETIME$\nKVM URL: $HOSTACTIONURL$\n" | 
> /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is 
> $HOSTSTATE$ **" $CONTACTEMAIL$
> }
> 
> But the resulting email message seems to have lost all but the first "&" 
> character, so the URL now looks like:
>  
> KVM URL: 
> https://kvmswitch/cgi-bin/kvm.cgi?file=overview-dsruserID=1326154034index=25
>  
> What am I missing here? I see others posting examples of URLs with 
> arguements, which implies that they are working for them.
> thanks

Hi Eric,
please check your nagios.cfg for illegal_macro_output_chars=

kind regards,
Joerg

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
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] Notifications if a servicegroup is down on more than 1 server

2008-11-25 Thread Joerg Linge
[EMAIL PROTECTED] schrieb:
> Hi,
>  
> I have a strange
> configuration that I have to applied to my Nagios and I cannot find the way to
> do it.
>  
> Since I
> have a load balancer that monitor the apache status on the servers, I don’t
> want to send alerts if one of then is DOWN, I prefer to wait until I have at
> least 2 of them DOWN and specific services on them.
>  
> For
> example: I have 5 hosts with 5 services each.
>  
> I want to send
> notifications of Critical if:
>   --- Service 1, Service 2, and Service 3 are
> DOWN on at least 2 of the 5 hosts.
>  
>  
> Someone
> knows if it is possible and how to apply it on Nagios 2?

Have a look on check_cluster

http://nagios.sourceforge.net/docs/2_0/clusters.html

Kind regards 
Joerg

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] pnp error: *** CRITICAL Timeout after 5 Sec. ****

2008-10-07 Thread Joerg Linge
Michael W. Lucas schrieb:
> Hi,

Hi Michael,

> I've searched on this problem, and haven't found anyone else
> experiencing it in any mailing list archive or forum.

The best place to get support is the pnp4nagios-users Mailinglist or the 
Forums on www.nagios-portal.org

>  What could be
> causing these timeouts, and how badly are they harming my data?
 >
> Details:
> 
> I have PNP installed and almost working with NPCD on FreeBSD
> 7.0/amd64, with nagios 3.0.2.  Nagios gathers perfdata and puts it in
> the perfcache.  process_perfdata frequently runs, and puts data into
> RRDs.  The process_perfdata.pl debugging log shows all sorts of
> successful updates, but then I get an entry like this:

The current PNP Version is PNP-0.4.11.
Which Version do you use?

Also some more informations about you Nagios installtion will be useful.
Like number of Host/Service checks per minute.


> 2008-10-07 12:15:39 [62022] No Custom Template found for check_dcerpc 
> (/usr/local/etc/pnp//check_commands/check_dcerpc.cfg) 
> 2008-10-07 12:15:39 [62022] RRD Datatype is GAUGE
> 2008-10-07 12:15:39 [62022] Template is check_dcerpc.php
> 2008-10-07 12:15:39 [62022] data2rrd called
> 2008-10-07 12:15:39 [62022] RRDs::update 
> /var/spool/nagios/pnp/rrd/viper025.am.local/Windows_DCERPC.rrd 
> 1223396130:0.002143
> 2008-10-07 12:15:39 [62022] *** CRITICAL Timeout after 5 Sec. 
> 
> When this occurs a perfdata file remains, such as:
> 
> service-perfdata.1223396254-PID-88114

You can adjust the timeout in etc/pnp/process_perfdata.cfg

> This file is not deleted.  Once NPCD thinks it's done, it processes
> these files again renames it to:
> 
> service-perfdata.1223396194-PID-87765-PID-90732
> 
> If I let NPCD run, it eventually processes and removes all of these
> files.
> 
> If these errors cause occasional blank spots in my graphs, that's OK;
> I can live with that while I investigate the timeouts.  If they will
> cause obviously incorrect or misleading graphs, that's more serious
> and requires that I shut down user access to PNP until I debug it.
> (No data is better than wrong data!)

Thats changed in PNP-0.4.11

Regards Joerg


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] config mistake

2008-09-20 Thread Joerg Linge
Kermito le kermit schrieb:
> hello all,
> 
> I see some thing wrong in nagios, when nagios run with 4 hosts and 5 services 
> i add 1 host and 2 services , i check the config file with
> 
> /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
> 
> all is ok
> 
> i restart nagios /etc/init.d/nagios restart
> 
> fine , i see in web interface in array resume 5 hosts and 7 services.
> 
> the problem after some moment in the web interface i see my all config 4 
> hosts and 5 services after refresh
> 
> in documentation of nagios i see something calling  precashed file
> http://nagios.sourceforge.net/docs/3_0/faststartup.html
> 
> 
> nagios 3 not in nagios 2 (i never see this when i use nagios 2)
> 
> some help thanks

http://www.nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=false

Regards
Joerg

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Monitoring many cisco switches for interface errors

2008-09-18 Thread Joerg Linge
Giovanni Torres schrieb:
> I would like to monitor interface errors on the cisco switches that I 
> manage.  Most of them are 48-port switches, so I dont want to clutter 
> the nagios service detail page with hundreds of service checks for each 
> port.
> 
> Are any of you doing the same thing and if so, how are you handling it? 
>  What would be nice is to have one check per switch that will check all 
> ports and only report a warning if one or more ports are experiencing 
> errors and report only those ports in the service problems page.
> 
> I may just end up having to script something, but I'm thinking I will 
> need a database to keep track of the counters and compare the current 
> values with previous ones in order to detect any increments.

You can use check_snmp_int to do the monitoring stuff and check_multi to 
combine 48 checks to one nagios service.

http://www.my-plugin.de/wiki/projects/check_multi/start
http://nagios.manubulon.com/snmp_int.html

Regards
Joerg

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] which network interface check plugin to use?

2008-09-12 Thread Joerg Linge
Michael W. Lucas schrieb:
> Hi,
> 
> Today, I use MRTG to track switch and router traffic, interface
> errors, and so on.  We use Nagios separately to generate alarms.  I
> think we could replace our MRTG install with Nagios and PNP.  I'm
> certain someone here has done this.
> 
> I went looking for interface-stat-checking plugins, and found many.
> Quite a few, actually.  Dozens.  In different versions.  Many with
> similar names, some updated and re-relased by people other than the
> author with slightly different functionality than all the other
> updated versions of the same plugin released by other people.  Rather
> than spend days trying to test all of these, I thought I'd just beg
> for guidance here.  I'm looking for something that:
> 
> a) can be configured to monitor based on port
> name, hopefully using a regex.  (I have many switches to monitor, and
> while some of them have FastEther port 0/1 and another has GigE 0/1, I
> can get away with calling it port 0/1.)
> 
> b) tracks both traffic and interface errors
> 
> c) looks decent in PNP
> 
> d) snmp v3

http://nagios.manubulon.com/snmp_int.html

check_snmp_int will do the job very well

Joerg

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] NAGVIS minimal broker options

2008-09-09 Thread Joerg Linge
Am Montag, 8. September 2008 19:19 schrieb Israel Brewster:
> In trying to implement NAGVIS on my system, I have been running into  
> performance issues where the NDO daemon/mysql consume vast amounts of  
> processor power, essentially bringing nagios and everything else to a  
> halt until they complete. This is a problem (I belive) with mysql, and  
> as such can't really be helped directly (except by moving the sql  
> server to another machine), however I was thinking it may be possible  
> to minimize the impact by telling nagios to broker less than  
> everything, on the assumption that nagios is sending some stuff to the  
> database that nagvis doesn't actually need. Is this, in fact, the  
> case? If so, what are the minimal broker options needed to make nagvis  
> happy? Thanks.


Based on nagios 3.0.3

event_broker_options=-1 is used in my nagios.cfg

data_processing_options=16644865 is used in my ndomod.cfg

Gerhards tool will help you to find the best value for your system
http://www.consol.de/opensource/nagios/ndo-data-processing-options/ 

Regards
Joerg

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] send_nsca - help

2008-08-19 Thread Joerg Linge
Murali Edula schrieb:
> Hi,
> 
>  
> 
> we are in the process of configuring Nagios monitoring tool in 
> distribution model.
> 
> So I have configured nsca daemon on centrol server and send_nsca on 
> distributed server.
> 
> *Versions : Nagios 3.0.3, nsca 2.7.2 – I hope these are latest versions.*
> 
>  
> 
>  
> 
> 1.   Daemon configured fine and listening requests.
> 
> 2.   Send_nsca also working great if I ran stand alone on 
> distribution server . Example
> 
> ./send_nsca -H 10.1.1.216 -c /usr/local/nagios/etc/send_nsca.cfg  
> abc.baytree.com 'Current Users’ 0 'User count OK’
> 
>  
> 
> But when I configure ocsp_command is not working. Nagios.log shows follows
> 
>  
> 
> 
> 
> [1219176254] Warning: Attempting to execute the command 
> "/usr/local/nagios/libexec/eventhandlers/send_service_check 
> abc.baytree.com 'Current Users' 0 'USERS OK - 11 users currently logged 
> in'" resulted in a return code of 127.  Make sure the script or binary 
> you are trying to execute actually exists...
> 
>  
> 
> ===
> 
>  
> 
>  
> 
> Please help me if I am missing anything here.
> 
>  
> 
> My ocsp entries Nagios.cfg – distributed server
> 
>  
> 
> obsess_over_services=1
> 
> obsess_over_hosts=1
> 
> ocsp_command=send_service_check
> 
> ochp_command=send_host_check
> 
> ocsp_timeout=5
> 
> ochp_timeout=5
> 
>  
> 
> 
> 
>  
> 
> commands.cfg
> 
> define command{
> 
> command_name   send_service_check
> 
> command_line   $USER1$/eventhandlers/send_service_check 
> $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATEID$ '$SERVICEOUTPUT$'
> 
>   }
> 
>  
> 
> ===
> 
> Code – Shell script
> 
> /usr/local/nagios/libexec/eventhandles/ send_service_check 
> 
>  
> 
>  
> 
> #!/bin/bash
> 
> # Script : send_service_check
> 
> #PRINTF="/usr/bin/printf"
> 
> CMD="/usr/local/nagios/bin/send_nsca"
> 
> CFG="/usr/local/nagios/etc/send_nsca.cfg"
> 
> HOST=$1
> 
> SRV=$2
> 
> RESULT=$3
> 
> OUTPUT=$4
> 
> #
> 
> /bin/echo "$1","$2","$3","$4" | $CMD -H 10.1.1.216 -c $CFG -d ","
> 

you call eventhandlers/send_service_check but you script is named 
eventhandles/send_service_check


Regards

Joerg

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] PNP Nagios php-gd error

2008-06-30 Thread Joerg Linge
Marcel schrieb:
> Yeah, man, i'm in a situation like yours... Trying to test pnp, 
> nagiosgrapher, and so on...
> 
> PNP seems to me to be the most scalable solution, as it implements batch 
> mode updates... But I'm still trying to tweak configurations and stuff...
> 
> The major problem to me is that the documentation I've found googleing, 
> is all in german... :)
> 
> i've translated with translate.google.com  
> but it's still confusing to me...
> 
> At least, my host graph is plotting correctly, but the hostname is 
> showing _HOST_, instead of localhost as I would expect...
> 
> Well, I'm still trying to understand the templates and such...

Nope, dokumentation is available in english

http://www.pnp4nagios.org/pnp/start

Regards
Joerg


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] using Linux for a specific Windows Event

2008-06-24 Thread Joerg Linge
Hari Sekhon schrieb:
> Michael Dalton wrote:
>> I am using Fedora 6 with nagios 2.9 monitoring multiple windows 2003 
>> servers. I have looked on the message boards for a solution and have 
>> not come up with one.
>>
>> What I would like to do is monitor a specific windows event…..event 
>> id=55….(a disc failure or beginning to fail).
>>
>> Has anyone else done this?
>>
> Nagios is not really the right tool for this. You should work on 
> building a centralized logging infrastructure and have alerting come 
> from there.
> 
> I think Nagios has on occasion been (ab)used like this, and I think I 
> saw something to do this on windows, but I can't remember off the top of 
> my head. Have you tried NagiosExchange.org for some windows event 
> grepping plugin?

Oh yes thats right.

An other possible solution is using evntwin.exe ( part of the microsoft 
snmp agent ) to send snmp traps to nagios. If your familiar with snmp ;-)

Joerg


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] Monitoring data throuhput from SAN switches

2008-06-12 Thread Joerg Linge
Christian Schneemann schrieb:
> On Thursday June 12 2008 03:30:12 pm Joerg Linge wrote:
>> Christian Schneemann schrieb:
>>> On Thursday June 12 2008 02:25:49 pm Max wrote:
>>>> On Thu, Jun 12, 2008 at 7:30 AM, Christian Schneemann
>>>>
>>>> <[EMAIL PROTECTED]> wrote:
>>>>> Hi,
>>>>>
>>>>> I want to monitor the data throughput from SAN Switchen in nagios, so
>>>>> that I can use pnp after that to visualise it.
>>>>>
>>>>> I can't believe that I would be the first one who wants to do this ;)
>>>>>
>>>>> Any recommendations? Is there already a plugin for this?
>>>>>
>>>>> I'm playing around with snmp, but I don't want to reinvent the wheel ;)
>>>> For most SAN switches you do not have to reinvent the wheel :), just
>>>> use one of the many plugins available that allow you to query IF-MIB
>>>> metrics.
>>> Hi,
>>> I want to monitor the FC-Ports, not the ethernetports.
>>>
>>> I've played around with the FCMGMT-MIB. And here with
>>> connUnitPortStatCountTxObjects and connUnitPortStatCountRxObjects.
>>> My problem is, that tey are hex values and they are to big for perl's
>>> hex() function. (perl 5.8.8)
>> Hi Christian,
>>
>> try swFCPortTxWord and swFCPortRxWord ( tested on Brocade switches )
> thanks, wich MIB are they in? I can't find them

Just a little code example.

Not enough to put the plugin on nagiosexchange
Joerg

[...]
my $swFCPortPhyState = ".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.3.$opt_P";
my $swFCPortLabel = ".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.36.$opt_P";
my $swFCPortTxWords = ".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.11.$opt_P";
my $swFCPortRxWords = ".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.12.$opt_P";

my $result = $session->get_request(
-varbindlist => [$swFCPortPhyState, $swFCPortTxWords, 
$swFCPortRxWords, $swFCPortLabel]
);

$session->close;

if (!defined($result)) {
printf("ERROR: %s.\n", $session->error);
exit 1;
}

$opt_P = $opt_P-1;

my $PerfData = "|TxWord=$result->{$swFCPortTxWords}c 
RxWord=$result->{$swFCPortRxWords}c";
my $label = $result->{$swFCPortLabel};
for ($result->{$swFCPortPhyState}){
if (/1/){ print "CRITICAL: No Card found in Port $opt_P ($label) 
$PerfData\n" and exit 2;};
if (/2/){ print "OK: No Gbic found in Port $opt_P ($label) $PerfData\n" 
and exit 0;};
if (/3/){ print "CRITICAL: Laser fault on Port $opt_P ($label) 
$PerfData\n" and exit 2;};
if (/4/){ print "CRITICAL: Port $opt_P is not recieving Light ($label) 
$PerfData\n" and exit 2;};
if (/5/){ print "CRITICAL: Port $opt_P is not in Sync ($label) 
$PerfData\n" and exit 2;};
if (/6/){ print "OK: Port $opt_P is in Sync ($label) $PerfData\n" and 
exit 0;};
if (/7/){ print "CRITICAL: Power fault on Port $opt_P ($label) 
$PerfData\n" and exit 2;};
if (/8/){ print "CRITICAL: Diag Fault on Port $opt_P ($label) 
$PerfData\n" and exit 2;};
if (/9/){ print "CRITICAL::Lock Ref on Port $opt_P ($label) $PerfData\n" 
and exit 2;};
}

print "UNKNOWN: State id $result->{$swFCPortPhyState} not known for Port 
$opt_P\n";
exit 3;

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] Monitoring data throuhput from SAN switches

2008-06-12 Thread Joerg Linge
Christian Schneemann schrieb:
> On Thursday June 12 2008 02:25:49 pm Max wrote:
>> On Thu, Jun 12, 2008 at 7:30 AM, Christian Schneemann
>>
>> <[EMAIL PROTECTED]> wrote:
>>> Hi,
>>>
>>> I want to monitor the data throughput from SAN Switchen in nagios, so
>>> that I can use pnp after that to visualise it.
>>>
>>> I can't believe that I would be the first one who wants to do this ;)
>>>
>>> Any recommendations? Is there already a plugin for this?
>>>
>>> I'm playing around with snmp, but I don't want to reinvent the wheel ;)
>> For most SAN switches you do not have to reinvent the wheel :), just
>> use one of the many plugins available that allow you to query IF-MIB
>> metrics.
> Hi, 
> I want to monitor the FC-Ports, not the ethernetports. 
> 
> I've played around with the FCMGMT-MIB. And here with 
> connUnitPortStatCountTxObjects and connUnitPortStatCountRxObjects.
> My problem is, that tey are hex values and they are to big for perl's hex() 
> function. (perl 5.8.8)

Hi Christian,

try swFCPortTxWord and swFCPortRxWord ( tested on Brocade switches )

Jörg

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] Hostcontacts don't want to see every Service

2008-04-25 Thread Joerg Linge
Am Freitag, 25. April 2008 10:51 schrieb Christoph Kluenter:
> Hi,
> 
> I would like to activate a service check that checks for debian-packages that 
> have to be updated.  But my problem ist, that when debian releases a security 
> update, there will be an alarm for every host.
> This will make the Webinterface very cluttered.
> So I would like to have a group which ist the contactgroup for all hosts, but
> does not see the debian-package-service. Is this possible ?
> Usually the contactgroup for a host can see every service on that host. 
> At the moment I have  created a dedicated new host with all the 
> package-checks 
> on the different hosts as services. It works, but is not very nice. Are there 
> better ways ?

Hi Christoph,

have a look on cgi/cgiauth.c Line 270


270 /* if this user is authorized for this host, they are for all 
services on it as well... */
271 /* if(is_authorized_for_host(temp_host,authinfo)==TRUE)
272 return TRUE;
273 */

Change Line 271...272 and recompile your cgis

Jörg

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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 External Commands

2008-04-03 Thread Joerg Linge
Gavin Williams schrieb:
> HI there, 
> 
>  
> 
> I'm having some issues with Nagios External commands. 
> 
> Basically, they're not working. 
> 
> 
> I've compiled Nagios with cmdgroup=nagcmd, added Nagios and apache users
> to the nagcmd group. 
> 
> I can see the commands being written to Nagios.cmd in /opt/nagio/var/rw/
> however they don't go anywhere from there...
> 
>  
> 
> The relevant lines in my Nagios.cfg file looks like this:
> 
> check_external_commands=1
> 
> command_check_interval=30s
> 
> command_file=/opt/nagios/var/rw/nagios.cmd
> 
> downtime_file=/opt/nagios/var/downtime.dat
> 
> comment_file=/opt/nagios/var/comments.dat
> 
>  
> 
> The permissions on the folder look like this:
> 
> drwxrwsr-x  2 nagios nagcmd 4096 Apr  2 16:42 .
> 
> -rw-r--r--  1 apache nagcmd  249 Apr  2 16:45 nagios.cmd

Your nagios.cmd is a regular file and _not_ a named pipe.
This file is not created by nagios!

Please delete this file and do a nagios restart.
The pipe should be created automaticaly.

Jörg

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] Cannot view trends

2008-03-15 Thread Joerg Linge
Albrecht Dreß schrieb:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hi all,
> 
> sorry if this is a dumb question, I just joined here...

Thats not a dump question!

> My problem is that I am not able to view any trend graph in Nagios 3.0.  I 
> run a
> self-compiled package on Ubuntu 7.10/amd64.
> 
> I configured cgi.cfg as follows:
> 
> 
> use_authentication=1
> authorized_for_system_information=*
> authorized_for_configuration_information=*
> authorized_for_system_commands=*
> authorized_for_all_services=*
> authorized_for_all_hosts=*
> authorized_for_all_service_commands=*
> authorized_for_all_host_commands=*
> 
> 
> Allowed users are authenticated by Apache, so this should be fine for my
> environment.
> 
> With this setup, I can view *anything* in the Reporting section, i.e.
> Availibilities, Alert Histogram, History and Summary, Notifications and Event
> log, *except* for Trends.  The first two steps work, but finally I just get
> 
> It appears as though you are not authorized to view information for the
> specified host...
> 
> The same happens e.g. when viewing the availability report for a single host.
> The tables are produces, but instead of the graph only "[Broken image icon] 
> Host
> state trends" is shown.
> 
> Running trends.cgi in gdb, it apparently fails at this point:
> 
> 
> ~printf("\n");
> ~}
> 
> #ifndef DEBUG
> ~/* check authorization... */
> ~if(display_type==DISPLAY_HOST_TRENDS){
> ~temp_host=find_host(host_name);  // fail here!!!
> 
> 
> because the call to find_host() returns NULL.  Again, running the other 
> scripts
> from the command line, with the same host entry, *does* work fine.
> 
> Any idea what I did wrong here?

I can confirm this.
Nagios 3.0rc2 works correct but 3.0rc3++ fails.

Can you please post this fine bug report to nagios-devel?

Joerg

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] RES: RES: RES: Parameters not passed to eventhandler'sscript

2008-03-05 Thread Joerg Linge
Bráulio H. Soares schrieb:
> I'm using to tests purposes the script attached.
> It's only send a e-mail when a change status occurs, based on the parameters 
> $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$.
> 
> I'm thinking by the following way:
> The conditions to the "cases" are not being matched.

Hi,
please use the complete path to your printf and mail binaray.
$PATH is not set when nagios execute commands

Joerg



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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 3.0rc2 - Method to enumerate multiple interfaces/OIDs?

2008-02-23 Thread Joerg Linge
William Howard schrieb:
> We have about 150 client sites that we would like to be able to monitor 
> via SNMP.  The client sites have multiple WAN interfaces on a router 
> (2-6) for bandwidth and redundancy.  The SNMP interface of the device 
> allows checking of statistics on each interface (about 12-18 items per 
> interface).
> 
>* What we would like to do is setup each site as its own host and
>  then monitor:
>* Ping for each interface (already working in nagios)
>* Each interfaces set of snmp information (working but cumbersome)
>* Mrtg -- (that will come next)
> 
> 
> Currently, I have defined each snmp service separately as a template 
> (register 0) and then as I define each host, I have to copy/paste each 
> group of snmp checks  for as many interfaces as there are to be monitored.
> 
> My question is -- is there a way to enumerate the interfaces either 
> through SNMP (there is an OID that tells how many interfaces are defined 
> on the router) or through a script?  (like snmpwalk?) Ultimately, it 
> would be easier if nagios could determine the number of defined 
> interfaces and enumerate the OIDs that we have defined and want to 
> monitor.  If not -- if there was a way to define interfaces in groups 
> that allowed the interfaces to be quickly defined for each host.
> 
> I have tried the nagios documentation on service groups/host groups/etc 
> but it is still cumbersome.  It also doesn't let me see each host and 
> its associated interfaces as a single group unless I define each/every 
> one for that host.

Hi William,
have a look on check_multi as your already using nagios 3.x

http://my-plugin.de/wiki/projects/check_multi/start

The graphing can be done by PNP

http://www.pnp4nagios.org/pnp/


Cheers
Joerg

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] SNMP/Windows disk usage

2008-02-18 Thread Joerg Linge
[EMAIL PROTECTED] schrieb:
> We are using snmp to monitor our windows servers and I have had a request 
> from the windows admins. They want to alert at 80% and 90% usage on C:\ 
> but 95% and 98% on all other partitions. (I didn't ask about the logic 
> because it wouldn't matter). I have tried multiple snmp plugins and all of 
> them seem to act the same. I can monitor all the disks on a single check, 
> a single disk on a single check but I cannot monitor all the disks except 
> C: on a single check. There doesn't seem to be any plugins out there that 
> allow exclusion and use snmp. Before I go writing a wrapper for an 
> existing plugin does anyone know if there is a plugin that will allow me 
> to do this? I am looking to exclude a single drive letter but check all 
> the rest of the drives via snmp on windows servers. Thanks in advance for 
> any advice.
> 

http://nagios.manubulon.com/snmp_storage.html


check_snmp_storage will do the Job

Joerg

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Checking Cisco devices with performance data

2008-02-15 Thread Joerg Linge
Tim Wilson schrieb:
> Hi all,
> 
> I've started experimenting with running check scripts against specific 
> interfaces on our Cisco switches. I haven't yet found a check script that 
> includes performance data. Eventually I'd like to use PNP (or something like 
> it) to incorporate graphs into my nagios interface, and I'd like to monitor 
> throughput on some of my switch and router interfaces. Is this possible? Any 
> suggestions for suitable check scripts?
> 
> I know I could use Cacti or something like it for the graphing, but I'd 
> rather have it all in one interface.

Hi Tim,
try check_snmp_int.pl -> http://nagios.manubulon.com/snmp_int.html

Joerg


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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 GUI has the fastest reponse times for Nagios tactical overview?

2008-01-25 Thread Joerg Linge
Steffen Poulsen schrieb:
> Hi,
> 
> With a just-now working NDO installation we are now curious if we have
> options to to brighten the user experience in browsing the Nagios cgis.
> 
> We are currently planning to do a three-level maps-in-maps
> implementation in NagVis, to mirror the grouping of hostgroups in
> Nagios. So, first level map would be a map of host groups, next level
> map is the map of hosts in the host groups, last level map is the map of
> services at the host. Similar for service groups.
[ snip]

Hi Steffen,
please ask Lars Michelsen ( NagVis main developer ) about the new 
automap functions designed vor NagVis 1.3

I think the most work is done.

Kind regards
Jörg

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Perf Data Issue

2008-01-24 Thread Joerg Linge
Paul Wilson schrieb:
> Hi All,

Hi Paul,

> Firstly, thanks for everyone involved with Nagios, its a fantastic
> piece of softwarel!
> 
> My problem is that I cannot enable performance data from my monitors.
> I'm running the latest version of nagios2 which I downloaded a week
> ago, and compiled it with the default perfdata setting.
> 
> I have also installed pnp successfully, however it tells me that there
> are no valid rrdfiles in the given host's directory.
> 
> I've set up the follow configuration options in my nagios.cfg:
> 
> process_performance_data=1

OK

> host_perfdata_command=process-host-perfdata
> service_perfdata_command=process-service-perfdata

OK

> And in my commands.cfg
> 
> define command {
>command_nameprocess-host-perfdata
> #   command_line/usr/bin/perl
> /usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA
> command_line/bin/echo -e
> "$LASTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$STATETYPE$\t$EXECUTIONTIME$\t$OUTPUT$\t$PERFDATA$"
>>> /usr/local/nagios/var/host-perfdata

Do you use regular host checks with Nagios 2.x ? Tis is not the best 
Idea i think.

> Notice I've commented out the process_perfata.pl line in favour of a
> simple echo to a file, just for testing.
> 
> I have also restarted the nagios process to take into account my changes.
> 
> I have a host set up to monitor with the check_icmp command:
> 
> -rwsr-xr-x 1 root root 30524 2007-10-22 15:17 check_icmp
> 
> A simple check determines that it's returning performance data:
> ./check_icmp -H 128.1.2.181
>   OK - 128.1.2.181: rta 0.451ms, lost
> 0%|rta=0.451ms;200.000;500.000;0; pl=0%;40;80;;

OK, check_icmp looks good.

> And the service command looks like:
> 
> define service{
> use   generic-service
> host_nameVirgin.Invader; All our
> boxes are named after trains
> service_description ICMP Echo Stats
> check_commandcheck_icmp
> }
> 

Is "process_perf_data 1" set in your service definition or templates ?


> Within Nagios I get the status printed without problems, but no
> /usr/local/nagios/var/host-perfdata exists.

Thats OK. PNP dont need this file if your using the PNP Default Mode.

> I've checked books and online articles for a solution but I guess I
> must be doing something fundimentally wrong.

First choose the right mode for your installation.
http://www.pnp4nagios.org/pnp/modes

Configure PNP based on http://www.pnp4nagios.org/pnp/config

and check the function as described on

http://www.pnp4nagios.org/pnp/verify

Kind regards,
Jörg

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Scripted downtime question

2008-01-17 Thread Joerg Linge
Am Donnerstag, 17. Januar 2008 09:52 schrieb Ian Collier:
> Hi,
> 
> We've been happily using nagios for a year and a half or so to monitor a
> number of high performance linux clusters (total 200 nodes or so), plus
> infrastructure hosts. All works nicely and it is highlighting issues well
> before they become critical.
> 
> One thing I have not found good solutions for is down time for cluster
> nodes.
> 
> Sometimes they are down briefly for maintenance, os reinstalls etc, and
> turning off checks in the GUI sort of works, most of the time. But we also
> turn machines off automatically, from other management software when they
> are not needed for a while.
> 
> Does anyone have a way to script turning off checks and notifications for
> individual hosts or hostgroups? The only way I have identified is the GUI.
> If it is there built in I have failed to identify it in the docs.

Lars Michelsen has written an downtime Script in perl.
http://www.vertical-visions.de/2007/04/16/linux-downtime-script-03-perl/

HTH
Jörg

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Cisco plugin to check multiple interfaces

2008-01-16 Thread Joerg Linge
Alex Dehaini schrieb:
> Hi guys,
> 
> We have a cisco routers that has about 9 E1s and I will like to monitor
> these interfaces and know when any goes down. The interfaces are not IP so I
> can't use the regular check_ping command. Is there any command I can use to
> to this?

http://nagios.manubulon.com/snmp_int.html

check_snmp_int.pl is a very good choice

Jörg

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Nagvis without DB

2008-01-15 Thread Joerg Linge
Am Mittwoch, 16. Januar 2008 00:08 schrieb Marcel:
> I'm using NDO with 11 distributed nagios servers instances and over 15k
> services fine, thanks!
> 
> Nagvis is running fine either, thanks! Service and Hostgroup views of
> products, thanks!
> 
> I'm very thankful by the way! :)



So lets have a look on the upcomming features :-)

http://www.nagios-portal.de/wbb/index.php?page=Thread&threadID=8327
Only in german, but you can find some screenshots showing the brand new automap 
feature.

Jörg

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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: Could not read object configuration data!

2007-10-30 Thread Joerg Linge
Am Dienstag, 30. Oktober 2007 18:36 schrieb Siwei Zhang:
> I found out that there is a file called ‘perfdata.log’ in
> /usr/local/nagios/var/ directory.
> 
> If I remove it then I can start Nagios again. What is wrong?

Do you use the PNP Perfdata Grapher ?

Jörg

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Performance issues, too

2006-12-24 Thread Joerg Linge
Am Sonntag, 24. Dezember 2006 11:35 schrieb Robert Hajime Lanning:
> I have also been having performance issues with Nagios 2.5 on
> a Sun E220R with two 400MHz procs and 1GB ram.
[...]

> I have noticed the Nagios seems to have a memory leak.  As,
> I have watched over the last hour the process grow from 124M
> to 126M.
>
> I use ePN with caching.  Most of my checks are SNMP requests
> via ePN scripts (http://lanning.cc/custom_plugins/), with
> p1.pl modified with:
>
>   use SNMP 5.0;
>   SNMP::loadModules("ALL");

This sounds like Daniels Problem.

Two days ago we have compiled nagios without epn and perl cache.

For now Nagios runs with a latency of 0.3 Secs.

Jörg

-
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.php&p=sourceforge&CID=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] nagios passive checks too slow

2006-12-05 Thread Joerg Linge
Am Mittwoch, 6. Dezember 2006 07:55 schrieb Sterpu Victor:
> Nagios receives the external check in his log, but the web interface is
> updated with 10-30 seconds delay.
> The web interface is refreshing at 1 second period(refresh_rate=1).
> The passive check are verified at 1 second
> period(command_check_interval=1s).
> I must update the interface in max 5 seconds.

Please have a look on 
http://nagios.sourceforge.net/docs/2_0/configmain.html#status_update

Set status_update_interval to 5 or disable aggregate_status_updates

Jörg

-
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.php&p=sourceforge&CID=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] Snmp - How do you use yours?

2006-11-28 Thread Joerg Linge
Am Dienstag, 28. November 2006 10:46 schrieb Hari Sekhon:
> Hi all,

Hi Hari,
 
>I've decided to add snmp monitoring to my nagios setup. I'd like to 
> know what you guys and gals are monitoring using snmp out there.
> 
> It seemed like a lot of work to get in to, but I think this was just the 
> effort of trying to piece together the "documentation" for net-snmp to 
> figure out how to use it.
> 
> So, now I have an idea and have snmpwalked my agent, I'm left with a big 
> long list of OIDs that I'm not sure are very useful. Ok, all the 
> tutorials show uptime, which is the agent uptime rather than the system 
> uptime but in a few months when the servers are rebooted hopefully this 
> will be the same. So what else can I do with it?
> 
> Can I extend it to export an OID for some test that runs locally on the 
> system?

I use Patrik Proys SNMP Plugins. Have a on http://www.manubulon.com/nagios/

Jörg

-
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.php&p=sourceforge&CID=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] Charts and Graphs and Nagios Oh My! ( PNP question )

2006-11-15 Thread Joerg Linge
Am Mittwoch, 15. November 2006 22:27 schrieb Serveur-Faucon Surveillance:
> Haa,

:-) 

> I was changing the "illegal_object_name_chars" line instead of the 
> "illegal_macro_output_chars". 
> It is now working, thanks!

Have a lot of fun ..

Jörg

-
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.php&p=sourceforge&CID=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] Charts and Graphs and Nagios Oh My! ( PNP question )

2006-11-15 Thread Joerg Linge
Am Mittwoch, 15. November 2006 19:58 schrieb Serveur-Faucon Surveillance:
> Hi Joerg,
>
> Of course your use PNP, it's your program :)

;-)

> I have try NagiosGraph and PNP is so much easier to install.

Thanks !

> I have a question about the check_nt plugin. Somehow, there are no graph
> related to the check_nt plugin.
>
> Even if I put this [[  illegal_macro_output_chars=`~$&|"<>  ]] in the
> config.
[...]

What do you add exactly to nagios.cfg ?

Here is an example



# host check commands.
# The following macros are stripped of the characters you specify:
#   $HOSTOUTPUT$
#   $HOSTPERFDATA$
#   $HOSTACKAUTHOR$
#   $HOSTACKCOMMENT$
#   $SERVICEOUTPUT$
#   $SERVICEPERFDATA$
#   $SERVICEACKAUTHOR$
#   $SERVICEACKCOMMENT$

illegal_macro_output_chars=`~$&|"<>
...


Jörg 

-
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.php&p=sourceforge&CID=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] Problem with cfg_dir

2006-11-10 Thread Joerg Linge
Am Freitag, 10. November 2006 11:43 schrieb Joerg Hartmann:
> Hello,
> 
> i tried to change the location of the config files of a good working 
> Nagios 2.5-Installation.
> I put a # in front of all cfg_file= parameter in nagios.cfg and
> wrote two new lines with cfg_dir=
> 
> cfg_dir=/etc/nagios/Global
> cfg_dir=/etc/nagios/LiveSystem
> 
> After that i moved all *.cfg files (except nagios.cfg) from /etc/nagios 
> to the two new directories.
> The reason is a project to install some more nagios servers for 
> distributed monitoring with one central server and some remote nagios 
> machine in different locations.
> 
> Unfortunatly i can not get this to work. A quick test showed:
> 
> Reading configuration data...
> 
> Error: Unexpected token or statement in file 
> '/etc/nagios/Global/cgi.cfg' on line 15.
[...]
The cgi.cfg is no Object Config File and should not be placed inside cfg_dir.

Jörg

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] Charts and Graphs and Nagios Oh My!

2006-11-08 Thread Joerg Linge
Am Donnerstag, 9. November 2006 05:30 schrieb Peter Edmonds:
[...]
> Hi Joerg,

Hi Peter,

> You are right ! PNP is the easiest way to get performance data graphs
> in Nagios. I had PNP installed alongside Groundwork Monitor Open
> Source in under an hour. The best thing was that the graphs are
> created automatically (assuming your plugin is producing valid
> performance data and matches up with one of the PNP templates).
> 
> Now when I add a new Windows machine, I will get graphs for CPU,
> memory usage and disk usage without having to manually configure
> Nagios in any way.

Thanks for the feedback !

> Next in to get SNMP working so I can collect network interface stats
> from the Windows boxes.

I use Patrick Proys Perl Plugins ( http://www.manubulon.com/nagios/ )
check_snmp_int.pl works great. Use the Option -f to enable Perfdata Output.

The PNP template check_snmp_int.pl will be available in pnp-0.2.6

Jörg 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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 2.x and ndoutils

2006-11-01 Thread Joerg Linge
Am Mittwoch, 1. November 2006 18:33 schrieb mike conigliaro:
[...]
> i have ndoutils up and running now, but i was disappointed to find out that 
> performance data does not seem to go into the database (by default anyway). 
> does anyone know if there's a way to enable this?  maybe its coming in a 
> future 
> release?  if not, i guess perfparse will continue to work for me, but id like 
> to 
> do everything with ndo if possible (its a lot less complicated).

Hi Mike,
the plugin output and the performace data is available.

mysql> select servicecheck_id,output,perfdata from ndo_servicechecks where 
servicecheck_id = "34628329";
+-+-+-+
| servicecheck_id | output  | perfdata  
  |
+-+-+-+
|34628329 | OK - x.dierichs.de: rta 0.281ms, lost 0% | 
rta=0.281ms;3000.000;5000.000;0; pl=0%;80;100;; |
+-+-+-+
1 row in set (0.00 sec)

Jörg

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] Charts and Graphs and Nagios Oh My!

2006-11-01 Thread Joerg Linge
Am Mittwoch, 1. November 2006 15:41 schrieb Joerg Linge:
> Am Mittwoch, 1. November 2006 15:18 schrieb Carlos Mauricio Reyes Sanmiguel:
> > Hi there, 
> > 
> > I installed the PNP for Nagios, I did all the steps in teh configuration, 
> > it seem really easy, but when i try to display the graphic i get the 
> > following.
> > 
> > I try accesing the page like this:
> > 
> > http://10.0.2.**/nagios/pnp-0.2.4/index.php?host=%3CBC_4506%3E&srv=%3CGi3_1%3E
> >  

%3C is urldecoded <

If your host_name is BC_4506 an the service_description is CBi3_1 call PNP like 
this.

index.php?host=BC_4506&srv=CBi3_1

Jörg

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] Charts and Graphs and Nagios Oh My!

2006-11-01 Thread Joerg Linge
Am Mittwoch, 1. November 2006 15:18 schrieb Carlos Mauricio Reyes Sanmiguel:
> Hi there, 
> 
> I installed the PNP for Nagios, I did all the steps in teh configuration, 
> it seem really easy, but when i try to display the graphic i get the 
> following.
> 
> I try accesing the page like this:
> 
> http://10.0.2.**/nagios/pnp-0.2.4/index.php?host=%3CBC_4506%3E&srv=%3CGi3_1%3E
>  
> 
> 
> The page display the following:
> 
>  OK Initalising 
>  OK Useing /usr/local/nagios/share/perfdata/
> OK RRDTool /usr/local/rrdtool-1.2.15/bin/rrdtool found.
> OK RRD Base Directory /usr/local/nagios/share/perfdata/ found.
> OK Hostname is set.
> ! Directory /usr/local/nagios/share/perfdata/ not found.

Does the directory /usr/local/nagios/share/perfdata exist on your system ?


> Does anybody knows what this means?,  am I missing something in the 
> configuration?, I also check the folder perfdata, and i see some folders 
> for some of the routers i'm monitoring with nagios, but i can't see all, i 
> don't know why it shows only some of them,

Do you mean /usr/local/nagios/share/perfdata ?

> i also put the line of process  
> data in the nagios configuration of the router's service but it seems that 
> is not creating the perfdata folder with the php file and the rrd.

The Plugin _must_ output valid Perfdata. If they do , process_perfdata.pl will 
create the files.
If not, process_perfdata.pl will exit silently.

Please show me the performance data output for the router services.

Jörg

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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


  1   2   >