From magr50 at telia.com Sat Sep 1 14:42:04 2012 From: magr50 at telia.com (Marek Grinberg) Date: Sat, 01 Sep 2012 14:42:04 +0200 Subject: How to use check_nagios ? In-Reply-To: <5041229F.2030000@flatto.net> References: <50410A54.2020905@telia.com> <5041229F.2030000@flatto.net> Message-ID: <5042029C.8000607@telia.com> $ ./check_nagios -F /usr/local/nagios/var/status.dat -e 5 -C /usr/local/nagios/bin/nagios NAGIOS OK: 4 processes, status log updated 3 seconds ago Assaf Flatto skrev 2012-08-31 22:46: > On 31/08/12 20:02, Marek Grinberg wrote: >> Hello, >> >> I have Nagios 3.4.1 and Nagios plugins 1.4.15 installed& running in >> RedHat 5.8 >> >> I have defined check_nagios in commands.cfg: >> define command{ >> command_name check_nagios >> command_line $USER1$/check_nagios -F $ARG1$ -e $ARG2$ -C $ARG3$ >> # command_line $USER1$/check_nagios -F >> /usr/local/nagios/var/status.dat -e $ARG1$ -C /usr/local/nagios/bin/nagios >> >> and in localhost.cfg: >> define service{ >> use local-service ; Name of service >> template to use >> host_name Nagios >> service_description Nagios >> check_command check_nagios >> notifications_enabled >> check_nagios!/usr/local/nagios/var/status.dat!5!/usr/local/nagios/bin/nagios >> } >> >> Nagios Services in Firefox show: >> >> Nagios Notifications for this service have been disabled >> UNKNOWN 2012-08-31 19:24:35 0d 2h 38m 43s 4/4 Usage: >> >> Explicit check shows: >> # ./check_nagios -F /usr/local/nagios/var/status.dat -e 5 -C >> /usr/local/nagios/bin/nagios >> NAGIOS OK: 2 processes, status log updated 5 seconds ago >> >> What have I missed ? >> >> Marek >> >> > test the command as the nagios user not as root , see what the reply is . > > ------------------------------------------------------------------------------ > 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 at 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 > ------------------------------------------------------------------------------ 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 at 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 From kaushalshriyan at gmail.com Tue Sep 4 03:05:17 2012 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Tue, 4 Sep 2012 06:35:17 +0530 Subject: SMS Alert Notification Message-ID: Hi, I have the problem: I am running the sms notification from cli on remote linux server. it works fine first time and later fails second time. Any Clue? Problem details -> http://fpaste.org/ckYw/ Regards, Kaushal ------------------------------------------------------------------------------ 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 at 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 From t-aravinth at juspay.in Tue Sep 4 07:58:21 2012 From: t-aravinth at juspay.in (Aravinth Anto) Date: Tue, 4 Sep 2012 11:28:21 +0530 Subject: Problem with apache2.sh plugin Message-ID: Hi all, I downloaded the plugin from this page : http://exchange.nagios.org/directory/Plugins/Web-Servers/Apache/check_apache2-2Esh/details I tested in my local machine like this : ./check_apache2.sh -H https://localhost -P 8443 I get an error like this: (standard_in) 2: syntax error OK - Apache serves Requests per second with an average CPU utilization of 0.5%. Busy workers: , idle: | 'cpu_load'=0.5 'req_psec'= 'bytes_psec'= 'bytes_preq'= 'workers_busy'= 'workers_idle'= Why there is an error stating `(standard_in) 2: syntax error`? Can anyone say me where I'm making the mistake? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ck at claudiokuenzler.com Tue Sep 4 08:08:28 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Tue, 4 Sep 2012 08:08:28 +0200 Subject: Problem with apache2.sh plugin In-Reply-To: References: Message-ID: In your case I'd do: ./check_apache2.sh -H localhost -P 8443 -S And you must have mod_status enabled. I just tested this on a Debian machine. You will also have to install "bc" if you haven't already. On Tue, Sep 4, 2012 at 7:58 AM, Aravinth Anto wrote: > Hi all, > > I downloaded the plugin from this page : > http://exchange.nagios.org/directory/Plugins/Web-Servers/Apache/check_apache2-2Esh/details > > > I tested in my local machine like this : > > ./check_apache2.sh -H https://localhost -P 8443 > > I get an error like this: > > (standard_in) 2: syntax error > OK - Apache serves Requests per second with an average CPU utilization of > 0.5%. Busy workers: , idle: | 'cpu_load'=0.5 'req_psec'= 'bytes_psec'= > 'bytes_preq'= 'workers_busy'= 'workers_idle'= > > Why there is an error stating `(standard_in) 2: syntax error`? > > Can anyone say me where I'm making the mistake? > > > ------------------------------------------------------------------------------ > 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 at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From t-aravinth at juspay.in Tue Sep 4 08:13:35 2012 From: t-aravinth at juspay.in (Aravinth Anto) Date: Tue, 4 Sep 2012 11:43:35 +0530 Subject: Problem with apache2.sh plugin In-Reply-To: References: Message-ID: It seems that certificate verification is getting failed. I can do something like this : curl https://localhost --insecure Which is returning the page. But in my case how do I specify the plugin to not to use ssl certificate? Thanks in advance. Kindly help me out. On Tue, Sep 4, 2012 at 11:28 AM, Aravinth Anto wrote: > Hi all, > > I downloaded the plugin from this page : > http://exchange.nagios.org/directory/Plugins/Web-Servers/Apache/check_apache2-2Esh/details > > > I tested in my local machine like this : > > ./check_apache2.sh -H https://localhost -P 8443 > > I get an error like this: > > (standard_in) 2: syntax error > OK - Apache serves Requests per second with an average CPU utilization of > 0.5%. Busy workers: , idle: | 'cpu_load'=0.5 'req_psec'= 'bytes_psec'= > 'bytes_preq'= 'workers_busy'= 'workers_idle'= > > Why there is an error stating `(standard_in) 2: syntax error`? > > Can anyone say me where I'm making the mistake? > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ck at claudiokuenzler.com Tue Sep 4 08:17:55 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Tue, 4 Sep 2012 08:17:55 +0200 Subject: Problem with apache2.sh plugin In-Reply-To: References: Message-ID: Read the documentation. It says: -S|--secure) Enables HTTPS (no certificate check though). Default is: off So the certificate is not checked. And if you manually check with curl, you should check the correct URL: curl https://localhost/server-status On Tue, Sep 4, 2012 at 8:13 AM, Aravinth Anto wrote: > It seems that certificate verification is getting failed. I can do > something like this : > > curl https://localhost --insecure > > Which is returning the page. But in my case how do I specify the plugin to > not to use ssl certificate? > > Thanks in advance. Kindly help me out. > > > On Tue, Sep 4, 2012 at 11:28 AM, Aravinth Anto wrote: > >> Hi all, >> >> I downloaded the plugin from this page : >> http://exchange.nagios.org/directory/Plugins/Web-Servers/Apache/check_apache2-2Esh/details >> >> >> I tested in my local machine like this : >> >> ./check_apache2.sh -H https://localhost -P 8443 >> >> I get an error like this: >> >> (standard_in) 2: syntax error >> OK - Apache serves Requests per second with an average CPU utilization >> of 0.5%. Busy workers: , idle: | 'cpu_load'=0.5 'req_psec'= 'bytes_psec'= >> 'bytes_preq'= 'workers_busy'= 'workers_idle'= >> >> Why there is an error stating `(standard_in) 2: syntax error`? >> >> Can anyone say me where I'm making the mistake? >> > > > > ------------------------------------------------------------------------------ > 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 at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From t-aravinth at juspay.in Tue Sep 4 08:34:10 2012 From: t-aravinth at juspay.in (Aravinth Anto) Date: Tue, 4 Sep 2012 12:04:10 +0530 Subject: Problem with apache2.sh plugin In-Reply-To: References: Message-ID: On Tue, Sep 4, 2012 at 11:47 AM, Claudio Kuenzler wrote: > Read the documentation. It says: > > -S|--secure) > Enables HTTPS (no certificate check though). Default is: off > > Thanks for the reply. But Doing so: $ ./check_apache2.sh -H localhost -S Gives me the same sort of error: (standard_in) 2: syntax error OK - Apache serves Requests per second with an average CPU utilization of 2.4%. Busy workers: , idle: | 'cpu_load'=2.4 'req_psec'= 'bytes_psec'= 'bytes_preq'= 'workers_busy'= 'workers_idle'= > So the certificate is not checked. > And if you manually check with curl, you should check the correct URL: > curl https://localhost/server-status > > On Tue, Sep 4, 2012 at 8:13 AM, Aravinth Anto wrote: > >> It seems that certificate verification is getting failed. I can do >> something like this : >> >> curl https://localhost --insecure >> >> Which is returning the page. But in my case how do I specify the plugin >> to not to use ssl certificate? >> >> Thanks in advance. Kindly help me out. >> >> >> On Tue, Sep 4, 2012 at 11:28 AM, Aravinth Anto wrote: >> >>> Hi all, >>> >>> I downloaded the plugin from this page : >>> http://exchange.nagios.org/directory/Plugins/Web-Servers/Apache/check_apache2-2Esh/details >>> >>> >>> I tested in my local machine like this : >>> >>> ./check_apache2.sh -H https://localhost -P 8443 >>> >>> I get an error like this: >>> >>> (standard_in) 2: syntax error >>> OK - Apache serves Requests per second with an average CPU utilization >>> of 0.5%. Busy workers: , idle: | 'cpu_load'=0.5 'req_psec'= 'bytes_psec'= >>> 'bytes_preq'= 'workers_busy'= 'workers_idle'= >>> >>> Why there is an error stating `(standard_in) 2: syntax error`? >>> >>> Can anyone say me where I'm making the mistake? >>> >> >> >> >> ------------------------------------------------------------------------------ >> 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 at 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 >> > > > > ------------------------------------------------------------------------------ > 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 at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ck at claudiokuenzler.com Tue Sep 4 08:57:54 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Tue, 4 Sep 2012 08:57:54 +0200 Subject: Problem with apache2.sh plugin In-Reply-To: References: Message-ID: Note that now you're accessing port 80, instead of 8443... Also before you use the plugin, you should make sure that you have correctly enabled mod_status and the server-status URL is accessible. You can test this with curl or lynx. e.g.: lynx localhost/server-status If this page is not shown, then the plugin won't work. On Tue, Sep 4, 2012 at 8:34 AM, Aravinth Anto wrote: > > > On Tue, Sep 4, 2012 at 11:47 AM, Claudio Kuenzler wrote: > >> Read the documentation. It says: >> >> -S|--secure) >> Enables HTTPS (no certificate check though). Default is: off >> >> Thanks for the reply. But Doing so: > $ ./check_apache2.sh -H localhost -S > > Gives me the same sort of error: > > (standard_in) 2: syntax error > OK - Apache serves Requests per second with an average CPU utilization of > 2.4%. Busy workers: , idle: | 'cpu_load'=2.4 'req_psec'= 'bytes_psec'= > 'bytes_preq'= 'workers_busy'= 'workers_idle'= > > > >> So the certificate is not checked. >> And if you manually check with curl, you should check the correct URL: >> curl https://localhost/server-status >> >> On Tue, Sep 4, 2012 at 8:13 AM, Aravinth Anto wrote: >> >>> It seems that certificate verification is getting failed. I can do >>> something like this : >>> >>> curl https://localhost --insecure >>> >>> Which is returning the page. But in my case how do I specify the plugin >>> to not to use ssl certificate? >>> >>> Thanks in advance. Kindly help me out. >>> >>> >>> On Tue, Sep 4, 2012 at 11:28 AM, Aravinth Anto wrote: >>> >>>> Hi all, >>>> >>>> I downloaded the plugin from this page : >>>> http://exchange.nagios.org/directory/Plugins/Web-Servers/Apache/check_apache2-2Esh/details >>>> >>>> >>>> I tested in my local machine like this : >>>> >>>> ./check_apache2.sh -H https://localhost -P 8443 >>>> >>>> I get an error like this: >>>> >>>> (standard_in) 2: syntax error >>>> OK - Apache serves Requests per second with an average CPU utilization >>>> of 0.5%. Busy workers: , idle: | 'cpu_load'=0.5 'req_psec'= 'bytes_psec'= >>>> 'bytes_preq'= 'workers_busy'= 'workers_idle'= >>>> >>>> Why there is an error stating `(standard_in) 2: syntax error`? >>>> >>>> Can anyone say me where I'm making the mistake? >>>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> 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 at 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 >>> >> >> >> >> ------------------------------------------------------------------------------ >> 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 at 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 >> > > > > ------------------------------------------------------------------------------ > 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 at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From t-aravinth at juspay.in Tue Sep 4 09:11:23 2012 From: t-aravinth at juspay.in (Aravinth Anto) Date: Tue, 4 Sep 2012 12:41:23 +0530 Subject: Problem with apache2.sh plugin In-Reply-To: References: Message-ID: I'm very new to apache. I tried to enable the server status page of apache. I added the `status.conf` and `status.load` to `mods-enabled` directory. I changed the config of `apache2.conf` to include all `mods-enabled` directory. This is the config of `staus.conf`: # # Allow server status reports generated by mod_status, # with the URL of http://servername/server-status # Uncomment and change the "192.0.2.0/24" to allow access from other hosts. # SetHandler server-status Order deny,allow Deny from all Allow from 127.0.0.1 ::1 # Allow from 192.0.2.0/24 # Keep track of extended status information for each request ExtendedStatus On # Determine if mod_status displays the first 63 characters of a request or # the last 63, assuming the request itself is greater than 63 chars. # Default: Off #SeeRequestTail On # Show Proxy LoadBalancer status in mod_status ProxyStatus On The default settings. I restarted my server. And when I try `wget localhost/server-status --no-check-certificate` . I get an `404` error message : --2012-09-04 07:04:08-- http://localhost/server-status Resolving localhost (localhost)... 127.0.0.1 Connecting to localhost (localhost)|127.0.0.1|:80... connected. HTTP request sent, awaiting response... 302 Found Location: https://localhost/server-status [following] --2012-09-04 07:04:08-- https://localhost/server-status Connecting to localhost (localhost)|127.0.0.1|:443... connected. WARNING: no certificate subject alternative name matches requested host name `localhost'. HTTP request sent, awaiting response... 404 Not Found 2012-09-04 07:04:08 ERROR 404: Not Found. I'm very new to apache. Where I went wrong? Thanks in advance. On Tue, Sep 4, 2012 at 12:27 PM, Claudio Kuenzler wrote: > Note that now you're accessing port 80, instead of 8443... > Also before you use the plugin, you should make sure that you have > correctly enabled mod_status and the server-status URL is accessible. > You can test this with curl or lynx. > > e.g.: > lynx localhost/server-status > > If this page is not shown, then the plugin won't work. > > > On Tue, Sep 4, 2012 at 8:34 AM, Aravinth Anto wrote: > >> >> >> On Tue, Sep 4, 2012 at 11:47 AM, Claudio Kuenzler > > wrote: >> >>> Read the documentation. It says: >>> >>> -S|--secure) >>> Enables HTTPS (no certificate check though). Default is: off >>> >>> Thanks for the reply. But Doing so: >> $ ./check_apache2.sh -H localhost -S >> >> Gives me the same sort of error: >> >> (standard_in) 2: syntax error >> OK - Apache serves Requests per second with an average CPU utilization >> of 2.4%. Busy workers: , idle: | 'cpu_load'=2.4 'req_psec'= 'bytes_psec'= >> 'bytes_preq'= 'workers_busy'= 'workers_idle'= >> >> >> >>> So the certificate is not checked. >>> And if you manually check with curl, you should check the correct URL: >>> curl https://localhost/server-status >>> >>> On Tue, Sep 4, 2012 at 8:13 AM, Aravinth Anto wrote: >>> >>>> It seems that certificate verification is getting failed. I can do >>>> something like this : >>>> >>>> curl https://localhost --insecure >>>> >>>> Which is returning the page. But in my case how do I specify the plugin >>>> to not to use ssl certificate? >>>> >>>> Thanks in advance. Kindly help me out. >>>> >>>> >>>> On Tue, Sep 4, 2012 at 11:28 AM, Aravinth Anto wrote: >>>> >>>>> Hi all, >>>>> >>>>> I downloaded the plugin from this page : >>>>> http://exchange.nagios.org/directory/Plugins/Web-Servers/Apache/check_apache2-2Esh/details >>>>> >>>>> >>>>> I tested in my local machine like this : >>>>> >>>>> ./check_apache2.sh -H https://localhost -P 8443 >>>>> >>>>> I get an error like this: >>>>> >>>>> (standard_in) 2: syntax error >>>>> OK - Apache serves Requests per second with an average CPU >>>>> utilization of 0.5%. Busy workers: , idle: | 'cpu_load'=0.5 'req_psec'= >>>>> 'bytes_psec'= 'bytes_preq'= 'workers_busy'= 'workers_idle'= >>>>> >>>>> Why there is an error stating `(standard_in) 2: syntax error`? >>>>> >>>>> Can anyone say me where I'm making the mistake? >>>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> 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 at 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 >>>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> 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 at 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 >>> >> >> >> >> ------------------------------------------------------------------------------ >> 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 at 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 >> > > > > ------------------------------------------------------------------------------ > 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 at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ck at claudiokuenzler.com Tue Sep 4 09:25:56 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Tue, 4 Sep 2012 09:25:56 +0200 Subject: Problem with apache2.sh plugin In-Reply-To: References: Message-ID: You should write to Apache mailing list, not to Nagios .... ;-) Read http://httpd.apache.org/docs/2.2/mod/mod_status.html The status.conf seems correct. You should be able to access the server-status page from the same host. Try to access it with and without SSL (are you forcing a SSL redirect?). You can also run "apache2ctl status" to check if the module is correctly loaded. On Tue, Sep 4, 2012 at 9:11 AM, Aravinth Anto wrote: > I'm very new to apache. I tried to enable the server status page of apache. > > I added the `status.conf` and `status.load` to `mods-enabled` directory. > > I changed the config of `apache2.conf` to include all `mods-enabled` > directory. > > This is the config of `staus.conf`: > > > > # > # Allow server status reports generated by mod_status, > # with the URL of http://servername/server-status > # Uncomment and change the "192.0.2.0/24" to allow access from other > hosts. > # > > SetHandler server-status > Order deny,allow > Deny from all > Allow from 127.0.0.1 ::1 > # Allow from 192.0.2.0/24 > > > # Keep track of extended status information for each request > ExtendedStatus On > > # Determine if mod_status displays the first 63 characters of a > request or > # the last 63, assuming the request itself is greater than 63 chars. > # Default: Off > #SeeRequestTail On > > > > # Show Proxy LoadBalancer status in mod_status > ProxyStatus On > > > > > > The default settings. I restarted my server. > > And when I try `wget localhost/server-status --no-check-certificate` . I > get an `404` error message : > > --2012-09-04 07:04:08-- http://localhost/server-status > Resolving localhost (localhost)... 127.0.0.1 > Connecting to localhost (localhost)|127.0.0.1|:80... connected. > HTTP request sent, awaiting response... 302 Found > Location: https://localhost/server-status [following] > --2012-09-04 07:04:08-- https://localhost/server-status > Connecting to localhost (localhost)|127.0.0.1|:443... connected. > WARNING: no certificate subject alternative name matches > requested host name `localhost'. > HTTP request sent, awaiting response... 404 Not Found > 2012-09-04 07:04:08 ERROR 404: Not Found. > > > I'm very new to apache. Where I went wrong? > > Thanks in advance. > > > On Tue, Sep 4, 2012 at 12:27 PM, Claudio Kuenzler wrote: > >> Note that now you're accessing port 80, instead of 8443... >> Also before you use the plugin, you should make sure that you have >> correctly enabled mod_status and the server-status URL is accessible. >> You can test this with curl or lynx. >> >> e.g.: >> lynx localhost/server-status >> >> If this page is not shown, then the plugin won't work. >> >> >> On Tue, Sep 4, 2012 at 8:34 AM, Aravinth Anto wrote: >> >>> >>> >>> On Tue, Sep 4, 2012 at 11:47 AM, Claudio Kuenzler < >>> ck at claudiokuenzler.com> wrote: >>> >>>> Read the documentation. It says: >>>> >>>> -S|--secure) >>>> Enables HTTPS (no certificate check though). Default is: off >>>> >>>> Thanks for the reply. But Doing so: >>> $ ./check_apache2.sh -H localhost -S >>> >>> Gives me the same sort of error: >>> >>> (standard_in) 2: syntax error >>> OK - Apache serves Requests per second with an average CPU utilization >>> of 2.4%. Busy workers: , idle: | 'cpu_load'=2.4 'req_psec'= 'bytes_psec'= >>> 'bytes_preq'= 'workers_busy'= 'workers_idle'= >>> >>> >>> >>>> So the certificate is not checked. >>>> And if you manually check with curl, you should check the correct URL: >>>> curl https://localhost/server-status >>>> >>>> On Tue, Sep 4, 2012 at 8:13 AM, Aravinth Anto wrote: >>>> >>>>> It seems that certificate verification is getting failed. I can do >>>>> something like this : >>>>> >>>>> curl https://localhost --insecure >>>>> >>>>> Which is returning the page. But in my case how do I specify the >>>>> plugin to not to use ssl certificate? >>>>> >>>>> Thanks in advance. Kindly help me out. >>>>> >>>>> >>>>> On Tue, Sep 4, 2012 at 11:28 AM, Aravinth Anto wrote: >>>>> >>>>>> Hi all, >>>>>> >>>>>> I downloaded the plugin from this page : >>>>>> http://exchange.nagios.org/directory/Plugins/Web-Servers/Apache/check_apache2-2Esh/details >>>>>> >>>>>> >>>>>> I tested in my local machine like this : >>>>>> >>>>>> ./check_apache2.sh -H https://localhost -P 8443 >>>>>> >>>>>> I get an error like this: >>>>>> >>>>>> (standard_in) 2: syntax error >>>>>> OK - Apache serves Requests per second with an average CPU >>>>>> utilization of 0.5%. Busy workers: , idle: | 'cpu_load'=0.5 'req_psec'= >>>>>> 'bytes_psec'= 'bytes_preq'= 'workers_busy'= 'workers_idle'= >>>>>> >>>>>> Why there is an error stating `(standard_in) 2: syntax error`? >>>>>> >>>>>> Can anyone say me where I'm making the mistake? >>>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> 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 at 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 >>>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> 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 at 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 >>>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> 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 at 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 >>> >> >> >> >> ------------------------------------------------------------------------------ >> 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 at 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 >> > > > > ------------------------------------------------------------------------------ > 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 at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From t-aravinth at juspay.in Tue Sep 4 09:56:48 2012 From: t-aravinth at juspay.in (Aravinth Anto) Date: Tue, 4 Sep 2012 13:26:48 +0530 Subject: Problem with apache2.sh plugin In-Reply-To: References: Message-ID: On Tue, Sep 4, 2012 at 12:55 PM, Claudio Kuenzler wrote: > You should write to Apache mailing list, not to Nagios .... ;-) > Read http://httpd.apache.org/docs/2.2/mod/mod_status.html > > The status.conf seems correct. > You should be able to access the server-status page from the same host. > Try to access it with and without SSL (are you forcing a SSL redirect?). > You can also run "apache2ctl status" to check if the module is correctly > loaded. > > Yes I'm redirecting it! When tried running sudo apache2ctl status w3m: Can't load http://localhost:80/server-status. And when I hit with curl http://localhost:80/server-status. I'm getting the document : 302 Found

Found

The document has moved here.

But doing curl http://localhost/server-status again getting in 404 page!!! Kindly help me out. > > On Tue, Sep 4, 2012 at 9:11 AM, Aravinth Anto wrote: > >> I'm very new to apache. I tried to enable the server status page of >> apache. >> >> I added the `status.conf` and `status.load` to `mods-enabled` directory. >> >> I changed the config of `apache2.conf` to include all `mods-enabled` >> directory. >> >> This is the config of `staus.conf`: >> >> >> >> # >> # Allow server status reports generated by mod_status, >> # with the URL of http://servername/server-status >> # Uncomment and change the "192.0.2.0/24" to allow access from other >> hosts. >> # >> >> SetHandler server-status >> Order deny,allow >> Deny from all >> Allow from 127.0.0.1 ::1 >> # Allow from 192.0.2.0/24 >> >> >> # Keep track of extended status information for each request >> ExtendedStatus On >> >> # Determine if mod_status displays the first 63 characters of a >> request or >> # the last 63, assuming the request itself is greater than 63 chars. >> # Default: Off >> #SeeRequestTail On >> >> >> >> # Show Proxy LoadBalancer status in mod_status >> ProxyStatus On >> >> >> >> >> >> The default settings. I restarted my server. >> >> And when I try `wget localhost/server-status --no-check-certificate` . I >> get an `404` error message : >> >> --2012-09-04 07:04:08-- http://localhost/server-status >> Resolving localhost (localhost)... 127.0.0.1 >> Connecting to localhost (localhost)|127.0.0.1|:80... connected. >> HTTP request sent, awaiting response... 302 Found >> Location: https://localhost/server-status [following] >> --2012-09-04 07:04:08-- https://localhost/server-status >> Connecting to localhost (localhost)|127.0.0.1|:443... connected. >> WARNING: no certificate subject alternative name matches >> requested host name `localhost'. >> HTTP request sent, awaiting response... 404 Not Found >> 2012-09-04 07:04:08 ERROR 404: Not Found. >> >> >> I'm very new to apache. Where I went wrong? >> >> Thanks in advance. >> >> >> On Tue, Sep 4, 2012 at 12:27 PM, Claudio Kuenzler > > wrote: >> >>> Note that now you're accessing port 80, instead of 8443... >>> Also before you use the plugin, you should make sure that you have >>> correctly enabled mod_status and the server-status URL is accessible. >>> You can test this with curl or lynx. >>> >>> e.g.: >>> lynx localhost/server-status >>> >>> If this page is not shown, then the plugin won't work. >>> >>> >>> On Tue, Sep 4, 2012 at 8:34 AM, Aravinth Anto wrote: >>> >>>> >>>> >>>> On Tue, Sep 4, 2012 at 11:47 AM, Claudio Kuenzler < >>>> ck at claudiokuenzler.com> wrote: >>>> >>>>> Read the documentation. It says: >>>>> >>>>> -S|--secure) >>>>> Enables HTTPS (no certificate check though). Default is: off >>>>> >>>>> Thanks for the reply. But Doing so: >>>> $ ./check_apache2.sh -H localhost -S >>>> >>>> Gives me the same sort of error: >>>> >>>> (standard_in) 2: syntax error >>>> OK - Apache serves Requests per second with an average CPU utilization >>>> of 2.4%. Busy workers: , idle: | 'cpu_load'=2.4 'req_psec'= 'bytes_psec'= >>>> 'bytes_preq'= 'workers_busy'= 'workers_idle'= >>>> >>>> >>>> >>>>> So the certificate is not checked. >>>>> And if you manually check with curl, you should check the correct URL: >>>>> curl https://localhost/server-status >>>>> >>>>> On Tue, Sep 4, 2012 at 8:13 AM, Aravinth Anto wrote: >>>>> >>>>>> It seems that certificate verification is getting failed. I can do >>>>>> something like this : >>>>>> >>>>>> curl https://localhost --insecure >>>>>> >>>>>> Which is returning the page. But in my case how do I specify the >>>>>> plugin to not to use ssl certificate? >>>>>> >>>>>> Thanks in advance. Kindly help me out. >>>>>> >>>>>> >>>>>> On Tue, Sep 4, 2012 at 11:28 AM, Aravinth Anto wrote: >>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> I downloaded the plugin from this page : >>>>>>> http://exchange.nagios.org/directory/Plugins/Web-Servers/Apache/check_apache2-2Esh/details >>>>>>> >>>>>>> >>>>>>> I tested in my local machine like this : >>>>>>> >>>>>>> ./check_apache2.sh -H https://localhost -P 8443 >>>>>>> >>>>>>> I get an error like this: >>>>>>> >>>>>>> (standard_in) 2: syntax error >>>>>>> OK - Apache serves Requests per second with an average CPU >>>>>>> utilization of 0.5%. Busy workers: , idle: | 'cpu_load'=0.5 'req_psec'= >>>>>>> 'bytes_psec'= 'bytes_preq'= 'workers_busy'= 'workers_idle'= >>>>>>> >>>>>>> Why there is an error stating `(standard_in) 2: syntax error`? >>>>>>> >>>>>>> Can anyone say me where I'm making the mistake? >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> 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 at 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 >>>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> 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 at 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 >>>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> 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 at 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 >>>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> 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 at 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 >>> >> >> >> >> ------------------------------------------------------------------------------ >> 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 at 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 >> > > > > ------------------------------------------------------------------------------ > 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 at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ck at claudiokuenzler.com Tue Sep 4 10:22:30 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Tue, 4 Sep 2012 10:22:30 +0200 Subject: Problem with apache2.sh plugin In-Reply-To: References: Message-ID: There seems to be something wrong with your redirect then. You need to debug that first. Disable the redirect and check again. In general you should have a correct and working configuration before monitoring services. On Tue, Sep 4, 2012 at 9:56 AM, Aravinth Anto wrote: > > > On Tue, Sep 4, 2012 at 12:55 PM, Claudio Kuenzler wrote: > >> You should write to Apache mailing list, not to Nagios .... ;-) >> Read http://httpd.apache.org/docs/2.2/mod/mod_status.html >> >> The status.conf seems correct. >> You should be able to access the server-status page from the same host. >> Try to access it with and without SSL (are you forcing a SSL redirect?). >> You can also run "apache2ctl status" to check if the module is correctly >> loaded. >> >> Yes I'm redirecting it! When tried running sudo apache2ctl status > > w3m: Can't load http://localhost:80/server-status. > > And when I hit with curl http://localhost:80/server-status. > > I'm getting the document : > > > > 302 Found > >

Found

>

The document has moved here.

> > > But doing curl http://localhost/server-status again getting in 404 page!!! > > Kindly help me out. > >> >> On Tue, Sep 4, 2012 at 9:11 AM, Aravinth Anto wrote: >> >>> I'm very new to apache. I tried to enable the server status page of >>> apache. >>> >>> I added the `status.conf` and `status.load` to `mods-enabled` directory. >>> >>> I changed the config of `apache2.conf` to include all `mods-enabled` >>> directory. >>> >>> This is the config of `staus.conf`: >>> >>> >>> >>> # >>> # Allow server status reports generated by mod_status, >>> # with the URL of http://servername/server-status >>> # Uncomment and change the "192.0.2.0/24" to allow access from >>> other hosts. >>> # >>> >>> SetHandler server-status >>> Order deny,allow >>> Deny from all >>> Allow from 127.0.0.1 ::1 >>> # Allow from 192.0.2.0/24 >>> >>> >>> # Keep track of extended status information for each request >>> ExtendedStatus On >>> >>> # Determine if mod_status displays the first 63 characters of a >>> request or >>> # the last 63, assuming the request itself is greater than 63 chars. >>> # Default: Off >>> #SeeRequestTail On >>> >>> >>> >>> # Show Proxy LoadBalancer status in mod_status >>> ProxyStatus On >>> >>> >>> >>> >>> >>> The default settings. I restarted my server. >>> >>> And when I try `wget localhost/server-status --no-check-certificate` . I >>> get an `404` error message : >>> >>> --2012-09-04 07:04:08-- http://localhost/server-status >>> Resolving localhost (localhost)... 127.0.0.1 >>> Connecting to localhost (localhost)|127.0.0.1|:80... connected. >>> HTTP request sent, awaiting response... 302 Found >>> Location: https://localhost/server-status [following] >>> --2012-09-04 07:04:08-- https://localhost/server-status >>> Connecting to localhost (localhost)|127.0.0.1|:443... connected. >>> WARNING: no certificate subject alternative name matches >>> requested host name `localhost'. >>> HTTP request sent, awaiting response... 404 Not Found >>> 2012-09-04 07:04:08 ERROR 404: Not Found. >>> >>> >>> I'm very new to apache. Where I went wrong? >>> >>> Thanks in advance. >>> >>> >>> On Tue, Sep 4, 2012 at 12:27 PM, Claudio Kuenzler < >>> ck at claudiokuenzler.com> wrote: >>> >>>> Note that now you're accessing port 80, instead of 8443... >>>> Also before you use the plugin, you should make sure that you have >>>> correctly enabled mod_status and the server-status URL is accessible. >>>> You can test this with curl or lynx. >>>> >>>> e.g.: >>>> lynx localhost/server-status >>>> >>>> If this page is not shown, then the plugin won't work. >>>> >>>> >>>> On Tue, Sep 4, 2012 at 8:34 AM, Aravinth Anto wrote: >>>> >>>>> >>>>> >>>>> On Tue, Sep 4, 2012 at 11:47 AM, Claudio Kuenzler < >>>>> ck at claudiokuenzler.com> wrote: >>>>> >>>>>> Read the documentation. It says: >>>>>> >>>>>> -S|--secure) >>>>>> Enables HTTPS (no certificate check though). Default is: off >>>>>> >>>>>> Thanks for the reply. But Doing so: >>>>> $ ./check_apache2.sh -H localhost -S >>>>> >>>>> Gives me the same sort of error: >>>>> >>>>> (standard_in) 2: syntax error >>>>> OK - Apache serves Requests per second with an average CPU >>>>> utilization of 2.4%. Busy workers: , idle: | 'cpu_load'=2.4 'req_psec'= >>>>> 'bytes_psec'= 'bytes_preq'= 'workers_busy'= 'workers_idle'= >>>>> >>>>> >>>>> >>>>>> So the certificate is not checked. >>>>>> And if you manually check with curl, you should check the correct URL: >>>>>> curl https://localhost/server-status >>>>>> >>>>>> On Tue, Sep 4, 2012 at 8:13 AM, Aravinth Anto wrote: >>>>>> >>>>>>> It seems that certificate verification is getting failed. I can do >>>>>>> something like this : >>>>>>> >>>>>>> curl https://localhost --insecure >>>>>>> >>>>>>> Which is returning the page. But in my case how do I specify the >>>>>>> plugin to not to use ssl certificate? >>>>>>> >>>>>>> Thanks in advance. Kindly help me out. >>>>>>> >>>>>>> >>>>>>> On Tue, Sep 4, 2012 at 11:28 AM, Aravinth Anto >>>>>> > wrote: >>>>>>> >>>>>>>> Hi all, >>>>>>>> >>>>>>>> I downloaded the plugin from this page : >>>>>>>> http://exchange.nagios.org/directory/Plugins/Web-Servers/Apache/check_apache2-2Esh/details >>>>>>>> >>>>>>>> >>>>>>>> I tested in my local machine like this : >>>>>>>> >>>>>>>> ./check_apache2.sh -H https://localhost -P 8443 >>>>>>>> >>>>>>>> I get an error like this: >>>>>>>> >>>>>>>> (standard_in) 2: syntax error >>>>>>>> OK - Apache serves Requests per second with an average CPU >>>>>>>> utilization of 0.5%. Busy workers: , idle: | 'cpu_load'=0.5 'req_psec'= >>>>>>>> 'bytes_psec'= 'bytes_preq'= 'workers_busy'= 'workers_idle'= >>>>>>>> >>>>>>>> Why there is an error stating `(standard_in) 2: syntax error`? >>>>>>>> >>>>>>>> Can anyone say me where I'm making the mistake? >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> 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 at 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 >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> 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 at 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 >>>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> 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 at 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 >>>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> 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 at 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 >>>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> 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 at 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 >>> >> >> >> >> ------------------------------------------------------------------------------ >> 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 at 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 >> > > > > ------------------------------------------------------------------------------ > 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 at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From t-aravinth at juspay.in Tue Sep 4 16:14:06 2012 From: t-aravinth at juspay.in (Aravinth Anto) Date: Tue, 4 Sep 2012 19:44:06 +0530 Subject: Problem with apache2.sh plugin In-Reply-To: References: Message-ID: On Tue, Sep 4, 2012 at 11:38 AM, Claudio Kuenzler wrote: > In your case I'd do: > > ./check_apache2.sh -H localhost -P 8443 -S > > And you must have mod_status enabled. > > I just tested this on a Debian machine. You will also have to install "bc" > if you haven't already. > Thanks finally I figured that out. The problem was with the redirect rule. I just disabled the redirect rule for localhost alone. And now everything is working fine. We have our nagios monitoring our apache. Thanks for your help. > > On Tue, Sep 4, 2012 at 7:58 AM, Aravinth Anto wrote: > >> Hi all, >> >> I downloaded the plugin from this page : >> http://exchange.nagios.org/directory/Plugins/Web-Servers/Apache/check_apache2-2Esh/details >> >> >> I tested in my local machine like this : >> >> ./check_apache2.sh -H https://localhost -P 8443 >> >> I get an error like this: >> >> (standard_in) 2: syntax error >> OK - Apache serves Requests per second with an average CPU utilization >> of 0.5%. Busy workers: , idle: | 'cpu_load'=0.5 'req_psec'= 'bytes_psec'= >> 'bytes_preq'= 'workers_busy'= 'workers_idle'= >> >> Why there is an error stating `(standard_in) 2: syntax error`? >> >> Can anyone say me where I'm making the mistake? >> >> >> ------------------------------------------------------------------------------ >> 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 at 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 >> > > > > ------------------------------------------------------------------------------ > 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 at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at flatto.net Tue Sep 4 16:22:35 2012 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 04 Sep 2012 15:22:35 +0100 Subject: SMS Alert Notification In-Reply-To: References: Message-ID: <50460EAB.7080706@flatto.net> On 04/09/12 02:05, Kaushal Shriyan wrote: > Hi, > > I have the problem: I am running the sms notification from cli on > remote linux server. it works fine first time and later fails second > time. Any Clue? > Problem details -> http://fpaste.org/ckYw/ > > Regards, > > Kaushal > > ------------------------------------------------------------------------------ > 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 at 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 is this a paid service ? could it be that they are considering the sending a spam ? too many messages in too low and interval ? ------------------------------------------------------------------------------ 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 at 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 From bmomartins at gmail.com Tue Sep 4 17:50:02 2012 From: bmomartins at gmail.com (Bruno Martins) Date: Tue, 4 Sep 2012 16:50:02 +0100 Subject: Service as a whole Message-ID: Hello list, I plan to do something like: Microsoft CRM service (generally speaking) depends on: - Service HTTP on host XXX - Service SQL on host YYY - Service LDAP on host ZZZ Is this possible using Nagios? Best regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at flatto.net Tue Sep 4 18:05:26 2012 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 04 Sep 2012 17:05:26 +0100 Subject: Service as a whole In-Reply-To: References: Message-ID: <504626C6.8080208@flatto.net> On 04/09/12 16:50, Bruno Martins wrote: > Hello list, > > I plan to do something like: > Microsoft CRM service (generally speaking) depends on: > - Service HTTP on host XXX > - Service SQL on host YYY > - Service LDAP on host ZZZ > > Is this possible using Nagios? > > Best regards, > > > ------------------------------------------------------------------------------ > 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 at 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 it is called service dependency , read the docs about the subject. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From werner.flamme at ufz.de Tue Sep 4 18:09:11 2012 From: werner.flamme at ufz.de (Werner Flamme) Date: Tue, 04 Sep 2012 18:09:11 +0200 Subject: Service as a whole In-Reply-To: References: Message-ID: <504627A7.5030307@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bruno Martins [04.09.2012 17:50]: > Hello list, > > I plan to do something like: Microsoft CRM service (generally > speaking) depends on: - Service HTTP on host XXX - Service SQL on > host YYY - Service LDAP on host ZZZ > > Is this possible using Nagios? Following , it should be :-) HTH - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBGJ6cACgkQk33Krq8b42OHWgCfbgI31KbtFWqaW2P2zNgnul4C 5HcAni9ABRZdSsgwaByotRCntCVZIU3r =b7UL -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ 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 at 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 From netwarrior863 at gmail.com Tue Sep 4 18:48:09 2012 From: netwarrior863 at gmail.com (Net Warrior) Date: Tue, 4 Sep 2012 13:48:09 -0300 Subject: Nagios Plugin Log Pattern Notification Message-ID: 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? Thank you very much. Regards ------------------------------------------------------------------------------ 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 at 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 From Jarlath.Lyons at Tideworks.com Tue Sep 4 18:52:07 2012 From: Jarlath.Lyons at Tideworks.com (Jarlath Lyons) Date: Tue, 4 Sep 2012 16:52:07 +0000 Subject: Nagios Plugin Log Pattern Notification In-Reply-To: References: Message-ID: <45EDF03D8939C5499AF295D43606A4A45D4E0076@LWEXMB02.usa.int> If it's a log file written in Java (using log4j ...), it's trivial. http://www.novell.com/communities/node/4867/application-monitoring-made-easy-java-applications-include-exclude-filters Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 -----Original Message----- From: Net Warrior [mailto:netwarrior863 at gmail.com] Sent: Tuesday, September 04, 2012 9:48 AM To: Nagios Users List Subject: [Nagios-users] Nagios Plugin Log Pattern Notification 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? Thank you very much. Regards ------------------------------------------------------------------------------ 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 at 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 ------------------------------------------------------------------------------ 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 at 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 From netwarrior863 at gmail.com Tue Sep 4 19:01:32 2012 From: netwarrior863 at gmail.com (Net Warrior) Date: Tue, 4 Sep 2012 14:01:32 -0300 Subject: Nagios Plugin Log Pattern Notification In-Reply-To: <45EDF03D8939C5499AF295D43606A4A45D4E0076@LWEXMB02.usa.int> References: <45EDF03D8939C5499AF295D43606A4A45D4E0076@LWEXMB02.usa.int> Message-ID: Thanks, I'll take a look. I found several plugins but for windows instead, what I want to do is to find a string I configured with iptables everytime it drops a packet, --log-prefix = "MYSTRING" Regards 2012/9/4 Jarlath Lyons : > If it's a log file written in Java (using log4j ...), it's trivial. > > http://www.novell.com/communities/node/4867/application-monitoring-made-easy-java-applications-include-exclude-filters > > Jar Lyons > Senior Software Engineer > Tideworks Technology, Inc. > (206) 344-3016 > > > > -----Original Message----- > From: Net Warrior [mailto:netwarrior863 at gmail.com] > Sent: Tuesday, September 04, 2012 9:48 AM > To: Nagios Users List > Subject: [Nagios-users] Nagios Plugin Log Pattern Notification > > 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? > > > Thank you very much. > Regards > > ------------------------------------------------------------------------------ > 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 at 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 > > ------------------------------------------------------------------------------ > 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 at 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 ------------------------------------------------------------------------------ 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 at 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 From bdmeyer at cio.sc.gov Tue Sep 4 19:05:21 2012 From: bdmeyer at cio.sc.gov (Meyer, Bruce) Date: Tue, 4 Sep 2012 13:05:21 -0400 Subject: Nagios Plugin Log Pattern Notification In-Reply-To: References: Message-ID: Which OS ? Linux has a few. Logwatch and Swatch come to mind. I think there is more than one version of logwatch. I am referring to the one that sends an email once per (time period) with new event that have been found in the log files since the last email, that match your predefinded regexes. On 9/4/12 12:48 PM, "Net Warrior" wrote: >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? > > >Thank you very much. >Regards > >-------------------------------------------------------------------------- >---- >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 at 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 ------------------------------------------------------------------------------ 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 at 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 From pitchfork at ederdrom.de Tue Sep 4 19:07:21 2012 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 4 Sep 2012 19:07:21 +0200 Subject: Nagios Plugin Log Pattern Notification In-Reply-To: References: Message-ID: 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 at 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 From daniel.wittenberg.r0ko at statefarm.com Tue Sep 4 19:08:53 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 4 Sep 2012 17:08:53 +0000 Subject: Nagios Plugin Log Pattern Notification In-Reply-To: References: <45EDF03D8939C5499AF295D43606A4A45D4E0076@LWEXMB02.usa.int> Message-ID: http://labs.consol.de/lang/de/nagios/check_logfiles/ Works on Windows and Linux, highly configurable. Dan On Sep 4, 2012, at 12:01 PM, Net Warrior wrote: Thanks, I'll take a look. I found several plugins but for windows instead, what I want to do is to find a string I configured with iptables everytime it drops a packet, --log-prefix = "MYSTRING" Regards 2012/9/4 Jarlath Lyons >: If it's a log file written in Java (using log4j ...), it's trivial. http://www.novell.com/communities/node/4867/application-monitoring-made-easy-java-applications-include-exclude-filters Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 -----Original Message----- From: Net Warrior [mailto:netwarrior863 at gmail.com] Sent: Tuesday, September 04, 2012 9:48 AM To: Nagios Users List Subject: [Nagios-users] Nagios Plugin Log Pattern Notification 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? Thank you very much. Regards ------------------------------------------------------------------------------ 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 at 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 ------------------------------------------------------------------------------ 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 at 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 ------------------------------------------------------------------------------ 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 at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From netwarrior863 at gmail.com Tue Sep 4 19:57:40 2012 From: netwarrior863 at gmail.com (Net Warrior) Date: Tue, 4 Sep 2012 14:57:40 -0300 Subject: Nagios Plugin Log Pattern Notification In-Reply-To: References: Message-ID: Thanks, I'm gonna take a look at logwatch and swatch. Regards. 2012/9/4 Meyer, Bruce : > Which OS ? Linux has a few. Logwatch and Swatch come to mind. I think > there is more than one version of logwatch. I am referring to the one that > sends an email once per (time period) with new event that have been found > in the log files since the last email, that match your predefinded regexes. > > On 9/4/12 12:48 PM, "Net Warrior" wrote: > >>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? >> >> >>Thank you very much. >>Regards >> >>-------------------------------------------------------------------------- >>---- >>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 at 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 > > > ------------------------------------------------------------------------------ > 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 at 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 ------------------------------------------------------------------------------ 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 at 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 From benny at bennyvision.com Tue Sep 4 20:15:46 2012 From: benny at bennyvision.com (C. Bensend) Date: Tue, 4 Sep 2012 13:15:46 -0500 Subject: Nagios Plugin Log Pattern Notification In-Reply-To: References: Message-ID: > http://labs.consol.de/lang/en/nagios/check_logfiles/ > > check_logfiles is one of the more powerful plugins. Couldn't agree more. The consol.de guys are great! Benny -- "Death rays, advanced technology or not, no creature wants to be stabbed in their hoo-hoo." -- Seen on zombiehunters.org ------------------------------------------------------------------------------ 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 at 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 From nagiospra at gmail.com Wed Sep 5 05:30:42 2012 From: nagiospra at gmail.com (PRA) Date: Wed, 05 Sep 2012 09:00:42 +0530 Subject: A plugin to run the existing plugins for NSCA Message-ID: <5046C762.4000903@gmail.com> Hi All, I was configuring nagios and NSCA and found that we need to run the plugins in cron and send the output to NAGIOS. So below is what I plan.So I plan to develop another plugin with runs the other plugins 1) Another plugin that takes service_description (the description that is sent to nagios) , plugin with parameters as command line arguments. 2) Runs the send_nsca command with provided inputs. 3) A conf file which has the details(send_nsca path,pluginspath,nsca server,nsca port). Any Inputs? -PRA ------------------------------------------------------------------------------ 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 at 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 From holger-AydDEG7bod3EuQgbuN4uyA at public.gmane.org Wed Sep 5 09:40:23 2012 From: holger-AydDEG7bod3EuQgbuN4uyA at public.gmane.org (Holger =?iso-8859-1?Q?Wei=DF?=) Date: Wed, 5 Sep 2012 09:40:23 +0200 Subject: [Nagios-users] A plugin to run the existing plugins for NSCA In-Reply-To: <5046C762.4000903-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> References: <5046C762.4000903@gmail.com> Message-ID: <20120905074023.GK32695123@CIS.FU-Berlin.DE> * PRA [2012-09-05 09:00]: > I was configuring nagios and NSCA and found that we need to run the > plugins in cron and send the output to NAGIOS. So below is what I > plan.So I plan to develop another plugin with runs the other plugins > > 1) Another plugin that takes service_description (the description that > is sent to nagios) , plugin with parameters as command line arguments. > 2) Runs the send_nsca command with provided inputs. > 3) A conf file which has the details(send_nsca path,pluginspath,nsca > server,nsca port). Here's a trivial shell script which you could take as a starting point, if you like: ftp://ftp.in-berlin.de/pub/users/weiss/nagios/tools/send_nagios The output can be piped to send_nsca. Holger ------------------------------------------------------------------------------ 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 Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Sep 5 10:00:42 2012 From: m.borsani at it.net (Marco Borsani) Date: Wed, 5 Sep 2012 10:00:42 +0200 Subject: configure receiving snmp traps Message-ID: <005901cd8b3c$9225c5a0$b67150e0$@it.net> Hi all I read many docs, but I still have problem to configure nagios 3.x to receive the traps. May someone explain the steps to follow to configure correctly this issue ? Is it necessary other SW ? Many thanks Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di Libero S.r.l. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From t-aravinth at juspay.in Wed Sep 5 13:01:58 2012 From: t-aravinth at juspay.in (Aravinth Anto) Date: Wed, 5 Sep 2012 16:31:58 +0530 Subject: Monitoring my log files. Message-ID: I using this plugin : http://exchange.nagios.org/directory/Plugins/Log-Files/check_logfiles/details I want to monitor apache log using this plugin. Say if there more than 5 5xx errors in my apache log I need to trigger an alert. I'm very new to Nagios and I wonder how do I specify this constraint! Can anyone help me out? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From netwarrior863 at gmail.com Wed Sep 5 13:14:06 2012 From: netwarrior863 at gmail.com (Net Warrior) Date: Wed, 5 Sep 2012 08:14:06 -0300 Subject: Nagios Plugin Log Pattern Notification In-Reply-To: References: Message-ID: Lottta thanks! 2012/9/4 C. Bensend : > >> http://labs.consol.de/lang/en/nagios/check_logfiles/ >> >> check_logfiles is one of the more powerful plugins. > > Couldn't agree more. The consol.de guys are great! > > Benny > > > -- > "Death rays, advanced technology or not, no creature wants to be > stabbed in their hoo-hoo." -- Seen on zombiehunters.org > > > ------------------------------------------------------------------------------ > 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 at 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 ------------------------------------------------------------------------------ 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 at 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 From razvan.cojocaru at 1and1.ro Wed Sep 5 13:20:37 2012 From: razvan.cojocaru at 1and1.ro (Razvan Cojocaru) Date: Wed, 5 Sep 2012 14:20:37 +0300 Subject: Are neb_register_callback()s threadsafe? Message-ID: <50473585.1050004@1and1.ro> Hello, is it safe to assume that the functions registered with neb_register_callback() will be called in a threadsafe manner, or should write access to the plugin's global data be synchronized? Thanks, -- Razvan Cojocaru Linux Development Core Romania 1&1 Internet Development S.R.L. - Bucharest/Romania Web: www.1und1.de ------------------------------------------------------------------------------ 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 at 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 From ae at op5.se Wed Sep 5 13:38:49 2012 From: ae at op5.se (Andreas Ericsson) Date: Wed, 05 Sep 2012 13:38:49 +0200 Subject: Are neb_register_callback()s threadsafe? In-Reply-To: <50473585.1050004@1and1.ro> References: <50473585.1050004@1and1.ro> Message-ID: <504739C9.7000606@op5.se> On 09/05/2012 01:20 PM, Razvan Cojocaru wrote: > Hello, > > is it safe to assume that the functions registered with > neb_register_callback() will be called in a threadsafe manner, That depends on what you mean by "threadsafe". If you intend to use multiple threads in your own module, you'll have to take care not to do anything that upsets Nagios. If you mean "will multiple Nagios threads try to rip my data out from under my feet?", then no, but other modules might. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ 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 at 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 From razvan.cojocaru at 1and1.ro Wed Sep 5 14:05:21 2012 From: razvan.cojocaru at 1and1.ro (Razvan Cojocaru) Date: Wed, 5 Sep 2012 15:05:21 +0300 Subject: Are neb_register_callback()s threadsafe? In-Reply-To: <504739C9.7000606@op5.se> References: <50473585.1050004@1and1.ro> <504739C9.7000606@op5.se> Message-ID: <50474001.2040308@1and1.ro> > That depends on what you mean by "threadsafe". If you intend to use > multiple threads in your own module, you'll have to take care not to > do anything that upsets Nagios. Obviously. Multiple threads are not involved. > If you mean "will multiple Nagios threads try to rip my data out from > under my feet?", then no, but other modules might. Yes, the question was: assuming a single thread model, nothing fancy, would it be possible that my_callback() gets called from several Nagios-created threads? Is write_to_all_logs() a candidate for race conditions (especially since other modules / threads might very well use it)? Thanks -- Razvan Cojocaru Linux Development Core Romania 1&1 Internet Development S.R.L. - Bucharest/Romania Web: www.1und1.de ------------------------------------------------------------------------------ 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 at 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 From Nobuo.Matsushita at childrenscolorado.org Wed Sep 5 17:51:45 2012 From: Nobuo.Matsushita at childrenscolorado.org (Matsushita, Nobuo) Date: Wed, 5 Sep 2012 15:51:45 +0000 Subject: nagios 3.4.1 and IE 8 problem Message-ID: <63E421D9117DDB4FAB5FA62A57518F1510BEE6CF@PRDEXMB02.thechildrenshospital.org> Hi, I installed and configured nagios 3.4.1. When I use Firefox, everything works fine. But when I use Internet Explorer 8 ( under Windows 7), I get the following error message: Internet Explorer cannot display the webpage And when I use "Developer Tools" from IE8, I found the following messages: javascript:initMoreInfo('infoBlockID') Does anyone know why I am getting this on IE, but works on Firefox? Thanks in advance. Nobuo ---------------------------------------------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: This e-mail is confidential, may be legally privileged,
and for the intended recipient only. Access, disclosure, copying, forwarding and
distribution by any means is strictly prohibited. If received in error,
do not read but delete and e-mail confirmation to the sender.
==========================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From mguthrie at nagios.com  Wed Sep  5 18:35:17 2012
From: mguthrie at nagios.com (Mike Guthrie)
Date: Wed, 05 Sep 2012 11:35:17 -0500
Subject: nagios 3.4.1 and IE 8 problem
In-Reply-To: <63E421D9117DDB4FAB5FA62A57518F1510BEE6CF@PRDEXMB02.thechildrenshospital.org>
References: <63E421D9117DDB4FAB5FA62A57518F1510BEE6CF@PRDEXMB02.thechildrenshospital.org>
Message-ID: <50477F45.5050602@nagios.com>

Do you have compatibility mode turned on for IE? That tends to break a 
lot of pages using any kind of modern CSS or javascript. If so try 
turning it off.


On 9/5/2012 10:51 AM, Matsushita, Nobuo wrote:
> Hi,
> I installed and configured nagios 3.4.1. When I use Firefox, 
> everything works fine. But when I use Internet Explorer 8 ( under 
> Windows 7), I get the following error message:
> Internet Explorer cannot display the webpage
> And  when I use "Developer Tools" from IE8, I found the following 
> messages:
> javascript:initMoreInfo('infoBlockID')
> Does anyone know why I am getting this on IE, but works on Firefox?
> Thanks in advance.
> Nobuo
> ---------------------------------------------------------------------------------------------------------------------
> CONFIDENTIALITY NOTICE: This e-mail is confidential, may be legally 
> privileged,
> and for the intended recipient only. Access, disclosure, copying, 
> forwarding and
> distribution by any means is strictly prohibited. If received in error,
> do not read but delete and e-mail confirmation to the sender.
> ==========================================================
>
>
> ------------------------------------------------------------------------------
> 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 at 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


-- 


Mike Guthrie
Technical Team
___
Nagios Enterprises, LLC
Email:  mguthrie at nagios.com
Web:    www.nagios.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From mark.elsen at gmail.com  Wed Sep  5 19:52:56 2012
From: mark.elsen at gmail.com (Mark Elsen)
Date: Wed, 5 Sep 2012 19:52:56 +0200
Subject: nagios 3.4.1 and IE 8 problem
In-Reply-To: <63E421D9117DDB4FAB5FA62A57518F1510BEE6CF@PRDEXMB02.thechildrenshospital.org>
References: <63E421D9117DDB4FAB5FA62A57518F1510BEE6CF@PRDEXMB02.thechildrenshospital.org>
Message-ID: 

On Wed, Sep 5, 2012 at 5:51 PM, Matsushita, Nobuo <
Nobuo.Matsushita at childrenscolorado.org> wrote:

>  Hi,
>
> I installed and configured nagios 3.4.1. When I use Firefox, everything
> works fine. But when I use Internet Explorer 8 ( under Windows 7), I get
> the following error message:
>
> Internet Explorer cannot display the webpage
>
> And  when I use ?Developer Tools? from IE8, I found the following messages:
>
> javascript:initMoreInfo('infoBlockID')
>
> Does anyone know why I am getting this on IE, but works on Firefox?
>
>

No but for standard IE; disabling 'show friendly error  messages' in de
advanced settings may help diagnose
this error further (well MS$ opinions on friendly error message, may
deviate from the standard world's view ...).

M.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From s.felici at mclink.eu  Thu Sep  6 08:46:46 2012
From: s.felici at mclink.eu (Simone Felici)
Date: Thu, 06 Sep 2012 08:46:46 +0200
Subject: Nagios Macros: SERVICEDURATION Vs HOSTDURATION
In-Reply-To: <5028B887.2070507@mclink.eu>
References: <5028B887.2070507@mclink.eu>
Message-ID: <504846D6.7010600@mclink.eu>

Hello!

Noone has noticed this behaviour?

Thank's

Simon

Il 13/08/2012 10:19, Simone Felici ha scritto:
>
> Hello to all!
>
> I'm using the macros "HOSTDURATION" and "SERVICEDURATION" to notify how many time the host or
> service is in the current state. Looking on the definition:
>
> host:
> A string indicating the amount of time that the host has spent in its current state. Format is "XXh
> YYm ZZs", indicating hours, minutes and seconds.
>
> service:
> A string indicating the amount of time that the service has spent in its current state. Format is
> "XXh YYm ZZs", indicating hours, minutes and seconds.
>
> Assuming I've a host as follow:
> ping hostckeck with 2 retries (60secs)
> service with 3 retries (60secs)
> host checks made only on demand, when required
>
> When the host goes in DOWN HARD STATE (2 checks made, more than 60secs passed) the notification is
> sent with HOSTDURATION = "0d 0h 0m 0s" (or some secs more).
> When the service enters in CRITICAL HARD STATE (3 checks made, more than 120secs passed) the
> notification is sent with SERVICEDURATION = "0d 0h 2m 0s" (or some secs more, depends on latency I
> think).
>
> So, it seems the HOSTDURATION timer starts when the host is in HARD STATE down, but the
> SERVICEDURATION timer starts when the service is in his first SOFT STATE CRITICAL.
>
> Is this correct? A bug? I think the service is in the correct situation.
>
> Thank's a lot
>
> Simon
>

------------------------------------------------------------------------------
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 at 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




From t-aravinth at juspay.in  Thu Sep  6 10:56:14 2012
From: t-aravinth at juspay.in (Aravinth Anto)
Date: Thu, 6 Sep 2012 14:26:14 +0530
Subject: Created my new plugin. Suggestions please!
Message-ID: 

Hi all,

I created a new plugin of our own use. We need some way to find whether 5xx
errors appears in our log mainly in apache log. And also "connection
failed, error" in syslogs. So overall it can used to match any pattern (
which user might think ) for a particular file

I'm a newbie to Nagios and too in bash. I wish I could publish this plugin
as it would save time for others in the community.

I have attached my plugin ( written in bash ). I want suggestions from our
side.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_match_pattern.sh
Type: application/x-sh
Size: 1888 bytes
Desc: not available
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From t-aravinth at juspay.in  Thu Sep  6 11:05:09 2012
From: t-aravinth at juspay.in (Aravinth Anto)
Date: Thu, 6 Sep 2012 14:35:09 +0530
Subject: Created my new plugin. Suggestions please!
In-Reply-To: 
References: 
Message-ID: 

Typical use case is. If you want to make sure that your apache log doesn't
have more than 10 5xx errors then you can do this :

check_match_pattern -f /var/log/apache2/error.log -r ^5[0-9]{2}$ -wl 7 -cl
10

This will generate an CRITICAL alert.

Suggestions welcome.

On Thu, Sep 6, 2012 at 2:26 PM, Aravinth Anto  wrote:

> Hi all,
>
> I created a new plugin of our own use. We need some way to find whether
> 5xx errors appears in our log mainly in apache log. And also "connection
> failed, error" in syslogs. So overall it can used to match any pattern (
> which user might think ) for a particular file
>
> I'm a newbie to Nagios and too in bash. I wish I could publish this plugin
> as it would save time for others in the community.
>
> I have attached my plugin ( written in bash ). I want suggestions from our
> side.
>
> Thanks.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From ae at op5.se  Thu Sep  6 11:32:47 2012
From: ae at op5.se (Andreas Ericsson)
Date: Thu, 06 Sep 2012 11:32:47 +0200
Subject: Are neb_register_callback()s threadsafe?
In-Reply-To: <50474001.2040308@1and1.ro>
References: <50473585.1050004@1and1.ro> <504739C9.7000606@op5.se>
	<50474001.2040308@1and1.ro>
Message-ID: <50486DBF.8050402@op5.se>

On 09/05/2012 02:05 PM, Razvan Cojocaru wrote:
>> That depends on what you mean by "threadsafe". If you intend to use
>> multiple threads in your own module, you'll have to take care not to
>> do anything that upsets Nagios.
> 
> Obviously. Multiple threads are not involved.
> 
>> If you mean "will multiple Nagios threads try to rip my data out from
>> under my feet?", then no, but other modules might.
> 
> Yes, the question was: assuming a single thread model, nothing fancy,
> would it be possible that my_callback() gets called from several
> Nagios-created threads?
> 
> Is write_to_all_logs() a candidate for race conditions (especially since
> other modules / threads might very well use it)?
> 

That depends on whether those other modules are using other threads than
their main one to access the logging functions or not.

Code for Nagios 4 and you shouldn't have to worry about threads at all.
They're frowned upon rather sternly in Nagios 4, since the core isn't
threaded anymore and as such can't even be made to keep locks in API
functions that are sensitive to thread contention.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
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 at 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




From t-aravinth at juspay.in  Thu Sep  6 14:08:25 2012
From: t-aravinth at juspay.in (Aravinth Anto)
Date: Thu, 6 Sep 2012 17:38:25 +0530
Subject: Problem in Installing the graph plugin.
In-Reply-To: <09051C7A8945F944AB7AC4E86BEB1ED5EF2F862A3E@LONPMAILBOX01.citrite.net>
References: 
	<09051C7A8945F944AB7AC4E86BEB1ED5EF2F862A3E@LONPMAILBOX01.citrite.net>
Message-ID: 

I run this command :

sudo ./install.pl --check-prereq

checking required PERL modules
  Carp...1.20
  CGI...3.52
  Data::Dumper...2.130_02
  File::Basename...2.82
  File::Find...1.19
  MIME::Base64...3.13
  POSIX...1.24
  RRDs... ***FAIL***
  Time::HiRes...1.972101
checking optional PERL modules
  GD...2.46
checking nagios installation
  found nagios at /usr/local/nagios/bin/nagios
checking web server installation
  found apache at /usr/sbin/apache2

*** one or more problems were detected!


It seems that RRDs... ***FAIL*** . So how can I skip this error?



On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn wrote:

> Did you run the install and check your prerequisites, I found that some of
> these are not present by default, You can run****
>
> ** **
>
> sudo ./install ?check=prereq****
>
> ** **
>
> If everything is ok, you can proceed, otherwise you will need to install
> the missing packages****
>
> ** **
>
> At install time you may need to pass the argument for a standalone
> installation, this all depends on your environment****
>
> ** **
>
> sudo ./install ?standalone****
>
> ** **
>
> Once installation has completed you can test that the server is working
> by  going to one of the following websites****
>
> ** **
>
> http:///nagiosgraph/cgi-bin/showconfig.cgi or
> http:///nagiosgraph/cgi-bin/show.cgi****
>
> ** **
>
> This assumes your cgi data is located in cgi-bin and that you are running
> apache.****
>
> ** **
>
> This should help to get nagiosgraph working, you will then need to update
> Nagios to use the graphing plugin.****
>
> ** **
>
> James****
>
> ** **
>
> *From:* Aravinth Anto Intern [mailto:t-aravinth at juspay.in]
> *Sent:* 02 August 2012 14:38
> *To:* Nagios Users List
> *Subject:* [Nagios-users] Problem in Installing the graph plugin.****
>
> ** **
>
> Hi all, I'm trying to install Nagios Plugin :
> http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details
>
>
> I downloaded it, unzip it and then I run the install.pl as
>
> *sudo ./install.pl
> *
>
> I accepted every directory as default and done with installation.
>
> I changed the side.php to add my Trends link that are supported by this
> plugin. I restarted the server. But when I click on certain links. I get an
> error :
>
>
> *The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found
> on this server.
> *
>
> Why this is happening? I can go into the directory
> /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.
>
> But why its not working?
>
>
> Thanks in adavnce ****
>
>
> ------------------------------------------------------------------------------
> 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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From james.osbourn at citrix.com  Thu Sep  6 14:20:36 2012
From: james.osbourn at citrix.com (James Osbourn)
Date: Thu, 6 Sep 2012 13:20:36 +0100
Subject: Problem in Installing the graph plugin.
In-Reply-To: 
References: 
	<09051C7A8945F944AB7AC4E86BEB1ED5EF2F862A3E@LONPMAILBOX01.citrite.net>
	
Message-ID: <09051C7A8945F944AB7AC4E86BEB1ED50101A5FF3A1B@LONPMAILBOX01.citrite.net>

You will need to install the RRD package.  How you do this will depend on your operating system.

James

From: Aravinth Anto [mailto:t-aravinth at juspay.in]
Sent: 06 September 2012 13:08
To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

I run this command :

sudo ./install.pl --check-prereq

checking required PERL modules
  Carp...1.20
  CGI...3.52
  Data::Dumper...2.130_02
  File::Basename...2.82
  File::Find...1.19
  MIME::Base64...3.13
  POSIX...1.24
  RRDs... ***FAIL***
  Time::HiRes...1.972101
checking optional PERL modules
  GD...2.46
checking nagios installation
  found nagios at /usr/local/nagios/bin/nagios
checking web server installation
  found apache at /usr/sbin/apache2

*** one or more problems were detected!


It seems that RRDs... ***FAIL*** . So how can I skip this error?



On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn > wrote:
Did you run the install and check your prerequisites, I found that some of these are not present by default, You can run

sudo ./install -check=prereq

If everything is ok, you can proceed, otherwise you will need to install the missing packages

At install time you may need to pass the argument for a standalone installation, this all depends on your environment

sudo ./install -standalone

Once installation has completed you can test that the server is working by  going to one of the following websites

http:///nagiosgraph/cgi-bin/showconfig.cgi or http:///nagiosgraph/cgi-bin/show.cgi

This assumes your cgi data is located in cgi-bin and that you are running apache.

This should help to get nagiosgraph working, you will then need to update Nagios to use the graphing plugin.

James

From: Aravinth Anto Intern [mailto:t-aravinth at juspay.in]
Sent: 02 August 2012 14:38
To: Nagios Users List
Subject: [Nagios-users] Problem in Installing the graph plugin.

Hi all, I'm trying to install Nagios Plugin : http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details


I downloaded it, unzip it and then I run the install.pl as

sudo ./install.pl


I accepted every directory as default and done with installation.

I changed the side.php to add my Trends link that are supported by this plugin. I restarted the server. But when I click on certain links. I get an error :


The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found on this server.


Why this is happening? I can go into the directory /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.

But why its not working?


Thanks in adavnce

------------------------------------------------------------------------------
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 at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From t-aravinth at juspay.in  Thu Sep  6 14:39:18 2012
From: t-aravinth at juspay.in (Aravinth Anto)
Date: Thu, 6 Sep 2012 18:09:18 +0530
Subject: Problem in Installing the graph plugin.
In-Reply-To: <09051C7A8945F944AB7AC4E86BEB1ED50101A5FF3A1B@LONPMAILBOX01.citrite.net>
References: 
	<09051C7A8945F944AB7AC4E86BEB1ED5EF2F862A3E@LONPMAILBOX01.citrite.net>
	
	<09051C7A8945F944AB7AC4E86BEB1ED50101A5FF3A1B@LONPMAILBOX01.citrite.net>
Message-ID: 

I have installed it. And then I run the install.pl script. And I also
replaced the /usr/local/nagios/share/side.php file with required changes.

When I try to view the contents on browser I get 404 error.

Basically it says that :

The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on this
server.

Eventhough I can view that file!

On Thu, Sep 6, 2012 at 5:50 PM, James Osbourn wrote:

> You will need to install the RRD package.  How you do this will depend on
> your operating system.****
>
> ** **
>
> James****
>
> ** **
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* 06 September 2012 13:08
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
> ** **
>
> I run this command : ****
>
> ** **
>
> sudo ./install.pl --check-prereq****
>
> ** **
>
> checking required PERL modules****
>
>   Carp...1.20****
>
>   CGI...3.52****
>
>   Data::Dumper...2.130_02****
>
>   File::Basename...2.82****
>
>   File::Find...1.19****
>
>   MIME::Base64...3.13****
>
>   POSIX...1.24****
>
>   RRDs... ***FAIL*******
>
>   Time::HiRes...1.972101****
>
> checking optional PERL modules****
>
>   GD...2.46****
>
> checking nagios installation****
>
>   found nagios at /usr/local/nagios/bin/nagios****
>
> checking web server installation****
>
>   found apache at /usr/sbin/apache2****
>
> ** **
>
> *** one or more problems were detected!****
>
> ** **
>
> ** **
>
> It seems that RRDs... ***FAIL*** . So how can I skip this error?****
>
> ** **
>
> ** **
>
> ** **
>
> On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn 
> wrote:****
>
> Did you run the install and check your prerequisites, I found that some of
> these are not present by default, You can run****
>
>  ****
>
> sudo ./install ?check=prereq****
>
>  ****
>
> If everything is ok, you can proceed, otherwise you will need to install
> the missing packages****
>
>  ****
>
> At install time you may need to pass the argument for a standalone
> installation, this all depends on your environment****
>
>  ****
>
> sudo ./install ?standalone****
>
>  ****
>
> Once installation has completed you can test that the server is working
> by  going to one of the following websites****
>
>  ****
>
> http:///nagiosgraph/cgi-bin/showconfig.cgi or
> http:///nagiosgraph/cgi-bin/show.cgi****
>
>  ****
>
> This assumes your cgi data is located in cgi-bin and that you are running
> apache.****
>
>  ****
>
> This should help to get nagiosgraph working, you will then need to update
> Nagios to use the graphing plugin.****
>
>  ****
>
> James****
>
>  ****
>
> *From:* Aravinth Anto Intern [mailto:t-aravinth at juspay.in]
> *Sent:* 02 August 2012 14:38
> *To:* Nagios Users List
> *Subject:* [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> Hi all, I'm trying to install Nagios Plugin :
> http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details
>
>
> I downloaded it, unzip it and then I run the install.pl as
>
> *sudo ./install.pl
> *
>
> I accepted every directory as default and done with installation.
>
> I changed the side.php to add my Trends link that are supported by this
> plugin. I restarted the server. But when I click on certain links. I get an
> error :
>
>
> *The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found
> on this server.
> *
>
> Why this is happening? I can go into the directory
> /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.
>
> But why its not working?
>
>
> Thanks in adavnce ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
> ** **
>
>
> ------------------------------------------------------------------------------
> 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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From t-aravinth at juspay.in  Thu Sep  6 15:07:29 2012
From: t-aravinth at juspay.in (Aravinth Anto)
Date: Thu, 6 Sep 2012 18:37:29 +0530
Subject: Problem in Installing the graph plugin.
In-Reply-To: 
References: 
	<09051C7A8945F944AB7AC4E86BEB1ED5EF2F862A3E@LONPMAILBOX01.citrite.net>
	
	<09051C7A8945F944AB7AC4E86BEB1ED50101A5FF3A1B@LONPMAILBOX01.citrite.net>
	
Message-ID: 

I'm using Ubuntu 12.04 and I installed the nagios3 using :

sudo apt-get install -y nagios3

Can anyone say me how to install this graph plugin. I'm spending days on
it!!!

On Thu, Sep 6, 2012 at 6:09 PM, Aravinth Anto  wrote:

> I have installed it. And then I run the install.pl script. And I also
> replaced the /usr/local/nagios/share/side.php file with required changes.
>
> When I try to view the contents on browser I get 404 error.
>
> Basically it says that :
>
> The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on
> this server.
>
> Eventhough I can view that file!
>
>
> On Thu, Sep 6, 2012 at 5:50 PM, James Osbourn wrote:
>
>> You will need to install the RRD package.  How you do this will depend on
>> your operating system.****
>>
>> ** **
>>
>> James****
>>
>> ** **
>>
>> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
>> *Sent:* 06 September 2012 13:08
>> *To:* Nagios Users List
>> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>>
>> ** **
>>
>> I run this command : ****
>>
>> ** **
>>
>> sudo ./install.pl --check-prereq****
>>
>> ** **
>>
>> checking required PERL modules****
>>
>>   Carp...1.20****
>>
>>   CGI...3.52****
>>
>>   Data::Dumper...2.130_02****
>>
>>   File::Basename...2.82****
>>
>>   File::Find...1.19****
>>
>>   MIME::Base64...3.13****
>>
>>   POSIX...1.24****
>>
>>   RRDs... ***FAIL*******
>>
>>   Time::HiRes...1.972101****
>>
>> checking optional PERL modules****
>>
>>   GD...2.46****
>>
>> checking nagios installation****
>>
>>   found nagios at /usr/local/nagios/bin/nagios****
>>
>> checking web server installation****
>>
>>   found apache at /usr/sbin/apache2****
>>
>> ** **
>>
>> *** one or more problems were detected!****
>>
>> ** **
>>
>> ** **
>>
>> It seems that RRDs... ***FAIL*** . So how can I skip this error?****
>>
>> ** **
>>
>> ** **
>>
>> ** **
>>
>> On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn 
>> wrote:****
>>
>> Did you run the install and check your prerequisites, I found that some
>> of these are not present by default, You can run****
>>
>>  ****
>>
>> sudo ./install ?check=prereq****
>>
>>  ****
>>
>> If everything is ok, you can proceed, otherwise you will need to install
>> the missing packages****
>>
>>  ****
>>
>> At install time you may need to pass the argument for a standalone
>> installation, this all depends on your environment****
>>
>>  ****
>>
>> sudo ./install ?standalone****
>>
>>  ****
>>
>> Once installation has completed you can test that the server is working
>> by  going to one of the following websites****
>>
>>  ****
>>
>> http:///nagiosgraph/cgi-bin/showconfig.cgi or
>> http:///nagiosgraph/cgi-bin/show.cgi****
>>
>>  ****
>>
>> This assumes your cgi data is located in cgi-bin and that you are running
>> apache.****
>>
>>  ****
>>
>> This should help to get nagiosgraph working, you will then need to update
>> Nagios to use the graphing plugin.****
>>
>>  ****
>>
>> James****
>>
>>  ****
>>
>> *From:* Aravinth Anto Intern [mailto:t-aravinth at juspay.in]
>> *Sent:* 02 August 2012 14:38
>> *To:* Nagios Users List
>> *Subject:* [Nagios-users] Problem in Installing the graph plugin.****
>>
>>  ****
>>
>> Hi all, I'm trying to install Nagios Plugin :
>> http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details
>>
>>
>> I downloaded it, unzip it and then I run the install.pl as
>>
>> *sudo ./install.pl
>> *
>>
>> I accepted every directory as default and done with installation.
>>
>> I changed the side.php to add my Trends link that are supported by this
>> plugin. I restarted the server. But when I click on certain links. I get an
>> error :
>>
>>
>> *The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not
>> found on this server.
>> *
>>
>> Why this is happening? I can go into the directory
>> /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.
>>
>> But why its not working?
>>
>>
>> Thanks in adavnce ****
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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 at 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***
>> *
>>
>> ** **
>>
>>
>> ------------------------------------------------------------------------------
>> 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 at 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From ftlnagios at gmail.com  Thu Sep  6 15:19:59 2012
From: ftlnagios at gmail.com (FTL Nagios)
Date: Thu, 6 Sep 2012 14:19:59 +0100
Subject: Problem in Installing the graph plugin.
In-Reply-To: 
References: 	<09051C7A8945F944AB7AC4E86BEB1ED5EF2F862A3E@LONPMAILBOX01.citrite.net>		<09051C7A8945F944AB7AC4E86BEB1ED50101A5FF3A1B@LONPMAILBOX01.citrite.net>	
	
Message-ID: <006901cd8c32$51c04160$f540c420$@gmail.com>

Install the RRD package like you have previously have been asked too.

 

sudo apt-get install rrdtool

 

Then rerun the install.pl script again.

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 06 September 2012 14:07
To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I'm using Ubuntu 12.04 and I installed the nagios3 using :

 

sudo apt-get install -y nagios3

 

Can anyone say me how to install this graph plugin. I'm spending days on
it!!!

On Thu, Sep 6, 2012 at 6:09 PM, Aravinth Anto  wrote:

I have installed it. And then I run the install.pl script. And I also
replaced the /usr/local/nagios/share/side.php file with required changes. 

 

When I try to view the contents on browser I get 404 error.

 

Basically it says that :

 

The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on this
server.

 

Eventhough I can view that file!

 

On Thu, Sep 6, 2012 at 5:50 PM, James Osbourn 
wrote:

You will need to install the RRD package.  How you do this will depend on
your operating system.

 

James

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 06 September 2012 13:08
To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I run this command : 

 

sudo ./install.pl --check-prereq

 

checking required PERL modules

  Carp...1.20

  CGI...3.52

  Data::Dumper...2.130_02

  File::Basename...2.82

  File::Find...1.19

  MIME::Base64...3.13

  POSIX...1.24

  RRDs... ***FAIL***

  Time::HiRes...1.972101

checking optional PERL modules

  GD...2.46

checking nagios installation

  found nagios at /usr/local/nagios/bin/nagios

checking web server installation

  found apache at /usr/sbin/apache2

 

*** one or more problems were detected!

 

 

It seems that RRDs... ***FAIL*** . So how can I skip this error?

 

 

 

On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn 
wrote:

Did you run the install and check your prerequisites, I found that some of
these are not present by default, You can run

 

sudo ./install -check=prereq

 

If everything is ok, you can proceed, otherwise you will need to install the
missing packages

 

At install time you may need to pass the argument for a standalone
installation, this all depends on your environment

 

sudo ./install -standalone

 

Once installation has completed you can test that the server is working by
going to one of the following websites

 

http:// 
/nagiosgraph/cgi-bin/showconfig.cgi or http://

/nagiosgraph/cgi-bin/show.cgi

 

This assumes your cgi data is located in cgi-bin and that you are running
apache.

 

This should help to get nagiosgraph working, you will then need to update
Nagios to use the graphing plugin.

 

James

 

From: Aravinth Anto Intern [mailto:t-aravinth at juspay.in] 
Sent: 02 August 2012 14:38
To: Nagios Users List
Subject: [Nagios-users] Problem in Installing the graph plugin.

 

Hi all, I'm trying to install Nagios Plugin :
http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgrap
h/details


I downloaded it, unzip it and then I run the install.pl as

sudo ./install.pl


I accepted every directory as default and done with installation. 

I changed the side.php to add my Trends link that are supported by this
plugin. I restarted the server. But when I click on certain links. I get an
error :


The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found on
this server.


Why this is happening? I can go into the directory
/usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.

But why its not working? 


Thanks in adavnce 


----------------------------------------------------------------------------
--
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 at 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

 


----------------------------------------------------------------------------
--
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 at 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

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From t-aravinth at juspay.in  Thu Sep  6 15:35:35 2012
From: t-aravinth at juspay.in (Aravinth Anto)
Date: Thu, 6 Sep 2012 19:05:35 +0530
Subject: Problem in Installing the graph plugin.
In-Reply-To: <006901cd8c32$51c04160$f540c420$@gmail.com>
References: 
	<09051C7A8945F944AB7AC4E86BEB1ED5EF2F862A3E@LONPMAILBOX01.citrite.net>
	
	<09051C7A8945F944AB7AC4E86BEB1ED50101A5FF3A1B@LONPMAILBOX01.citrite.net>
	
	
	<006901cd8c32$51c04160$f540c420$@gmail.com>
Message-ID: 

I have installed the RRD package. But still I'm getting a 404 error when I
try to visit graphs in my browser.

On Thu, Sep 6, 2012 at 6:49 PM, FTL Nagios  wrote:

> Install the RRD package like you have previously have been asked too.****
>
> ** **
>
> sudo apt-get install rrdtool****
>
> ** **
>
> Then rerun the install.pl script again.****
>
> ** **
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* 06 September 2012 14:07
>
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
> ** **
>
> I'm using Ubuntu 12.04 and I installed the nagios3 using :****
>
> ** **
>
> sudo apt-get install -y nagios3****
>
> ** **
>
> Can anyone say me how to install this graph plugin. I'm spending days on
> it!!!****
>
> On Thu, Sep 6, 2012 at 6:09 PM, Aravinth Anto 
> wrote:****
>
> I have installed it. And then I run the install.pl script. And I also
> replaced the /usr/local/nagios/share/side.php file with required changes.
> ****
>
> ** **
>
> When I try to view the contents on browser I get 404 error.****
>
> ** **
>
> Basically it says that :****
>
> ** **
>
> The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on
> this server.****
>
> ** **
>
> Eventhough I can view that file!****
>
> ** **
>
> On Thu, Sep 6, 2012 at 5:50 PM, James Osbourn 
> wrote:****
>
> You will need to install the RRD package.  How you do this will depend on
> your operating system.****
>
>  ****
>
> James****
>
>  ****
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* 06 September 2012 13:08
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> I run this command : ****
>
>  ****
>
> sudo ./install.pl --check-prereq****
>
>  ****
>
> checking required PERL modules****
>
>   Carp...1.20****
>
>   CGI...3.52****
>
>   Data::Dumper...2.130_02****
>
>   File::Basename...2.82****
>
>   File::Find...1.19****
>
>   MIME::Base64...3.13****
>
>   POSIX...1.24****
>
>   RRDs... ***FAIL*******
>
>   Time::HiRes...1.972101****
>
> checking optional PERL modules****
>
>   GD...2.46****
>
> checking nagios installation****
>
>   found nagios at /usr/local/nagios/bin/nagios****
>
> checking web server installation****
>
>   found apache at /usr/sbin/apache2****
>
>  ****
>
> *** one or more problems were detected!****
>
>  ****
>
>  ****
>
> It seems that RRDs... ***FAIL*** . So how can I skip this error?****
>
>  ****
>
>  ****
>
>  ****
>
> On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn 
> wrote:****
>
> Did you run the install and check your prerequisites, I found that some of
> these are not present by default, You can run****
>
>  ****
>
> sudo ./install ?check=prereq****
>
>  ****
>
> If everything is ok, you can proceed, otherwise you will need to install
> the missing packages****
>
>  ****
>
> At install time you may need to pass the argument for a standalone
> installation, this all depends on your environment****
>
>  ****
>
> sudo ./install ?standalone****
>
>  ****
>
> Once installation has completed you can test that the server is working
> by  going to one of the following websites****
>
>  ****
>
> http:///nagiosgraph/cgi-bin/showconfig.cgi or
> http:///nagiosgraph/cgi-bin/show.cgi****
>
>  ****
>
> This assumes your cgi data is located in cgi-bin and that you are running
> apache.****
>
>  ****
>
> This should help to get nagiosgraph working, you will then need to update
> Nagios to use the graphing plugin.****
>
>  ****
>
> James****
>
>  ****
>
> *From:* Aravinth Anto Intern [mailto:t-aravinth at juspay.in]
> *Sent:* 02 August 2012 14:38
> *To:* Nagios Users List
> *Subject:* [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> Hi all, I'm trying to install Nagios Plugin :
> http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details
>
>
> I downloaded it, unzip it and then I run the install.pl as
>
> *sudo ./install.pl
> *
>
> I accepted every directory as default and done with installation.
>
> I changed the side.php to add my Trends link that are supported by this
> plugin. I restarted the server. But when I click on certain links. I get an
> error :
>
>
> *The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found
> on this server.
> *
>
> Why this is happening? I can go into the directory
> /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.
>
> But why its not working?
>
>
> Thanks in adavnce ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
> ** **
>
> ** **
>
>
> ------------------------------------------------------------------------------
> 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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From support at voipbusiness.us  Thu Sep  6 15:49:03 2012
From: support at voipbusiness.us (Tech Support)
Date: Thu, 6 Sep 2012 09:49:03 -0400
Subject: Problem in Installing the graph plugin.
In-Reply-To: 
References: 	<09051C7A8945F944AB7AC4E86BEB1ED5EF2F862A3E@LONPMAILBOX01.citrite.net>		<09051C7A8945F944AB7AC4E86BEB1ED50101A5FF3A1B@LONPMAILBOX01.citrite.net>			<006901cd8c32$51c04160$f540c420$@gmail.com>
	
Message-ID: <005001cd8c36$60962e30$21c28a90$@us>

> 

>When I try to view the contents on browser I get 404 error.

> Basically it says that 

>The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on this
server.

> 

 

One thing that I see is that the URL should be
/nagiosgraph/cgi-bin/show.cgi, not /nagiosgraph/cgi/chow.cgi. Could that be
your problem?

Regards;

John

 

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: Thursday, September 06, 2012 9:36 AM
To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I have installed the RRD package. But still I'm getting a 404 error when I
try to visit graphs in my browser. 

On Thu, Sep 6, 2012 at 6:49 PM, FTL Nagios  wrote:

Install the RRD package like you have previously have been asked too.

 

sudo apt-get install rrdtool

 

Then rerun the install.pl script again.

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 06 September 2012 14:07


To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I'm using Ubuntu 12.04 and I installed the nagios3 using :

 

sudo apt-get install -y nagios3

 

Can anyone say me how to install this graph plugin. I'm spending days on
it!!!

On Thu, Sep 6, 2012 at 6:09 PM, Aravinth Anto  wrote:

I have installed it. And then I run the install.pl script. And I also
replaced the /usr/local/nagios/share/side.php file with required changes. 

 

When I try to view the contents on browser I get 404 error.

 

Basically it says that :

 

The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on this
server.

 

Eventhough I can view that file!

 

On Thu, Sep 6, 2012 at 5:50 PM, James Osbourn 
wrote:

You will need to install the RRD package.  How you do this will depend on
your operating system.

 

James

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 06 September 2012 13:08
To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I run this command : 

 

sudo ./install.pl --check-prereq

 

checking required PERL modules

  Carp...1.20

  CGI...3.52

  Data::Dumper...2.130_02

  File::Basename...2.82

  File::Find...1.19

  MIME::Base64...3.13

  POSIX...1.24

  RRDs... ***FAIL***

  Time::HiRes...1.972101

checking optional PERL modules

  GD...2.46

checking nagios installation

  found nagios at /usr/local/nagios/bin/nagios

checking web server installation

  found apache at /usr/sbin/apache2

 

*** one or more problems were detected!

 

 

It seems that RRDs... ***FAIL*** . So how can I skip this error?

 

 

 

On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn 
wrote:

Did you run the install and check your prerequisites, I found that some of
these are not present by default, You can run

 

sudo ./install -check=prereq

 

If everything is ok, you can proceed, otherwise you will need to install the
missing packages

 

At install time you may need to pass the argument for a standalone
installation, this all depends on your environment

 

sudo ./install -standalone

 

Once installation has completed you can test that the server is working by
going to one of the following websites

 

http:// 
/nagiosgraph/cgi-bin/showconfig.cgi or http://

/nagiosgraph/cgi-bin/show.cgi

 

This assumes your cgi data is located in cgi-bin and that you are running
apache.

 

This should help to get nagiosgraph working, you will then need to update
Nagios to use the graphing plugin.

 

James

 

From: Aravinth Anto Intern [mailto:t-aravinth at juspay.in] 
Sent: 02 August 2012 14:38
To: Nagios Users List
Subject: [Nagios-users] Problem in Installing the graph plugin.

 

Hi all, I'm trying to install Nagios Plugin :
http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgrap
h/details


I downloaded it, unzip it and then I run the install.pl as

sudo ./install.pl


I accepted every directory as default and done with installation. 

I changed the side.php to add my Trends link that are supported by this
plugin. I restarted the server. But when I click on certain links. I get an
error :


The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found on
this server.


Why this is happening? I can go into the directory
/usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.

But why its not working? 


Thanks in adavnce 


----------------------------------------------------------------------------
--
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 at 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

 


----------------------------------------------------------------------------
--
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 at 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

 

 


----------------------------------------------------------------------------
--
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 at 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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From ftlnagios at gmail.com  Thu Sep  6 15:49:30 2012
From: ftlnagios at gmail.com (FTL Nagios)
Date: Thu, 6 Sep 2012 14:49:30 +0100
Subject: Problem in Installing the graph plugin.
In-Reply-To: 
References: 	<09051C7A8945F944AB7AC4E86BEB1ED5EF2F862A3E@LONPMAILBOX01.citrite.net>		<09051C7A8945F944AB7AC4E86BEB1ED50101A5FF3A1B@LONPMAILBOX01.citrite.net>			<006901cd8c32$51c04160$f540c420$@gmail.com>
	
Message-ID: <008b01cd8c36$712316a0$536943e0$@gmail.com>

Apologies I misses your latest reply saying you had installe dit.

 

Have you got the correct lines in your command.cfgs file?

Also have you double checked you have entered the correct details in the
nagios.cfg file for the broker options etc?

 

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 06 September 2012 14:36
To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I have installed the RRD package. But still I'm getting a 404 error when I
try to visit graphs in my browser. 

On Thu, Sep 6, 2012 at 6:49 PM, FTL Nagios  wrote:

Install the RRD package like you have previously have been asked too.

 

sudo apt-get install rrdtool

 

Then rerun the install.pl script again.

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 06 September 2012 14:07


To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I'm using Ubuntu 12.04 and I installed the nagios3 using :

 

sudo apt-get install -y nagios3

 

Can anyone say me how to install this graph plugin. I'm spending days on
it!!!

On Thu, Sep 6, 2012 at 6:09 PM, Aravinth Anto  wrote:

I have installed it. And then I run the install.pl script. And I also
replaced the /usr/local/nagios/share/side.php file with required changes. 

 

When I try to view the contents on browser I get 404 error.

 

Basically it says that :

 

The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on this
server.

 

Eventhough I can view that file!

 

On Thu, Sep 6, 2012 at 5:50 PM, James Osbourn 
wrote:

You will need to install the RRD package.  How you do this will depend on
your operating system.

 

James

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 06 September 2012 13:08
To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I run this command : 

 

sudo ./install.pl --check-prereq

 

checking required PERL modules

  Carp...1.20

  CGI...3.52

  Data::Dumper...2.130_02

  File::Basename...2.82

  File::Find...1.19

  MIME::Base64...3.13

  POSIX...1.24

  RRDs... ***FAIL***

  Time::HiRes...1.972101

checking optional PERL modules

  GD...2.46

checking nagios installation

  found nagios at /usr/local/nagios/bin/nagios

checking web server installation

  found apache at /usr/sbin/apache2

 

*** one or more problems were detected!

 

 

It seems that RRDs... ***FAIL*** . So how can I skip this error?

 

 

 

On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn 
wrote:

Did you run the install and check your prerequisites, I found that some of
these are not present by default, You can run

 

sudo ./install -check=prereq

 

If everything is ok, you can proceed, otherwise you will need to install the
missing packages

 

At install time you may need to pass the argument for a standalone
installation, this all depends on your environment

 

sudo ./install -standalone

 

Once installation has completed you can test that the server is working by
going to one of the following websites

 

http:// 
/nagiosgraph/cgi-bin/showconfig.cgi or http://

/nagiosgraph/cgi-bin/show.cgi

 

This assumes your cgi data is located in cgi-bin and that you are running
apache.

 

This should help to get nagiosgraph working, you will then need to update
Nagios to use the graphing plugin.

 

James

 

From: Aravinth Anto Intern [mailto:t-aravinth at juspay.in] 
Sent: 02 August 2012 14:38
To: Nagios Users List
Subject: [Nagios-users] Problem in Installing the graph plugin.

 

Hi all, I'm trying to install Nagios Plugin :
http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgrap
h/details


I downloaded it, unzip it and then I run the install.pl as

sudo ./install.pl


I accepted every directory as default and done with installation. 

I changed the side.php to add my Trends link that are supported by this
plugin. I restarted the server. But when I click on certain links. I get an
error :


The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found on
this server.


Why this is happening? I can go into the directory
/usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.

But why its not working? 


Thanks in adavnce 


----------------------------------------------------------------------------
--
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 at 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

 


----------------------------------------------------------------------------
--
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 at 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

 

 


----------------------------------------------------------------------------
--
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 at 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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From t-aravinth at juspay.in  Thu Sep  6 16:06:40 2012
From: t-aravinth at juspay.in (Aravinth Anto)
Date: Thu, 6 Sep 2012 19:36:40 +0530
Subject: Problem in Installing the graph plugin.
In-Reply-To: <008b01cd8c36$712316a0$536943e0$@gmail.com>
References: 
	<09051C7A8945F944AB7AC4E86BEB1ED5EF2F862A3E@LONPMAILBOX01.citrite.net>
	
	<09051C7A8945F944AB7AC4E86BEB1ED50101A5FF3A1B@LONPMAILBOX01.citrite.net>
	
	
	<006901cd8c32$51c04160$f540c420$@gmail.com>
	
	<008b01cd8c36$712316a0$536943e0$@gmail.com>
Message-ID: 

Here is my commands.cfg:

# 'process-host-perfdata' command definition
define command{
command_name process-host-perfdata
command_line /usr/bin/printf "%b"
"$LASTHOSTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$HOSTSTATETYPE$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$\n"
>> /var/lib/nagios3/host-perfdata.out
}


# 'process-service-perfdata' command definition
define command{
command_name process-service-perfdata
command_line /usr/bin/printf "%b"
"$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n"
>> /var/lib/nagios3/service-perfdata.out
}



# begin nagiosgraph configuration
# command to process nagios performance data for nagiosgraph
define command {
  command_name process-service-perfdata-for-nagiosgraph
  command_line  /usr/local/nagios/libexec/insert.pl
}
# end nagiosgraph configuratio

And nagios.cfg (added for nagios graph) :

# begin nagiosgraph configuration
# process nagios performance data using nagiosgraph
process_performance_data=1
service_perfdata_file=/var/nagios/perfdata.log
service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$
service_perfdata_file_mode=a
service_perfdata_file_processing_interval=30
service_perfdata_file_processing_command=process-service-perfdata-for-nagiosgraph
# end nagiosgraph configuration

Are they correct?



On Thu, Sep 6, 2012 at 7:19 PM, FTL Nagios  wrote:

> Apologies I misses your latest reply saying you had installe dit.****
>
> ** **
>
> Have you got the correct lines in your command.cfgs file?****
>
> Also have you double checked you have entered the correct details in the
> nagios.cfg file for the broker options etc?****
>
> ** **
>
> ** **
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* 06 September 2012 14:36
>
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
> ** **
>
> I have installed the RRD package. But still I'm getting a 404 error when I
> try to visit graphs in my browser. ****
>
> On Thu, Sep 6, 2012 at 6:49 PM, FTL Nagios  wrote:***
> *
>
> Install the RRD package like you have previously have been asked too.****
>
>  ****
>
> sudo apt-get install rrdtool****
>
>  ****
>
> Then rerun the install.pl script again.****
>
>  ****
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* 06 September 2012 14:07****
>
>
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> I'm using Ubuntu 12.04 and I installed the nagios3 using :****
>
>  ****
>
> sudo apt-get install -y nagios3****
>
>  ****
>
> Can anyone say me how to install this graph plugin. I'm spending days on
> it!!!****
>
> On Thu, Sep 6, 2012 at 6:09 PM, Aravinth Anto 
> wrote:****
>
> I have installed it. And then I run the install.pl script. And I also
> replaced the /usr/local/nagios/share/side.php file with required changes.
> ****
>
>  ****
>
> When I try to view the contents on browser I get 404 error.****
>
>  ****
>
> Basically it says that :****
>
>  ****
>
> The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on
> this server.****
>
>  ****
>
> Eventhough I can view that file!****
>
>  ****
>
> On Thu, Sep 6, 2012 at 5:50 PM, James Osbourn 
> wrote:****
>
> You will need to install the RRD package.  How you do this will depend on
> your operating system.****
>
>  ****
>
> James****
>
>  ****
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* 06 September 2012 13:08
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> I run this command : ****
>
>  ****
>
> sudo ./install.pl --check-prereq****
>
>  ****
>
> checking required PERL modules****
>
>   Carp...1.20****
>
>   CGI...3.52****
>
>   Data::Dumper...2.130_02****
>
>   File::Basename...2.82****
>
>   File::Find...1.19****
>
>   MIME::Base64...3.13****
>
>   POSIX...1.24****
>
>   RRDs... ***FAIL*******
>
>   Time::HiRes...1.972101****
>
> checking optional PERL modules****
>
>   GD...2.46****
>
> checking nagios installation****
>
>   found nagios at /usr/local/nagios/bin/nagios****
>
> checking web server installation****
>
>   found apache at /usr/sbin/apache2****
>
>  ****
>
> *** one or more problems were detected!****
>
>  ****
>
>  ****
>
> It seems that RRDs... ***FAIL*** . So how can I skip this error?****
>
>  ****
>
>  ****
>
>  ****
>
> On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn 
> wrote:****
>
> Did you run the install and check your prerequisites, I found that some of
> these are not present by default, You can run****
>
>  ****
>
> sudo ./install ?check=prereq****
>
>  ****
>
> If everything is ok, you can proceed, otherwise you will need to install
> the missing packages****
>
>  ****
>
> At install time you may need to pass the argument for a standalone
> installation, this all depends on your environment****
>
>  ****
>
> sudo ./install ?standalone****
>
>  ****
>
> Once installation has completed you can test that the server is working
> by  going to one of the following websites****
>
>  ****
>
> http:///nagiosgraph/cgi-bin/showconfig.cgi or
> http:///nagiosgraph/cgi-bin/show.cgi****
>
>  ****
>
> This assumes your cgi data is located in cgi-bin and that you are running
> apache.****
>
>  ****
>
> This should help to get nagiosgraph working, you will then need to update
> Nagios to use the graphing plugin.****
>
>  ****
>
> James****
>
>  ****
>
> *From:* Aravinth Anto Intern [mailto:t-aravinth at juspay.in]
> *Sent:* 02 August 2012 14:38
> *To:* Nagios Users List
> *Subject:* [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> Hi all, I'm trying to install Nagios Plugin :
> http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details
>
>
> I downloaded it, unzip it and then I run the install.pl as
>
> *sudo ./install.pl
> *
>
> I accepted every directory as default and done with installation.
>
> I changed the side.php to add my Trends link that are supported by this
> plugin. I restarted the server. But when I click on certain links. I get an
> error :
>
>
> *The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found
> on this server.
> *
>
> Why this is happening? I can go into the directory
> /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.
>
> But why its not working?
>
>
> Thanks in adavnce ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
>  ****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
> ** **
>
>
> ------------------------------------------------------------------------------
> 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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From ftlnagios at gmail.com  Thu Sep  6 16:17:43 2012
From: ftlnagios at gmail.com (FTL Nagios)
Date: Thu, 6 Sep 2012 15:17:43 +0100
Subject: Problem in Installing the graph plugin.
In-Reply-To: 
References: 	<09051C7A8945F944AB7AC4E86BEB1ED5EF2F862A3E@LONPMAILBOX01.citrite.net>		<09051C7A8945F944AB7AC4E86BEB1ED50101A5FF3A1B@LONPMAILBOX01.citrite.net>			<006901cd8c32$51c04160$f540c420$@gmail.com>		<008b01cd8c36$712316a0$536943e0$@gmail.com>
	
Message-ID: <00a501cd8c3a$6206d860$26148920$@gmail.com>

And have you got a template for the hosts to use in your templates.cfg?

 

And then have you told your hosts to use that template?

 

In all honesty I would abandon this and use your time with PNP4NAGIOS!

 

Following the docs on the site you can have it up and running and working in
under 20 minutes!

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

 

 

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 06 September 2012 15:07
To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

Here is my commands.cfg:

 

# 'process-host-perfdata' command definition

define command{

            command_name          process-host-perfdata

            command_line /usr/bin/printf "%b"
"$LASTHOSTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$HOSTSTATETYPE$\t$
HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$\n" >>
/var/lib/nagios3/host-perfdata.out

            }

 

 

# 'process-service-perfdata' command definition

define command{

            command_name          process-service-perfdata

            command_line /usr/bin/printf "%b"
"$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTE
MPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICE
OUTPUT$\t$SERVICEPERFDATA$\n" >> /var/lib/nagios3/service-perfdata.out

            }

 

 

 

# begin nagiosgraph configuration

# command to process nagios performance data for nagiosgraph

define command {

  command_name process-service-perfdata-for-nagiosgraph

  command_line  /usr/local/nagios/libexec/insert.pl

}

# end nagiosgraph configuratio

 

And nagios.cfg (added for nagios graph) :

 

# begin nagiosgraph configuration

# process nagios performance data using nagiosgraph

process_performance_data=1

service_perfdata_file=/var/nagios/perfdata.log

service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$
||$SERVICEOUTPUT$||$SERVICEPERFDATA$

service_perfdata_file_mode=a

service_perfdata_file_processing_interval=30

service_perfdata_file_processing_command=process-service-perfdata-for-nagios
graph

# end nagiosgraph configuration

 

Are they correct?

 

 

 

On Thu, Sep 6, 2012 at 7:19 PM, FTL Nagios  wrote:

Apologies I misses your latest reply saying you had installe dit.

 

Have you got the correct lines in your command.cfgs file?

Also have you double checked you have entered the correct details in the
nagios.cfg file for the broker options etc?

 

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 06 September 2012 14:36


To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I have installed the RRD package. But still I'm getting a 404 error when I
try to visit graphs in my browser. 

On Thu, Sep 6, 2012 at 6:49 PM, FTL Nagios  wrote:

Install the RRD package like you have previously have been asked too.

 

sudo apt-get install rrdtool

 

Then rerun the install.pl script again.

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 06 September 2012 14:07


To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I'm using Ubuntu 12.04 and I installed the nagios3 using :

 

sudo apt-get install -y nagios3

 

Can anyone say me how to install this graph plugin. I'm spending days on
it!!!

On Thu, Sep 6, 2012 at 6:09 PM, Aravinth Anto  wrote:

I have installed it. And then I run the install.pl script. And I also
replaced the /usr/local/nagios/share/side.php file with required changes. 

 

When I try to view the contents on browser I get 404 error.

 

Basically it says that :

 

The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on this
server.

 

Eventhough I can view that file!

 

On Thu, Sep 6, 2012 at 5:50 PM, James Osbourn 
wrote:

You will need to install the RRD package.  How you do this will depend on
your operating system.

 

James

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 06 September 2012 13:08
To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I run this command : 

 

sudo ./install.pl --check-prereq

 

checking required PERL modules

  Carp...1.20

  CGI...3.52

  Data::Dumper...2.130_02

  File::Basename...2.82

  File::Find...1.19

  MIME::Base64...3.13

  POSIX...1.24

  RRDs... ***FAIL***

  Time::HiRes...1.972101

checking optional PERL modules

  GD...2.46

checking nagios installation

  found nagios at /usr/local/nagios/bin/nagios

checking web server installation

  found apache at /usr/sbin/apache2

 

*** one or more problems were detected!

 

 

It seems that RRDs... ***FAIL*** . So how can I skip this error?

 

 

 

On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn 
wrote:

Did you run the install and check your prerequisites, I found that some of
these are not present by default, You can run

 

sudo ./install -check=prereq

 

If everything is ok, you can proceed, otherwise you will need to install the
missing packages

 

At install time you may need to pass the argument for a standalone
installation, this all depends on your environment

 

sudo ./install -standalone

 

Once installation has completed you can test that the server is working by
going to one of the following websites

 

http:// 
/nagiosgraph/cgi-bin/showconfig.cgi or http://

/nagiosgraph/cgi-bin/show.cgi

 

This assumes your cgi data is located in cgi-bin and that you are running
apache.

 

This should help to get nagiosgraph working, you will then need to update
Nagios to use the graphing plugin.

 

James

 

From: Aravinth Anto Intern [mailto:t-aravinth at juspay.in] 
Sent: 02 August 2012 14:38
To: Nagios Users List
Subject: [Nagios-users] Problem in Installing the graph plugin.

 

Hi all, I'm trying to install Nagios Plugin :
http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgrap
h/details


I downloaded it, unzip it and then I run the install.pl as

sudo ./install.pl


I accepted every directory as default and done with installation. 

I changed the side.php to add my Trends link that are supported by this
plugin. I restarted the server. But when I click on certain links. I get an
error :


The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found on
this server.


Why this is happening? I can go into the directory
/usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.

But why its not working? 


Thanks in adavnce 


----------------------------------------------------------------------------
--
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 at 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

 


----------------------------------------------------------------------------
--
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 at 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

 

 


----------------------------------------------------------------------------
--
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 at 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

 


----------------------------------------------------------------------------
--
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 at 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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From lists at fuchsschwanzdomain.de  Thu Sep  6 17:59:06 2012
From: lists at fuchsschwanzdomain.de (Sven Geggus)
Date: Thu, 6 Sep 2012 15:59:06 +0000 (UTC)
Subject: check_areca via LAN (SNMP)?
Message-ID: 

Dear nagios users,

looking trough the Web I only found a check_areca plugin which uses the
commandline tool for checking the controler state.

However, as my areca controller is providing an ethernet interface
(ARC-1880) it should be better to do direct queries by LAN.

The controller does provide snmp which also seems to work (I can query the
controller using "snmpwalk -c public -v 1  iso.3.6.1" after I
added "public" as
Community in the Web Interface.

Unfortunately I was unable to figure out the correct key for RAID status
monitoring, as the areca provided mib's seem to be somewhat broken.

I am almost certainly looking for iso.3.6.1.4.1.18928.1.2.5.1.1.5.0 but this
is just an intelligent guess:

 ~/ # snmpget -c public -v 1  iso.3.6.1.4.1.18928.1.2.5.1.1.5.0
iso.3.6.1.4.1.18928.1.2.5.1.1.5.0 = STRING: "Normal"


Regards

Sven

-- 
Unix is simple and coherent, but it takes a genius ? or at any rate a
programmer ? to understand and appreciate the simplicity
(Dennis M. Ritchie)
/me is giggls at ircnet, http://sven.gegg.us/ on the Web

------------------------------------------------------------------------------
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 at 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

From t-aravinth at juspay.in  Fri Sep  7 09:13:24 2012
From: t-aravinth at juspay.in (Aravinth Anto)
Date: Fri, 7 Sep 2012 12:43:24 +0530
Subject: Problem in Installing the graph plugin.
In-Reply-To: <005001cd8c36$60962e30$21c28a90$@us>
References: 
	<09051C7A8945F944AB7AC4E86BEB1ED5EF2F862A3E@LONPMAILBOX01.citrite.net>
	
	<09051C7A8945F944AB7AC4E86BEB1ED50101A5FF3A1B@LONPMAILBOX01.citrite.net>
	
	
	<006901cd8c32$51c04160$f540c420$@gmail.com>
	
	<005001cd8c36$60962e30$21c28a90$@us>
Message-ID: 

I tried an followed the instruction on
http://docs.pnp4nagios.org/pnp-0.6/start

Everything seems to be fine. But when I went to
http://localhost/pnp4nagios/

I have been asked to remove the file. I removed it, which redirects me to :

http://localhost/pnp4nagios/graph

Where I get the error of :
*
*
*perfdata directory "/usr/local/pnp4nagios/var/perfdata/" is empty. *
*
*
*Please check your Nagios config. Read FAQ online  file [line]:
 application/models/data.php [109]:  back*

What will be my mistake?

Kindly help me out.

On Thu, Sep 6, 2012 at 7:19 PM, Tech Support wrote:

> >** **
>
> >When I try to view the contents on browser I get 404 error.****
>
> > Basically it says that ****
>
> >The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on
> this server.****
>
> >** **
>
> ** **
>
> One thing that I see is that the URL should be
> /nagiosgraph/cgi-bin/show.cgi, not /nagiosgraph/cgi/chow.cgi. Could that be
> your problem?****
>
> Regards;****
>
> John****
>
> ** **
>
> ** **
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* Thursday, September 06, 2012 9:36 AM
>
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
> ** **
>
> I have installed the RRD package. But still I'm getting a 404 error when I
> try to visit graphs in my browser. ****
>
> On Thu, Sep 6, 2012 at 6:49 PM, FTL Nagios  wrote:***
> *
>
> Install the RRD package like you have previously have been asked too.****
>
>  ****
>
> sudo apt-get install rrdtool****
>
>  ****
>
> Then rerun the install.pl script again.****
>
>  ****
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* 06 September 2012 14:07****
>
>
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> I'm using Ubuntu 12.04 and I installed the nagios3 using :****
>
>  ****
>
> sudo apt-get install -y nagios3****
>
>  ****
>
> Can anyone say me how to install this graph plugin. I'm spending days on
> it!!!****
>
> On Thu, Sep 6, 2012 at 6:09 PM, Aravinth Anto 
> wrote:****
>
> I have installed it. And then I run the install.pl script. And I also
> replaced the /usr/local/nagios/share/side.php file with required changes.
> ****
>
>  ****
>
> When I try to view the contents on browser I get 404 error.****
>
>  ****
>
> Basically it says that :****
>
>  ****
>
> The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on
> this server.****
>
>  ****
>
> Eventhough I can view that file!****
>
>  ****
>
> On Thu, Sep 6, 2012 at 5:50 PM, James Osbourn 
> wrote:****
>
> You will need to install the RRD package.  How you do this will depend on
> your operating system.****
>
>  ****
>
> James****
>
>  ****
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* 06 September 2012 13:08
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> I run this command : ****
>
>  ****
>
> sudo ./install.pl --check-prereq****
>
>  ****
>
> checking required PERL modules****
>
>   Carp...1.20****
>
>   CGI...3.52****
>
>   Data::Dumper...2.130_02****
>
>   File::Basename...2.82****
>
>   File::Find...1.19****
>
>   MIME::Base64...3.13****
>
>   POSIX...1.24****
>
>   RRDs... ***FAIL*******
>
>   Time::HiRes...1.972101****
>
> checking optional PERL modules****
>
>   GD...2.46****
>
> checking nagios installation****
>
>   found nagios at /usr/local/nagios/bin/nagios****
>
> checking web server installation****
>
>   found apache at /usr/sbin/apache2****
>
>  ****
>
> *** one or more problems were detected!****
>
>  ****
>
>  ****
>
> It seems that RRDs... ***FAIL*** . So how can I skip this error?****
>
>  ****
>
>  ****
>
>  ****
>
> On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn 
> wrote:****
>
> Did you run the install and check your prerequisites, I found that some of
> these are not present by default, You can run****
>
>  ****
>
> sudo ./install ?check=prereq****
>
>  ****
>
> If everything is ok, you can proceed, otherwise you will need to install
> the missing packages****
>
>  ****
>
> At install time you may need to pass the argument for a standalone
> installation, this all depends on your environment****
>
>  ****
>
> sudo ./install ?standalone****
>
>  ****
>
> Once installation has completed you can test that the server is working
> by  going to one of the following websites****
>
>  ****
>
> http:///nagiosgraph/cgi-bin/showconfig.cgi or
> http:///nagiosgraph/cgi-bin/show.cgi****
>
>  ****
>
> This assumes your cgi data is located in cgi-bin and that you are running
> apache.****
>
>  ****
>
> This should help to get nagiosgraph working, you will then need to update
> Nagios to use the graphing plugin.****
>
>  ****
>
> James****
>
>  ****
>
> *From:* Aravinth Anto Intern [mailto:t-aravinth at juspay.in]
> *Sent:* 02 August 2012 14:38
> *To:* Nagios Users List
> *Subject:* [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> Hi all, I'm trying to install Nagios Plugin :
> http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details
>
>
> I downloaded it, unzip it and then I run the install.pl as
>
> *sudo ./install.pl
> *
>
> I accepted every directory as default and done with installation.
>
> I changed the side.php to add my Trends link that are supported by this
> plugin. I restarted the server. But when I click on certain links. I get an
> error :
>
>
> *The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found
> on this server.
> *
>
> Why this is happening? I can go into the directory
> /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.
>
> But why its not working?
>
>
> Thanks in adavnce ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
>  ****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
> ** **
>
>
> ------------------------------------------------------------------------------
> 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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From t-aravinth at juspay.in  Fri Sep  7 09:27:38 2012
From: t-aravinth at juspay.in (Aravinth Anto)
Date: Fri, 7 Sep 2012 12:57:38 +0530
Subject: Problem in Installing the graph plugin.
In-Reply-To: 
References: 
	<09051C7A8945F944AB7AC4E86BEB1ED5EF2F862A3E@LONPMAILBOX01.citrite.net>
	
	<09051C7A8945F944AB7AC4E86BEB1ED50101A5FF3A1B@LONPMAILBOX01.citrite.net>
	
	
	<006901cd8c32$51c04160$f540c420$@gmail.com>
	
	<005001cd8c36$60962e30$21c28a90$@us>
	
Message-ID: 

And also I tried to debug it :

I tried running:

 sudo perl verify_pnp_config --mode npcdmod
--config=/etc/nagios3/nagios.cfg --pnpcfg=/usr/local/pnp4nagios/etc

I get the following output:

[INFO]  ========== Starting Environment Checks ============
[INFO]  My version is: verify_pnp_config-0.6.19-R.35
[INFO]  Start Options: verify_pnp_config --mode npcdmod
--config=/etc/nagios3/nagios.cfg --pnpcfg=/usr/local/pnp4nagios/etc
[INFO]  Reading /etc/nagios3/nagios.cfg
[OK  ]  Running product is 'nagios'
[OK  ]  object_cache_file is defined
[OK  ]  object_cache_file=/var/cache/nagios3/objects.cache
[INFO]  Reading /var/cache/nagios3/objects.cache
[OK  ]  resource_file is defined
[OK  ]  resource_file=/etc/nagios3/resource.cfg
[INFO]  Reading /etc/nagios3/resource.cfg
[INFO]  Reading /usr/local/pnp4nagios/etc/process_perfdata.cfg
[INFO]  Reading /usr/local/pnp4nagios/etc/pnp4nagios_release
[OK  ]  Found PNP4Nagios version "0.6.19"
[OK  ]  Effective User is 'nagios'
[OK  ]  User nagios exists with ID '122'
[OK  ]  Effective group is 'nagios'
[OK  ]  Group nagios exists with ID '132'
[INFO]  ========== Checking npcdmod Mode Config  ============
[OK  ]  process_performance_data is 1 compared with '/1/'
[CRIT]  service_perfdata_file is defined
(service_perfdata_file=/tmp/perfdata.log)
[CRIT]  service_perfdata_file is not allowed in mode 'npcdmod'
[CRIT]  service_perfdata_file_template is defined
(service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$)
[CRIT]  service_perfdata_file_template is not allowed in mode 'npcdmod'
[CRIT]  service_perfdata_file_mode is defined (service_perfdata_file_mode=a)
[CRIT]  service_perfdata_file_mode is not allowed in mode 'npcdmod'
[CRIT]  service_perfdata_file_processing_interval is defined
(service_perfdata_file_processing_interval=30)
[CRIT]  service_perfdata_file_processing_interval is not allowed in mode
'npcdmod'
[CRIT]  service_perfdata_file_processing_command is defined
(service_perfdata_file_processing_command=process-service-perfdata-for-nagiosgraph)
[CRIT]  service_perfdata_file_processing_command is not allowed in mode
'npcdmod'
[HINT]  Config options are not allowed in bulk mode with npcd (5)


What does these critical messages says? [CRIT]
 service_perfdata_file_template is not allowed in mode 'npcdmod'

I'm very new to Ubuntu. I need some help.

Thanks in advance



On Fri, Sep 7, 2012 at 12:43 PM, Aravinth Anto  wrote:

> I tried an followed the instruction on
> http://docs.pnp4nagios.org/pnp-0.6/start
>
> Everything seems to be fine. But when I went to
> http://localhost/pnp4nagios/ 
>
> I have been asked to remove the file. I removed it, which redirects me to :
>
> http://localhost/pnp4nagios/graph
>
> Where I get the error of :
> *
> *
> *perfdata directory "/usr/local/pnp4nagios/var/perfdata/" is empty. *
> *
> *
> *Please check your Nagios config. Read FAQ online  file [line]:
>  application/models/data.php [109]:  back*
>
> What will be my mistake?
>
> Kindly help me out.
>
>
> On Thu, Sep 6, 2012 at 7:19 PM, Tech Support wrote:
>
>> >** **
>>
>> >When I try to view the contents on browser I get 404 error.****
>>
>> > Basically it says that ****
>>
>> >The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on
>> this server.****
>>
>> >** **
>>
>> ** **
>>
>> One thing that I see is that the URL should be
>> /nagiosgraph/cgi-bin/show.cgi, not /nagiosgraph/cgi/chow.cgi. Could that be
>> your problem?****
>>
>> Regards;****
>>
>> John****
>>
>> ** **
>>
>> ** **
>>
>> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
>> *Sent:* Thursday, September 06, 2012 9:36 AM
>>
>> *To:* Nagios Users List
>> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>>
>> ** **
>>
>> I have installed the RRD package. But still I'm getting a 404 error when
>> I try to visit graphs in my browser. ****
>>
>> On Thu, Sep 6, 2012 at 6:49 PM, FTL Nagios  wrote:**
>> **
>>
>> Install the RRD package like you have previously have been asked too.****
>>
>>  ****
>>
>> sudo apt-get install rrdtool****
>>
>>  ****
>>
>> Then rerun the install.pl script again.****
>>
>>  ****
>>
>> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
>> *Sent:* 06 September 2012 14:07****
>>
>>
>> *To:* Nagios Users List
>> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>>
>>  ****
>>
>> I'm using Ubuntu 12.04 and I installed the nagios3 using :****
>>
>>  ****
>>
>> sudo apt-get install -y nagios3****
>>
>>  ****
>>
>> Can anyone say me how to install this graph plugin. I'm spending days on
>> it!!!****
>>
>> On Thu, Sep 6, 2012 at 6:09 PM, Aravinth Anto 
>> wrote:****
>>
>> I have installed it. And then I run the install.pl script. And I also
>> replaced the /usr/local/nagios/share/side.php file with required changes.
>> ****
>>
>>  ****
>>
>> When I try to view the contents on browser I get 404 error.****
>>
>>  ****
>>
>> Basically it says that :****
>>
>>  ****
>>
>> The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on
>> this server.****
>>
>>  ****
>>
>> Eventhough I can view that file!****
>>
>>  ****
>>
>> On Thu, Sep 6, 2012 at 5:50 PM, James Osbourn 
>> wrote:****
>>
>> You will need to install the RRD package.  How you do this will depend on
>> your operating system.****
>>
>>  ****
>>
>> James****
>>
>>  ****
>>
>> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
>> *Sent:* 06 September 2012 13:08
>> *To:* Nagios Users List
>> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>>
>>  ****
>>
>> I run this command : ****
>>
>>  ****
>>
>> sudo ./install.pl --check-prereq****
>>
>>  ****
>>
>> checking required PERL modules****
>>
>>   Carp...1.20****
>>
>>   CGI...3.52****
>>
>>   Data::Dumper...2.130_02****
>>
>>   File::Basename...2.82****
>>
>>   File::Find...1.19****
>>
>>   MIME::Base64...3.13****
>>
>>   POSIX...1.24****
>>
>>   RRDs... ***FAIL*******
>>
>>   Time::HiRes...1.972101****
>>
>> checking optional PERL modules****
>>
>>   GD...2.46****
>>
>> checking nagios installation****
>>
>>   found nagios at /usr/local/nagios/bin/nagios****
>>
>> checking web server installation****
>>
>>   found apache at /usr/sbin/apache2****
>>
>>  ****
>>
>> *** one or more problems were detected!****
>>
>>  ****
>>
>>  ****
>>
>> It seems that RRDs... ***FAIL*** . So how can I skip this error?****
>>
>>  ****
>>
>>  ****
>>
>>  ****
>>
>> On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn 
>> wrote:****
>>
>> Did you run the install and check your prerequisites, I found that some
>> of these are not present by default, You can run****
>>
>>  ****
>>
>> sudo ./install ?check=prereq****
>>
>>  ****
>>
>> If everything is ok, you can proceed, otherwise you will need to install
>> the missing packages****
>>
>>  ****
>>
>> At install time you may need to pass the argument for a standalone
>> installation, this all depends on your environment****
>>
>>  ****
>>
>> sudo ./install ?standalone****
>>
>>  ****
>>
>> Once installation has completed you can test that the server is working
>> by  going to one of the following websites****
>>
>>  ****
>>
>> http:///nagiosgraph/cgi-bin/showconfig.cgi or
>> http:///nagiosgraph/cgi-bin/show.cgi****
>>
>>  ****
>>
>> This assumes your cgi data is located in cgi-bin and that you are running
>> apache.****
>>
>>  ****
>>
>> This should help to get nagiosgraph working, you will then need to update
>> Nagios to use the graphing plugin.****
>>
>>  ****
>>
>> James****
>>
>>  ****
>>
>> *From:* Aravinth Anto Intern [mailto:t-aravinth at juspay.in]
>> *Sent:* 02 August 2012 14:38
>> *To:* Nagios Users List
>> *Subject:* [Nagios-users] Problem in Installing the graph plugin.****
>>
>>  ****
>>
>> Hi all, I'm trying to install Nagios Plugin :
>> http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details
>>
>>
>> I downloaded it, unzip it and then I run the install.pl as
>>
>> *sudo ./install.pl
>> *
>>
>> I accepted every directory as default and done with installation.
>>
>> I changed the side.php to add my Trends link that are supported by this
>> plugin. I restarted the server. But when I click on certain links. I get an
>> error :
>>
>>
>> *The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not
>> found on this server.
>> *
>>
>> Why this is happening? I can go into the directory
>> /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.
>>
>> But why its not working?
>>
>>
>> Thanks in adavnce ****
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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 at 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***
>> *
>>
>>  ****
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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 at 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***
>> *
>>
>>  ****
>>
>>  ****
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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 at 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***
>> *
>>
>> ** **
>>
>>
>> ------------------------------------------------------------------------------
>> 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 at 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From f at zz.de  Fri Sep  7 10:05:02 2012
From: f at zz.de (Florian Lohoff)
Date: Fri, 7 Sep 2012 10:05:02 +0200
Subject: check_areca via LAN (SNMP)?
In-Reply-To: 
References: 
Message-ID: <20120907080502.GB28023@pax.zz.de>

On Thu, Sep 06, 2012 at 03:59:06PM +0000, Sven Geggus wrote:
> Dear nagios users,
> 
> looking trough the Web I only found a check_areca plugin which uses the
> commandline tool for checking the controler state.
> 
> However, as my areca controller is providing an ethernet interface
> (ARC-1880) it should be better to do direct queries by LAN.
> 
> The controller does provide snmp which also seems to work (I can query the
> controller using "snmpwalk -c public -v 1  iso.3.6.1" after I
> added "public" as
> Community in the Web Interface.
> 
> Unfortunately I was unable to figure out the correct key for RAID status
> monitoring, as the areca provided mib's seem to be somewhat broken.
> 
> I am almost certainly looking for iso.3.6.1.4.1.18928.1.2.5.1.1.5.0 but this
> is just an intelligent guess:
> 
>  ~/ # snmpget -c public -v 1  iso.3.6.1.4.1.18928.1.2.5.1.1.5.0
> iso.3.6.1.4.1.18928.1.2.5.1.1.5.0 = STRING: "Normal"

I'd try to find the correct MIB - Google shows up with this:
http://opennms.530661.n2.nabble.com/Adding-an-Areca-MIB-td5676020.html
which points to 
http://www.areca.us/support/download/RaidCards/AP_Driver/snmp-mibs-sas.zip

An snmpwalk gets much more interesting when used with a MIB otherwise
its like reading the Matrix.

The MIB is buggy indeed (as most vendor supplied mibs). To silence the
net-snmp warning i changed this:

--- areca_sas.mib.orig	2012-09-07 10:01:33.937140405 +0200
+++ areca_sas.mib	2012-09-07 10:02:02.725380043 +0200
@@ -16,7 +16,7 @@
 ArecaGroup1			OBJECT IDENTIFIER ::= { Areca 1 }
 SASRaidSubsystem 		OBJECT IDENTIFIER ::= { ArecaGroup1 2 }
 SystemInformation		OBJECT IDENTIFIER ::= { SASRaidSubsystem 1 }
-HW_Monitor			OBJECT IDENTIFIER ::= { SASRaidSubsystem 2 }
+HWMonitor			OBJECT IDENTIFIER ::= { SASRaidSubsystem 2 }
 HddInformation			OBJECT IDENTIFIER ::= { SASRaidSubsystem 3 }
 RaidsetInformation		OBJECT IDENTIFIER ::= { SASRaidSubsystem 4 }
 VolumesetInformation		OBJECT IDENTIFIER ::= { SASRaidSubsystem 5 }
@@ -254,15 +254,15 @@
 
 -- definition of object types of H/W monitor
 
-ControllerBoard			OBJECT IDENTIFIER ::= { HW_Monitor 1 }
-HwEnclosure1			OBJECT IDENTIFIER ::= { HW_Monitor 2 }
-HwEnclosure2			OBJECT IDENTIFIER ::= { HW_Monitor 3 }
-HwEnclosure3			OBJECT IDENTIFIER ::= { HW_Monitor 4 }
-HwEnclosure4			OBJECT IDENTIFIER ::= { HW_Monitor 5 }
-HwEnclosure5			OBJECT IDENTIFIER ::= { HW_Monitor 6 }
-HwEnclosure6			OBJECT IDENTIFIER ::= { HW_Monitor 7 }
-HwEnclosure7			OBJECT IDENTIFIER ::= { HW_Monitor 8 }
-HwEnclosure8			OBJECT IDENTIFIER ::= { HW_Monitor 9 }
+ControllerBoard			OBJECT IDENTIFIER ::= { HWMonitor 1 }
+HwEnclosure1			OBJECT IDENTIFIER ::= { HWMonitor 2 }
+HwEnclosure2			OBJECT IDENTIFIER ::= { HWMonitor 3 }
+HwEnclosure3			OBJECT IDENTIFIER ::= { HWMonitor 4 }
+HwEnclosure4			OBJECT IDENTIFIER ::= { HWMonitor 5 }
+HwEnclosure5			OBJECT IDENTIFIER ::= { HWMonitor 6 }
+HwEnclosure6			OBJECT IDENTIFIER ::= { HWMonitor 7 }
+HwEnclosure7			OBJECT IDENTIFIER ::= { HWMonitor 8 }
+HwEnclosure8			OBJECT IDENTIFIER ::= { HWMonitor 9 }
 
 -- Controller Board
 hwControllerBoardInstalled	OBJECT-TYPE
@@ -4010,21 +4010,21 @@
 	::= 647
 	
 	
-hwVoltage1_3	TRAP-TYPE
+hwVoltage13	TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION
 		"%s."
 	::= 648
 	
-hwVoltage2_5	TRAP-TYPE
+hwVoltage25	TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION
 		"%s."
 	::= 649
 	
-hwVoltage1_25	TRAP-TYPE
+hwVoltage125	TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION
@@ -4094,7 +4094,7 @@
 		"%s."
 	::= 659
 
-hwTempController_R	TRAP-TYPE
+hwTempControllerR	TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION
@@ -4102,35 +4102,35 @@
 	::= 660
 
 
-hwTempBackplane_R		TRAP-TYPE
+hwTempBackplaneR		TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION
 		"%s."
 	::= 661
 
-hwVoltage15_R	TRAP-TYPE
+hwVoltage15R	TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION
 		"%s."
 	::= 662
 
-hwVoltage3_R	TRAP-TYPE
+hwVoltage3R	TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION
 		"%s."
 	::= 663
 
-hwVoltage5_R	TRAP-TYPE
+hwVoltage5R	TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION
 		"%s."
 	::= 664
 
-hwVoltage12_R	TRAP-TYPE
+hwVoltage12R	TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION
@@ -4138,77 +4138,77 @@
 	::= 665
 	
 	
-hwVoltage1_3_R	TRAP-TYPE
+hwVoltage13R	TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION
 		"%s."
 	::= 666
 	
-hwVoltage2_5_R	TRAP-TYPE
+hwVoltage25R	TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION
 		"%s."
 	::= 667
 	
-hwVoltage1_25_R	TRAP-TYPE
+hwVoltage125R	TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION
 		"%s."
 	::= 668
 
-hwPower1Failed_R	TRAP-TYPE
+hwPower1FailedR	TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION
 		"%s."
 	::= 669
 	
-hwFan1Failed_R	TRAP-TYPE
+hwFan1FailedR	TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION
 		"%s."
 	::= 670
 	
-hwPower2Failed_R	TRAP-TYPE
+hwPower2FailedR	TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION
 		"%s."
 	::= 671
 	
-hwFan2Failed_R	TRAP-TYPE
+hwFan2FailedR	TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION
 		"%s."
 	::= 672
 	
-hwPower3Failed_R	TRAP-TYPE
+hwPower3FailedR	TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION
 		"%s."
 	::= 673
 	
-hwFan3Failed_R	TRAP-TYPE
+hwFan3FailedR	TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION
 		"%s."
 	::= 674
 
-hwPower4Failed_R	TRAP-TYPE
+hwPower4FailedR	TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION
 		"%s."
 	::= 675
 	
-hwFan4Failed_R	TRAP-TYPE
+hwFan4FailedR	TRAP-TYPE
 	ENTERPRISE	raidSubSysTraps
 	VARIABLES	{ eventString }
 	DESCRIPTION

Flo
-- 
Florian Lohoff                                                 f at zz.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From ftlnagios at gmail.com  Fri Sep  7 10:26:16 2012
From: ftlnagios at gmail.com (FTL Nagios)
Date: Fri, 7 Sep 2012 09:26:16 +0100
Subject: Problem in Installing the graph plugin.
In-Reply-To: 
References: 	<09051C7A8945F944AB7AC4E86BEB1ED5EF2F862A3E@LONPMAILBOX01.citrite.net>		<09051C7A8945F944AB7AC4E86BEB1ED50101A5FF3A1B@LONPMAILBOX01.citrite.net>			<006901cd8c32$51c04160$f540c420$@gmail.com>		<005001cd8c36$60962e30$21c28a90$@us>	
	
Message-ID: <002401cd8cd2$73adc040$5b0940c0$@gmail.com>

Your values in the CRIT don't match that of the PNP4NAGIOS guide...

 

If you have chosen npcdmod as the mode then follow the instructions for
"Bulk Mode with NPCD" and then amend the lines that are needed for the
"npcdmod" section underneath.

 

The values you have provided look like they are for Bulk Mode...

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 07 September 2012 08:28
To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

And also I tried to debug it :

 

I tried running: 

 

 sudo perl verify_pnp_config --mode npcdmod --config=/etc/nagios3/nagios.cfg
--pnpcfg=/usr/local/pnp4nagios/etc

 

I get the following output:

 

[INFO]  ========== Starting Environment Checks ============

[INFO]  My version is: verify_pnp_config-0.6.19-R.35

[INFO]  Start Options: verify_pnp_config --mode npcdmod
--config=/etc/nagios3/nagios.cfg --pnpcfg=/usr/local/pnp4nagios/etc

[INFO]  Reading /etc/nagios3/nagios.cfg

[OK  ]  Running product is 'nagios'

[OK  ]  object_cache_file is defined

[OK  ]  object_cache_file=/var/cache/nagios3/objects.cache

[INFO]  Reading /var/cache/nagios3/objects.cache

[OK  ]  resource_file is defined

[OK  ]  resource_file=/etc/nagios3/resource.cfg

[INFO]  Reading /etc/nagios3/resource.cfg

[INFO]  Reading /usr/local/pnp4nagios/etc/process_perfdata.cfg

[INFO]  Reading /usr/local/pnp4nagios/etc/pnp4nagios_release

[OK  ]  Found PNP4Nagios version "0.6.19"

[OK  ]  Effective User is 'nagios'

[OK  ]  User nagios exists with ID '122'

[OK  ]  Effective group is 'nagios'

[OK  ]  Group nagios exists with ID '132'

[INFO]  ========== Checking npcdmod Mode Config  ============

[OK  ]  process_performance_data is 1 compared with '/1/'

[CRIT]  service_perfdata_file is defined
(service_perfdata_file=/tmp/perfdata.log)

[CRIT]  service_perfdata_file is not allowed in mode 'npcdmod'

[CRIT]  service_perfdata_file_template is defined
(service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC
$||$SERVICEOUTPUT$||$SERVICEPERFDATA$)

[CRIT]  service_perfdata_file_template is not allowed in mode 'npcdmod'

[CRIT]  service_perfdata_file_mode is defined (service_perfdata_file_mode=a)

[CRIT]  service_perfdata_file_mode is not allowed in mode 'npcdmod'

[CRIT]  service_perfdata_file_processing_interval is defined
(service_perfdata_file_processing_interval=30)

[CRIT]  service_perfdata_file_processing_interval is not allowed in mode
'npcdmod'

[CRIT]  service_perfdata_file_processing_command is defined
(service_perfdata_file_processing_command=process-service-perfdata-for-nagio
sgraph)

[CRIT]  service_perfdata_file_processing_command is not allowed in mode
'npcdmod'

[HINT]  Config options are not allowed in bulk mode with npcd (5)

 

 

What does these critical messages says? [CRIT]
service_perfdata_file_template is not allowed in mode 'npcdmod'

 

I'm very new to Ubuntu. I need some help.

 

Thanks in advance

 

 

 

On Fri, Sep 7, 2012 at 12:43 PM, Aravinth Anto  wrote:

I tried an followed the instruction on
http://docs.pnp4nagios.org/pnp-0.6/start

 

Everything seems to be fine. But when I went to http://localhost/pnp4nagios/
 

 

I have been asked to remove the file. I removed it, which redirects me to :

 

http://localhost/pnp4nagios/graph

 

Where I get the error of :

 

perfdata directory "/usr/local/pnp4nagios/var/perfdata/" is empty. 

 

Please check your Nagios config. Read FAQ online  file [line]:
application/models/data.php [109]:  back

What will be my mistake? 

 

Kindly help me out.

 

On Thu, Sep 6, 2012 at 7:19 PM, Tech Support 
wrote:

> 

>When I try to view the contents on browser I get 404 error.

> Basically it says that 

>The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on this
server.

> 

 

One thing that I see is that the URL should be
/nagiosgraph/cgi-bin/show.cgi, not /nagiosgraph/cgi/chow.cgi. Could that be
your problem?

Regards;

John

 

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: Thursday, September 06, 2012 9:36 AM


To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I have installed the RRD package. But still I'm getting a 404 error when I
try to visit graphs in my browser. 

On Thu, Sep 6, 2012 at 6:49 PM, FTL Nagios  wrote:

Install the RRD package like you have previously have been asked too.

 

sudo apt-get install rrdtool

 

Then rerun the install.pl script again.

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 06 September 2012 14:07


To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I'm using Ubuntu 12.04 and I installed the nagios3 using :

 

sudo apt-get install -y nagios3

 

Can anyone say me how to install this graph plugin. I'm spending days on
it!!!

On Thu, Sep 6, 2012 at 6:09 PM, Aravinth Anto  wrote:

I have installed it. And then I run the install.pl script. And I also
replaced the /usr/local/nagios/share/side.php file with required changes. 

 

When I try to view the contents on browser I get 404 error.

 

Basically it says that :

 

The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on this
server.

 

Eventhough I can view that file!

 

On Thu, Sep 6, 2012 at 5:50 PM, James Osbourn 
wrote:

You will need to install the RRD package.  How you do this will depend on
your operating system.

 

James

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 06 September 2012 13:08
To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I run this command : 

 

sudo ./install.pl --check-prereq

 

checking required PERL modules

  Carp...1.20

  CGI...3.52

  Data::Dumper...2.130_02

  File::Basename...2.82

  File::Find...1.19

  MIME::Base64...3.13

  POSIX...1.24

  RRDs... ***FAIL***

  Time::HiRes...1.972101

checking optional PERL modules

  GD...2.46

checking nagios installation

  found nagios at /usr/local/nagios/bin/nagios

checking web server installation

  found apache at /usr/sbin/apache2

 

*** one or more problems were detected!

 

 

It seems that RRDs... ***FAIL*** . So how can I skip this error?

 

 

 

On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn 
wrote:

Did you run the install and check your prerequisites, I found that some of
these are not present by default, You can run

 

sudo ./install -check=prereq

 

If everything is ok, you can proceed, otherwise you will need to install the
missing packages

 

At install time you may need to pass the argument for a standalone
installation, this all depends on your environment

 

sudo ./install -standalone

 

Once installation has completed you can test that the server is working by
going to one of the following websites

 

http:// 
/nagiosgraph/cgi-bin/showconfig.cgi or http://

/nagiosgraph/cgi-bin/show.cgi

 

This assumes your cgi data is located in cgi-bin and that you are running
apache.

 

This should help to get nagiosgraph working, you will then need to update
Nagios to use the graphing plugin.

 

James

 

From: Aravinth Anto Intern [mailto:t-aravinth at juspay.in] 
Sent: 02 August 2012 14:38
To: Nagios Users List
Subject: [Nagios-users] Problem in Installing the graph plugin.

 

Hi all, I'm trying to install Nagios Plugin :
http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgrap
h/details


I downloaded it, unzip it and then I run the install.pl as

sudo ./install.pl


I accepted every directory as default and done with installation. 

I changed the side.php to add my Trends link that are supported by this
plugin. I restarted the server. But when I click on certain links. I get an
error :


The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found on
this server.


Why this is happening? I can go into the directory
/usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.

But why its not working? 


Thanks in adavnce 


----------------------------------------------------------------------------
--
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 at 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

 


----------------------------------------------------------------------------
--
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 at 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

 

 


----------------------------------------------------------------------------
--
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 at 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

 


----------------------------------------------------------------------------
--
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 at 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

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From juhlke at aez-asdonkshof.de  Fri Sep  7 10:33:27 2012
From: juhlke at aez-asdonkshof.de (juhlke)
Date: Fri, 07 Sep 2012 10:33:27 +0200
Subject: Problem in Installing the graph plugin.
In-Reply-To: 
References: 
Message-ID: <9ba0986905160047a3bb9db74bd3297b@192.168.10.253>

Hello,

 

what modus are you using? Bulk mode with npcd or bulk mode with npcdmod.

As you see in the CRIT messages it states that:

[CRIT]  service_perfdata_file is defined (service_perfdata_file=/tmp/perfdata.log)

[CRIT]  service_perfdata_file is not allowed in mode 'npcdmod'

 

Not allowed in npcdmod.

For npcdmod you have to remove the perfdata-statements in nagios.cfg.

Maybe that helps

 

 

 


* Bitte pr?fen Sie der Umwelt zuliebe, ob der Ausdruck dieser Mail erforderlich ist.

Mit freundlichen Gr??en

Kreis Weseler Abfallgesellschaft mbH & Co. KG

Lars Juhlke 

 

Lars Juhlke
IT Systemadministration  


Telefon: 02842-940-271
Telefax: 02842-940-400 
mail:    juhlke at aez-asdonkshof.de
web:   www.aez-asdonkshof.de
 
Kreis Weseler Abfallgesellschaft mbH & Co. KG
Abfallentsorgungszentrum (AEZ) Asdonkshof
Graftstr. 25, 47475 Kamp-Lintfort
Sitz: Kamp-Lintfort, Amtsgericht Kleve, HRA 2540
Vorsitzender des Aufsichtsrats: Hellmut Fischer
p.h.G.: Kreis Weseler Abfallgesellschaft Beteiligung GmbH
Amtsgericht Kleve, HRB 7017 

Gesch?ftsf?hrer: Peter Bollig


 


 


HINWEIS: Die in dieser E-Mail enthaltenen Informationen und die dazugeh?rigen Anh?nge sind vertraulich und k?nnen der Schweigepflicht unterliegende Kommunikation enthalten. Wenn Sie nicht der beabsichtigte Empf?nger sind, weisen wir Sie hiermit darauf hin, dass die Verteilung, Weitergabe oder das Kopieren dieser Mitteilung strengstens untersagt ist. Sollten Sie diese Sendung irrt?mlich erhalten haben, informieren Sie bitte sofort den Absender und l?schen Sie diese E-Mail und alle Kopien davon. Vielen Dank.

 

  _____  

Von: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Gesendet: Freitag, 7. September 2012 09:28
An: Nagios Users List
Betreff: Re: [Nagios-users] Problem in Installing the graph plugin.

 

And also I tried to debug it :

 

I tried running: 

 

 sudo perl verify_pnp_config --mode npcdmod --config=/etc/nagios3/nagios.cfg --pnpcfg=/usr/local/pnp4nagios/etc

 

I get the following output:

 

[INFO]  ========== Starting Environment Checks ============

[INFO]  My version is: verify_pnp_config-0.6.19-R.35

[INFO]  Start Options: verify_pnp_config --mode npcdmod --config=/etc/nagios3/nagios.cfg --pnpcfg=/usr/local/pnp4nagios/etc

[INFO]  Reading /etc/nagios3/nagios.cfg

[OK  ]  Running product is 'nagios'

[OK  ]  object_cache_file is defined

[OK  ]  object_cache_file=/var/cache/nagios3/objects.cache

[INFO]  Reading /var/cache/nagios3/objects.cache

[OK  ]  resource_file is defined

[OK  ]  resource_file=/etc/nagios3/resource.cfg

[INFO]  Reading /etc/nagios3/resource.cfg

[INFO]  Reading /usr/local/pnp4nagios/etc/process_perfdata.cfg

[INFO]  Reading /usr/local/pnp4nagios/etc/pnp4nagios_release

[OK  ]  Found PNP4Nagios version "0.6.19"

[OK  ]  Effective User is 'nagios'

[OK  ]  User nagios exists with ID '122'

[OK  ]  Effective group is 'nagios'

[OK  ]  Group nagios exists with ID '132'

[INFO]  ========== Checking npcdmod Mode Config  ============

[OK  ]  process_performance_data is 1 compared with '/1/'

[CRIT]  service_perfdata_file is defined (service_perfdata_file=/tmp/perfdata.log)

[CRIT]  service_perfdata_file is not allowed in mode 'npcdmod'

[CRIT]  service_perfdata_file_template is defined (service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$)

[CRIT]  service_perfdata_file_template is not allowed in mode 'npcdmod'

[CRIT]  service_perfdata_file_mode is defined (service_perfdata_file_mode=a)

[CRIT]  service_perfdata_file_mode is not allowed in mode 'npcdmod'

[CRIT]  service_perfdata_file_processing_interval is defined (service_perfdata_file_processing_interval=30)

[CRIT]  service_perfdata_file_processing_interval is not allowed in mode 'npcdmod'

[CRIT]  service_perfdata_file_processing_command is defined (service_perfdata_file_processing_command=process-service-perfdata-for-nagiosgraph)

[CRIT]  service_perfdata_file_processing_command is not allowed in mode 'npcdmod'

[HINT]  Config options are not allowed in bulk mode with npcd (5)

 

 

What does these critical messages says? [CRIT]  service_perfdata_file_template is not allowed in mode 'npcdmod'

 

I'm very new to Ubuntu. I need some help.

 

Thanks in advance

 

 

 

On Fri, Sep 7, 2012 at 12:43 PM, Aravinth Anto  wrote:

I tried an followed the instruction on http://docs.pnp4nagios.org/pnp-0.6/start

 

Everything seems to be fine. But when I went to http://localhost/pnp4nagios/  

 

I have been asked to remove the file. I removed it, which redirects me to :

 

http://localhost/pnp4nagios/graph

 

Where I get the error of :

 

perfdata directory "/usr/local/pnp4nagios/var/perfdata/" is empty. 

 

Please check your Nagios config. Read FAQ online  file [line]:  application/models/data.php [109]:  back

What will be my mistake? 

 

Kindly help me out.

 

On Thu, Sep 6, 2012 at 7:19 PM, Tech Support  wrote:

> 

>When I try to view the contents on browser I get 404 error.

> Basically it says that 

>The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on this server.

> 

 

One thing that I see is that the URL should be /nagiosgraph/cgi-bin/show.cgi, not /nagiosgraph/cgi/chow.cgi. Could that be your problem?

Regards;

John

 

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: Thursday, September 06, 2012 9:36 AM


To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I have installed the RRD package. But still I'm getting a 404 error when I try to visit graphs in my browser. 

On Thu, Sep 6, 2012 at 6:49 PM, FTL Nagios  wrote:

Install the RRD package like you have previously have been asked too.

 

sudo apt-get install rrdtool

 

Then rerun the install.pl script again.

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 06 September 2012 14:07


To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I'm using Ubuntu 12.04 and I installed the nagios3 using :

 

sudo apt-get install -y nagios3

 

Can anyone say me how to install this graph plugin. I'm spending days on it!!!

On Thu, Sep 6, 2012 at 6:09 PM, Aravinth Anto  wrote:

I have installed it. And then I run the install.pl script. And I also replaced the /usr/local/nagios/share/side.php file with required changes. 

 

When I try to view the contents on browser I get 404 error.

 

Basically it says that :

 

The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on this server.

 

Eventhough I can view that file!

 

On Thu, Sep 6, 2012 at 5:50 PM, James Osbourn  wrote:

You will need to install the RRD package.  How you do this will depend on your operating system.

 

James

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 06 September 2012 13:08
To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I run this command : 

 

sudo ./install.pl --check-prereq

 

checking required PERL modules

  Carp...1.20

  CGI...3.52

  Data::Dumper...2.130_02

  File::Basename...2.82

  File::Find...1.19

  MIME::Base64...3.13

  POSIX...1.24

  RRDs... ***FAIL***

  Time::HiRes...1.972101

checking optional PERL modules

  GD...2.46

checking nagios installation

  found nagios at /usr/local/nagios/bin/nagios

checking web server installation

  found apache at /usr/sbin/apache2

 

*** one or more problems were detected!

 

 

It seems that RRDs... ***FAIL*** . So how can I skip this error?

 

 

 

On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn  wrote:

Did you run the install and check your prerequisites, I found that some of these are not present by default, You can run

 

sudo ./install -check=prereq

 

If everything is ok, you can proceed, otherwise you will need to install the missing packages

 

At install time you may need to pass the argument for a standalone installation, this all depends on your environment

 

sudo ./install -standalone

 

Once installation has completed you can test that the server is working by  going to one of the following websites

 

http://  /nagiosgraph/cgi-bin/showconfig.cgi or http://  /nagiosgraph/cgi-bin/show.cgi

 

This assumes your cgi data is located in cgi-bin and that you are running apache.

 

This should help to get nagiosgraph working, you will then need to update Nagios to use the graphing plugin.

 

James

 

From: Aravinth Anto Intern [mailto:t-aravinth at juspay.in] 
Sent: 02 August 2012 14:38
To: Nagios Users List
Subject: [Nagios-users] Problem in Installing the graph plugin.

 

Hi all, I'm trying to install Nagios Plugin : http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details


I downloaded it, unzip it and then I run the install.pl as

sudo ./install.pl


I accepted every directory as default and done with installation. 

I changed the side.php to add my Trends link that are supported by this plugin. I restarted the server. But when I click on certain links. I get an error :


The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found on this server.


Why this is happening? I can go into the directory /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.

But why its not working? 


Thanks in adavnce 


------------------------------------------------------------------------------
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 at 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

 


------------------------------------------------------------------------------
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 at 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

 

 


------------------------------------------------------------------------------
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 at 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

 


------------------------------------------------------------------------------
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 at 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

 

 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From t-aravinth at juspay.in  Fri Sep  7 10:59:46 2012
From: t-aravinth at juspay.in (Aravinth Anto)
Date: Fri, 7 Sep 2012 14:29:46 +0530
Subject: Problem in Installing the graph plugin.
In-Reply-To: <9ba0986905160047a3bb9db74bd3297b@192.168.10.253>
References: 
	<9ba0986905160047a3bb9db74bd3297b@192.168.10.253>
Message-ID: 

Thanks that works. But I dont see any graphs that are drawn in my web
browser. I can see only the coordinates.  Am I need to make any changes in
the config?

And also when I click on the icons like "Most recent alerts for this time
range" I get an internal server error.

On Fri, Sep 7, 2012 at 2:03 PM, juhlke  wrote:

> **
>
> Hello,****
>
> ** **
>
> what modus are you using? Bulk mode with npcd or bulk mode with npcdmod.**
> **
>
> As you see in the CRIT messages it states that:****
>
> [CRIT]  service_perfdata_file is defined
> (service_perfdata_file=/tmp/perfdata.log)****
>
> [CRIT]  service_perfdata_file is not allowed in mode 'npcdmod'****
>
> ** **
>
> Not allowed in npcdmod.****
>
> For npcdmod you have to remove the perfdata-statements in nagios.cfg.****
>
> Maybe that helps****
>
> ** **
>
> ** **
>
> ** **
>
> ? *Bitte pr?fen Sie der Umwelt zuliebe, ob der Ausdruck dieser Mail
> erforderlich ist.*****
>
> Mit freundlichen Gr??en****
>
> Kreis Weseler Abfallgesellschaft mbH & Co. KG****
>
> Lars Juhlke ****
>
> ** **
> *Lars Juhlke* *IT Systemadministration
>
>
> Telefon: 02842-940-271
> Telefax: 02842-940-400
> mail:  juhlke at aez-asdonkshof.de ***** *web:
> www.aez-asdonkshof.de* * * *Kreis Weseler Abfallgesellschaft mbH & Co. KG*
> *Abfallentsorgungszentrum (AEZ) Asdonkshof* *Graftstr. *25, 47475
> Kamp-Lintfort**** *Sitz: Kamp-Lintfort, Amtsgericht Kleve, HRA 2540***** *Vorsitzender
> des Aufsichtsrats: Hellmut Fischer* *p.h.G.: Kreis Weseler
> Abfallgesellschaft Beteiligung GmbH* *Amtsgericht Kleve, HRB 7017 *
>
> Gesch?ftsf?hrer: Peter **Bollig******
>
> ** **
>
> ** **
>
> HINWEIS: Die in dieser E-Mail enthaltenen Informationen und die
> dazugeh?rigen Anh?nge sind vertraulich und k?nnen der Schweigepflicht
> unterliegende Kommunikation enthalten. Wenn Sie nicht der beabsichtigte
> Empf?nger sind, weisen wir Sie hiermit darauf hin, dass die Verteilung,
> Weitergabe oder das Kopieren dieser Mitteilung strengstens untersagt ist.
> Sollten Sie diese Sendung irrt?mlich erhalten haben, informieren Sie bitte
> sofort den Absender und l?schen Sie diese E-Mail und alle Kopien davon. Vielen
> Dank.****
>
> ** **
>  ------------------------------
>
> *Von:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Gesendet:* Freitag, 7. September 2012 09:28
> *An:* Nagios Users List
> *Betreff:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
> ** **
>
> And also I tried to debug it :****
>
> ** **
>
> I tried running: ****
>
> ** **
>
>  sudo perl verify_pnp_config --mode npcdmod
> --config=/etc/nagios3/nagios.cfg --pnpcfg=/usr/local/pnp4nagios/etc****
>
> ** **
>
> I get the following output:****
>
> ** **
>
> [INFO]  ========== Starting Environment Checks ============****
>
> [INFO]  My version is: verify_pnp_config-0.6.19-R.35****
>
> [INFO]  Start Options: verify_pnp_config --mode npcdmod
> --config=/etc/nagios3/nagios.cfg --pnpcfg=/usr/local/pnp4nagios/etc****
>
> [INFO]  Reading /etc/nagios3/nagios.cfg****
>
> [OK  ]  Running product is 'nagios'****
>
> [OK  ]  object_cache_file is defined****
>
> [OK  ]  object_cache_file=/var/cache/nagios3/objects.cache****
>
> [INFO]  Reading /var/cache/nagios3/objects.cache****
>
> [OK  ]  resource_file is defined****
>
> [OK  ]  resource_file=/etc/nagios3/resource.cfg****
>
> [INFO]  Reading /etc/nagios3/resource.cfg****
>
> [INFO]  Reading /usr/local/pnp4nagios/etc/process_perfdata.cfg****
>
> [INFO]  Reading /usr/local/pnp4nagios/etc/pnp4nagios_release****
>
> [OK  ]  Found PNP4Nagios version "0.6.19"****
>
> [OK  ]  Effective User is 'nagios'****
>
> [OK  ]  User nagios exists with ID '122'****
>
> [OK  ]  Effective group is 'nagios'****
>
> [OK  ]  Group nagios exists with ID '132'****
>
> [INFO]  ========== Checking npcdmod Mode Config  ============****
>
> [OK  ]  process_performance_data is 1 compared with '/1/'****
>
> [CRIT]  service_perfdata_file is defined
> (service_perfdata_file=/tmp/perfdata.log)****
>
> [CRIT]  service_perfdata_file is not allowed in mode 'npcdmod'****
>
> [CRIT]  service_perfdata_file_template is defined
> (service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$)
> ****
>
> [CRIT]  service_perfdata_file_template is not allowed in mode 'npcdmod'***
> *
>
> [CRIT]  service_perfdata_file_mode is defined
> (service_perfdata_file_mode=a)****
>
> [CRIT]  service_perfdata_file_mode is not allowed in mode 'npcdmod'****
>
> [CRIT]  service_perfdata_file_processing_interval is defined
> (service_perfdata_file_processing_interval=30)****
>
> [CRIT]  service_perfdata_file_processing_interval is not allowed in mode
> 'npcdmod'****
>
> [CRIT]  service_perfdata_file_processing_command is defined
> (service_perfdata_file_processing_command=process-service-perfdata-for-nagiosgraph)
> ****
>
> [CRIT]  service_perfdata_file_processing_command is not allowed in mode
> 'npcdmod'****
>
> [HINT]  Config options are not allowed in bulk mode with npcd (5)****
>
> ** **
>
> ** **
>
> What does these critical messages says? [CRIT]
>  service_perfdata_file_template is not allowed in mode 'npcdmod'****
>
> ** **
>
> I'm very new to Ubuntu. I need some help.****
>
> ** **
>
> Thanks in advance****
>
> ** **
>
> ** **
>
> ** **
>
> On Fri, Sep 7, 2012 at 12:43 PM, Aravinth Anto 
> wrote:****
>
> I tried an followed the instruction on
> http://docs.pnp4nagios.org/pnp-0.6/start****
>
> ** **
>
> Everything seems to be fine. But when I went to
> http://localhost/pnp4nagios/ ****
>
> ** **
>
> I have been asked to remove the file. I removed it, which redirects me to :
> ****
>
> ** **
>
> http://localhost/pnp4nagios/graph****
>
> ** **
>
> Where I get the error of :****
>
> ** **
>
> *perfdata directory "/usr/local/pnp4nagios/var/perfdata/" is empty. *****
>
> ** **
>
> *Please check your Nagios config. Read FAQ online  file [line]:
>  application/models/data.php [109]:  back*
>
> What will be my mistake? ****
>
> ** **
>
> Kindly help me out.****
>
> ** **
>
> On Thu, Sep 6, 2012 at 7:19 PM, Tech Support 
> wrote:****
>
> > ****
>
> >When I try to view the contents on browser I get 404 error.****
>
> > Basically it says that ****
>
> >The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on
> this server.****
>
> > ****
>
>  ****
>
> One thing that I see is that the URL should be
> /nagiosgraph/cgi-bin/show.cgi, not /nagiosgraph/cgi/chow.cgi. Could that be
> your problem?****
>
> Regards;****
>
> John****
>
>  ****
>
>  ****
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* Thursday, September 06, 2012 9:36 AM****
>
>
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> I have installed the RRD package. But still I'm getting a 404 error when I
> try to visit graphs in my browser. ****
>
> On Thu, Sep 6, 2012 at 6:49 PM, FTL Nagios  wrote:***
> *
>
> Install the RRD package like you have previously have been asked too.****
>
>  ****
>
> sudo apt-get install rrdtool****
>
>  ****
>
> Then rerun the install.pl script again.****
>
>  ****
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* 06 September 2012 14:07****
>
>
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> I'm using Ubuntu 12.04 and I installed the nagios3 using :****
>
>  ****
>
> sudo apt-get install -y nagios3****
>
>  ****
>
> Can anyone say me how to install this graph plugin. I'm spending days on
> it!!!****
>
> On Thu, Sep 6, 2012 at 6:09 PM, Aravinth Anto 
> wrote:****
>
> I have installed it. And then I run the install.pl script. And I also
> replaced the /usr/local/nagios/share/side.php file with required changes.
> ****
>
>  ****
>
> When I try to view the contents on browser I get 404 error.****
>
>  ****
>
> Basically it says that :****
>
>  ****
>
> The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on
> this server.****
>
>  ****
>
> Eventhough I can view that file!****
>
>  ****
>
> On Thu, Sep 6, 2012 at 5:50 PM, James Osbourn 
> wrote:****
>
> You will need to install the RRD package.  How you do this will depend on
> your operating system.****
>
>  ****
>
> James****
>
>  ****
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* 06 September 2012 13:08
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> I run this command : ****
>
>  ****
>
> sudo ./install.pl --check-prereq****
>
>  ****
>
> checking required PERL modules****
>
>   Carp...1.20****
>
>   CGI...3.52****
>
>   Data::Dumper...2.130_02****
>
>   File::Basename...2.82****
>
>   File::Find...1.19****
>
>   MIME::Base64...3.13****
>
>   POSIX...1.24****
>
>   RRDs... ***FAIL*******
>
>   Time::HiRes...1.972101****
>
> checking optional PERL modules****
>
>   GD...2.46****
>
> checking nagios installation****
>
>   found nagios at /usr/local/nagios/bin/nagios****
>
> checking web server installation****
>
>   found apache at /usr/sbin/apache2****
>
>  ****
>
> *** one or more problems were detected!****
>
>  ****
>
>  ****
>
> It seems that RRDs... ***FAIL*** . So how can I skip this error?****
>
>  ****
>
>  ****
>
>  ****
>
> On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn 
> wrote:****
>
> Did you run the install and check your prerequisites, I found that some of
> these are not present by default, You can run****
>
>  ****
>
> sudo ./install ?check=prereq****
>
>  ****
>
> If everything is ok, you can proceed, otherwise you will need to install
> the missing packages****
>
>  ****
>
> At install time you may need to pass the argument for a standalone
> installation, this all depends on your environment****
>
>  ****
>
> sudo ./install ?standalone****
>
>  ****
>
> Once installation has completed you can test that the server is working
> by  going to one of the following websites****
>
>  ****
>
> http:///nagiosgraph/cgi-bin/showconfig.cgi or
> http:///nagiosgraph/cgi-bin/show.cgi****
>
>  ****
>
> This assumes your cgi data is located in cgi-bin and that you are running
> apache.****
>
>  ****
>
> This should help to get nagiosgraph working, you will then need to update
> Nagios to use the graphing plugin.****
>
>  ****
>
> James****
>
>  ****
>
> *From:* Aravinth Anto Intern [mailto:t-aravinth at juspay.in]
> *Sent:* 02 August 2012 14:38
> *To:* Nagios Users List
> *Subject:* [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> Hi all, I'm trying to install Nagios Plugin :
> http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details
>
>
> I downloaded it, unzip it and then I run the install.pl as
>
> *sudo ./install.pl
> *
>
> I accepted every directory as default and done with installation.
>
> I changed the side.php to add my Trends link that are supported by this
> plugin. I restarted the server. But when I click on certain links. I get an
> error :
>
>
> *The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found
> on this server.
> *
>
> Why this is happening? I can go into the directory
> /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.
>
> But why its not working?
>
>
> Thanks in adavnce ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
>  ****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
> ** **
>
> ** **
>
>
> ------------------------------------------------------------------------------
> 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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From juhlke at aez-asdonkshof.de  Fri Sep  7 11:41:26 2012
From: juhlke at aez-asdonkshof.de (juhlke)
Date: Fri, 07 Sep 2012 11:41:26 +0200
Subject: Problem in Installing the graph plugin.
In-Reply-To: 
References: 
Message-ID: <15aa120b8ca1bc45a30500f43ff582b4@192.168.10.253>

May be you just have to wait until there is enough performancedata sampled to generate a graph.

This can be some time.

 


* Bitte pr?fen Sie der Umwelt zuliebe, ob der Ausdruck dieser Mail erforderlich ist.

Mit freundlichen Gr??en

Kreis Weseler Abfallgesellschaft mbH & Co. KG

Lars Juhlke 

 

Lars Juhlke
IT Systemadministration  


Telefon: 02842-940-271
Telefax: 02842-940-400 
mail:    juhlke at aez-asdonkshof.de
web:   www.aez-asdonkshof.de
 
Kreis Weseler Abfallgesellschaft mbH & Co. KG
Abfallentsorgungszentrum (AEZ) Asdonkshof
Graftstr. 25, 47475 Kamp-Lintfort
Sitz: Kamp-Lintfort, Amtsgericht Kleve, HRA 2540
Vorsitzender des Aufsichtsrats: Hellmut Fischer
p.h.G.: Kreis Weseler Abfallgesellschaft Beteiligung GmbH
Amtsgericht Kleve, HRB 7017 

Gesch?ftsf?hrer: Peter Bollig


 


 


HINWEIS: Die in dieser E-Mail enthaltenen Informationen und die dazugeh?rigen Anh?nge sind vertraulich und k?nnen der Schweigepflicht unterliegende Kommunikation enthalten. Wenn Sie nicht der beabsichtigte Empf?nger sind, weisen wir Sie hiermit darauf hin, dass die Verteilung, Weitergabe oder das Kopieren dieser Mitteilung strengstens untersagt ist. Sollten Sie diese Sendung irrt?mlich erhalten haben, informieren Sie bitte sofort den Absender und l?schen Sie diese E-Mail und alle Kopien davon. Vielen Dank.

 

  _____  

Von: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Gesendet: Freitag, 7. September 2012 11:00
An: Nagios Users List
Betreff: Re: [Nagios-users] Problem in Installing the graph plugin.

 

Thanks that works. But I dont see any graphs that are drawn in my web browser. I can see only the coordinates.  Am I need to make any changes in the config?

 

And also when I click on the icons like "Most recent alerts for this time range" I get an internal server error.

On Fri, Sep 7, 2012 at 2:03 PM, juhlke  wrote:

Hello,

 

what modus are you using? Bulk mode with npcd or bulk mode with npcdmod.

As you see in the CRIT messages it states that:

[CRIT]  service_perfdata_file is defined (service_perfdata_file=/tmp/perfdata.log)

[CRIT]  service_perfdata_file is not allowed in mode 'npcdmod'

 

Not allowed in npcdmod.

For npcdmod you have to remove the perfdata-statements in nagios.cfg.

Maybe that helps

 

 

 


* Bitte pr?fen Sie der Umwelt zuliebe, ob der Ausdruck dieser Mail erforderlich ist.

Mit freundlichen Gr??en

Kreis Weseler Abfallgesellschaft mbH & Co. KG

Lars Juhlke 

 

Lars Juhlke
IT Systemadministration  


Telefon: 02842-940-271
Telefax: 02842-940-400 
mail:    juhlke at aez-asdonkshof.de
web:   www.aez-asdonkshof.de
 
Kreis Weseler Abfallgesellschaft mbH & Co. KG
Abfallentsorgungszentrum (AEZ) Asdonkshof
Graftstr. 25, 47475 Kamp-Lintfort
Sitz: Kamp-Lintfort, Amtsgericht Kleve, HRA 2540
Vorsitzender des Aufsichtsrats: Hellmut Fischer
p.h.G.: Kreis Weseler Abfallgesellschaft Beteiligung GmbH
Amtsgericht Kleve, HRB 7017 

Gesch?ftsf?hrer: Peter Bollig


 


 


HINWEIS: Die in dieser E-Mail enthaltenen Informationen und die dazugeh?rigen Anh?nge sind vertraulich und k?nnen der Schweigepflicht unterliegende Kommunikation enthalten. Wenn Sie nicht der beabsichtigte Empf?nger sind, weisen wir Sie hiermit darauf hin, dass die Verteilung, Weitergabe oder das Kopieren dieser Mitteilung strengstens untersagt ist. Sollten Sie diese Sendung irrt?mlich erhalten haben, informieren Sie bitte sofort den Absender und l?schen Sie diese E-Mail und alle Kopien davon. Vielen Dank.

 

  _____  

Von: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Gesendet: Freitag, 7. September 2012 09:28
An: Nagios Users List
Betreff: Re: [Nagios-users] Problem in Installing the graph plugin.

 

And also I tried to debug it :

 

I tried running: 

 

 sudo perl verify_pnp_config --mode npcdmod --config=/etc/nagios3/nagios.cfg --pnpcfg=/usr/local/pnp4nagios/etc

 

I get the following output:

 

[INFO]  ========== Starting Environment Checks ============

[INFO]  My version is: verify_pnp_config-0.6.19-R.35

[INFO]  Start Options: verify_pnp_config --mode npcdmod --config=/etc/nagios3/nagios.cfg --pnpcfg=/usr/local/pnp4nagios/etc

[INFO]  Reading /etc/nagios3/nagios.cfg

[OK  ]  Running product is 'nagios'

[OK  ]  object_cache_file is defined

[OK  ]  object_cache_file=/var/cache/nagios3/objects.cache

[INFO]  Reading /var/cache/nagios3/objects.cache

[OK  ]  resource_file is defined

[OK  ]  resource_file=/etc/nagios3/resource.cfg

[INFO]  Reading /etc/nagios3/resource.cfg

[INFO]  Reading /usr/local/pnp4nagios/etc/process_perfdata.cfg

[INFO]  Reading /usr/local/pnp4nagios/etc/pnp4nagios_release

[OK  ]  Found PNP4Nagios version "0.6.19"

[OK  ]  Effective User is 'nagios'

[OK  ]  User nagios exists with ID '122'

[OK  ]  Effective group is 'nagios'

[OK  ]  Group nagios exists with ID '132'

[INFO]  ========== Checking npcdmod Mode Config  ============

[OK  ]  process_performance_data is 1 compared with '/1/'

[CRIT]  service_perfdata_file is defined (service_perfdata_file=/tmp/perfdata.log)

[CRIT]  service_perfdata_file is not allowed in mode 'npcdmod'

[CRIT]  service_perfdata_file_template is defined (service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$)

[CRIT]  service_perfdata_file_template is not allowed in mode 'npcdmod'

[CRIT]  service_perfdata_file_mode is defined (service_perfdata_file_mode=a)

[CRIT]  service_perfdata_file_mode is not allowed in mode 'npcdmod'

[CRIT]  service_perfdata_file_processing_interval is defined (service_perfdata_file_processing_interval=30)

[CRIT]  service_perfdata_file_processing_interval is not allowed in mode 'npcdmod'

[CRIT]  service_perfdata_file_processing_command is defined (service_perfdata_file_processing_command=process-service-perfdata-for-nagiosgraph)

[CRIT]  service_perfdata_file_processing_command is not allowed in mode 'npcdmod'

[HINT]  Config options are not allowed in bulk mode with npcd (5)

 

 

What does these critical messages says? [CRIT]  service_perfdata_file_template is not allowed in mode 'npcdmod'

 

I'm very new to Ubuntu. I need some help.

 

Thanks in advance

 

 

 

On Fri, Sep 7, 2012 at 12:43 PM, Aravinth Anto  wrote:

I tried an followed the instruction on http://docs.pnp4nagios.org/pnp-0.6/start

 

Everything seems to be fine. But when I went to http://localhost/pnp4nagios/  

 

I have been asked to remove the file. I removed it, which redirects me to :

 

http://localhost/pnp4nagios/graph

 

Where I get the error of :

 

perfdata directory "/usr/local/pnp4nagios/var/perfdata/" is empty. 

 

Please check your Nagios config. Read FAQ online  file [line]:  application/models/data.php [109]:  back

What will be my mistake? 

 

Kindly help me out.

 

On Thu, Sep 6, 2012 at 7:19 PM, Tech Support  wrote:

> 

>When I try to view the contents on browser I get 404 error.

> Basically it says that 

>The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on this server.

> 

 

One thing that I see is that the URL should be /nagiosgraph/cgi-bin/show.cgi, not /nagiosgraph/cgi/chow.cgi. Could that be your problem?

Regards;

John

 

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: Thursday, September 06, 2012 9:36 AM


To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I have installed the RRD package. But still I'm getting a 404 error when I try to visit graphs in my browser. 

On Thu, Sep 6, 2012 at 6:49 PM, FTL Nagios  wrote:

Install the RRD package like you have previously have been asked too.

 

sudo apt-get install rrdtool

 

Then rerun the install.pl script again.

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 06 September 2012 14:07


To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I'm using Ubuntu 12.04 and I installed the nagios3 using :

 

sudo apt-get install -y nagios3

 

Can anyone say me how to install this graph plugin. I'm spending days on it!!!

On Thu, Sep 6, 2012 at 6:09 PM, Aravinth Anto  wrote:

I have installed it. And then I run the install.pl script. And I also replaced the /usr/local/nagios/share/side.php file with required changes. 

 

When I try to view the contents on browser I get 404 error.

 

Basically it says that :

 

The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on this server.

 

Eventhough I can view that file!

 

On Thu, Sep 6, 2012 at 5:50 PM, James Osbourn  wrote:

You will need to install the RRD package.  How you do this will depend on your operating system.

 

James

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 06 September 2012 13:08
To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I run this command : 

 

sudo ./install.pl --check-prereq

 

checking required PERL modules

  Carp...1.20

  CGI...3.52

  Data::Dumper...2.130_02

  File::Basename...2.82

  File::Find...1.19

  MIME::Base64...3.13

  POSIX...1.24

  RRDs... ***FAIL***

  Time::HiRes...1.972101

checking optional PERL modules

  GD...2.46

checking nagios installation

  found nagios at /usr/local/nagios/bin/nagios

checking web server installation

  found apache at /usr/sbin/apache2

 

*** one or more problems were detected!

 

 

It seems that RRDs... ***FAIL*** . So how can I skip this error?

 

 

 

On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn  wrote:

Did you run the install and check your prerequisites, I found that some of these are not present by default, You can run

 

sudo ./install -check=prereq

 

If everything is ok, you can proceed, otherwise you will need to install the missing packages

 

At install time you may need to pass the argument for a standalone installation, this all depends on your environment

 

sudo ./install -standalone

 

Once installation has completed you can test that the server is working by  going to one of the following websites

 

http://  /nagiosgraph/cgi-bin/showconfig.cgi or http://  /nagiosgraph/cgi-bin/show.cgi

 

This assumes your cgi data is located in cgi-bin and that you are running apache.

 

This should help to get nagiosgraph working, you will then need to update Nagios to use the graphing plugin.

 

James

 

From: Aravinth Anto Intern [mailto:t-aravinth at juspay.in] 
Sent: 02 August 2012 14:38
To: Nagios Users List
Subject: [Nagios-users] Problem in Installing the graph plugin.

 

Hi all, I'm trying to install Nagios Plugin : http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details


I downloaded it, unzip it and then I run the install.pl as

sudo ./install.pl


I accepted every directory as default and done with installation. 

I changed the side.php to add my Trends link that are supported by this plugin. I restarted the server. But when I click on certain links. I get an error :


The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found on this server.


Why this is happening? I can go into the directory /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.

But why its not working? 


Thanks in adavnce 


------------------------------------------------------------------------------
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 at 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

 


------------------------------------------------------------------------------
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 at 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

 

 


------------------------------------------------------------------------------
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 at 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

 


------------------------------------------------------------------------------
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 at 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

 

 


------------------------------------------------------------------------------
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 at 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

 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From fndabunguye86 at yahoo.fr  Fri Sep  7 13:10:06 2012
From: fndabunguye86 at yahoo.fr (fndabunguye86@yahoo.com)
Date: Fri, 7 Sep 2012 12:10:06 +0100 (BST)
Subject: (no subject)
Message-ID: <1347016206.80645.YahooMailNeo@web29602.mail.ird.yahoo.com>

http://gearedforthis.com/nviaso.html?new-you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From t-aravinth at juspay.in  Fri Sep  7 13:37:00 2012
From: t-aravinth at juspay.in (Aravinth Anto)
Date: Fri, 7 Sep 2012 17:07:00 +0530
Subject: Problem in Installing the graph plugin.
In-Reply-To: <15aa120b8ca1bc45a30500f43ff582b4@192.168.10.253>
References: 
	<15aa120b8ca1bc45a30500f43ff582b4@192.168.10.253>
Message-ID: 

Cool. That is working now. But it is monitoring only one of my hosts! Are
there any config needed to change so that I draw graph for all the hosts?

On Fri, Sep 7, 2012 at 3:11 PM, juhlke  wrote:

> **
>
> May be you just have to wait until there is enough performancedata sampled
> to generate a graph.****
>
> This can be some time.****
>
> ** **
>
> ? *Bitte pr?fen Sie der Umwelt zuliebe, ob der Ausdruck dieser Mail
> erforderlich ist.*****
>
> Mit freundlichen Gr??en****
>
> Kreis Weseler Abfallgesellschaft mbH & Co. KG****
>
> Lars Juhlke ****
>
> ** **
> *Lars Juhlke* *IT Systemadministration
>
>
> Telefon: 02842-940-271
> Telefax: 02842-940-400
> mail:  juhlke at aez-asdonkshof.de ***** *web:
> www.aez-asdonkshof.de* * * *Kreis Weseler Abfallgesellschaft mbH & Co. KG*
> *Abfallentsorgungszentrum (AEZ) Asdonkshof* *Graftstr. *25, 47475
> Kamp-Lintfort**** *Sitz: Kamp-Lintfort, Amtsgericht Kleve, HRA 2540***** *Vorsitzender
> des Aufsichtsrats: Hellmut Fischer* *p.h.G.: Kreis Weseler
> Abfallgesellschaft Beteiligung GmbH* *Amtsgericht Kleve, HRB 7017 *
>
> Gesch?ftsf?hrer: Peter **Bollig******
>
> ** **
>
> ** **
>
> HINWEIS: Die in dieser E-Mail enthaltenen Informationen und die
> dazugeh?rigen Anh?nge sind vertraulich und k?nnen der Schweigepflicht
> unterliegende Kommunikation enthalten. Wenn Sie nicht der beabsichtigte
> Empf?nger sind, weisen wir Sie hiermit darauf hin, dass die Verteilung,
> Weitergabe oder das Kopieren dieser Mitteilung strengstens untersagt ist.
> Sollten Sie diese Sendung irrt?mlich erhalten haben, informieren Sie bitte
> sofort den Absender und l?schen Sie diese E-Mail und alle Kopien davon. Vielen
> Dank.****
>
> ** **
>  ------------------------------
>
> *Von:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Gesendet:* Freitag, 7. September 2012 11:00
>
> *An:* **Nagios Users List**
> *Betreff:* Re: [Nagios-users] Problem in Installing the graph plugin.
> ****
>
>  ** **
>
> Thanks that works. But I dont see any graphs that are drawn in my web
> browser. I can see only the coordinates.  Am I need to make any changes in
> the config?****
>
> ** **
>
> And also when I click on the icons like "Most recent alerts for this time
> range" I get an internal server error.****
>
> On Fri, Sep 7, 2012 at 2:03 PM, juhlke  wrote:**
> **
>
> Hello,****
>
>  ****
>
> what modus are you using? Bulk mode with npcd or bulk mode with npcdmod.**
> **
>
> As you see in the CRIT messages it states that:****
>
> [CRIT]  service_perfdata_file is defined
> (service_perfdata_file=/tmp/perfdata.log)****
>
> [CRIT]  service_perfdata_file is not allowed in mode 'npcdmod'****
>
>  ****
>
> Not allowed in npcdmod.****
>
> For npcdmod you have to remove the perfdata-statements in nagios.cfg.****
>
> Maybe that helps****
>
>  ****
>
>  ****
>
>  ****
>
> ? *Bitte pr?fen Sie der Umwelt zuliebe, ob der Ausdruck dieser Mail
> erforderlich ist.*****
>
> Mit freundlichen Gr??en****
>
> Kreis Weseler Abfallgesellschaft mbH & Co. KG****
>
> Lars Juhlke ****
>
>  ****
> *Lars Juhlke* *IT Systemadministration
>
>
> Telefon: 02842-940-271
> Telefax: 02842-940-400
> mail:  juhlke at aez-asdonkshof.de * *web:
> www.aez-asdonkshof.de* * * *Kreis Weseler Abfallgesellschaft mbH & Co. KG*
> *Abfallentsorgungszentrum (AEZ) Asdonkshof* *Graftstr. *25, 47475
> Kamp-Lintfort**** *Sitz: Kamp-Lintfort, Amtsgericht Kleve, HRA 2540* *Vorsitzender
> des Aufsichtsrats: Hellmut Fischer* *p.h.G.: Kreis Weseler
> Abfallgesellschaft Beteiligung GmbH* *Amtsgericht Kleve, HRB 7017 *
>
> Gesch?ftsf?hrer: Peter **Bollig******
>
>  ****
>
>  ****
>
> HINWEIS: Die in dieser E-Mail enthaltenen Informationen und die
> dazugeh?rigen Anh?nge sind vertraulich und k?nnen der Schweigepflicht
> unterliegende Kommunikation enthalten. Wenn Sie nicht der beabsichtigte
> Empf?nger sind, weisen wir Sie hiermit darauf hin, dass die Verteilung,
> Weitergabe oder das Kopieren dieser Mitteilung strengstens untersagt ist.
> Sollten Sie diese Sendung irrt?mlich erhalten haben, informieren Sie bitte
> sofort den Absender und l?schen Sie diese E-Mail und alle Kopien davon. Vielen
> Dank.****
>
>  ****
>  ------------------------------
>
> *Von:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Gesendet:* Freitag, 7. September 2012 09:28
> *An:* **Nagios Users List**
> *Betreff:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> And also I tried to debug it :****
>
>  ****
>
> I tried running: ****
>
>  ****
>
>  sudo perl verify_pnp_config --mode npcdmod
> --config=/etc/nagios3/nagios.cfg --pnpcfg=/usr/local/pnp4nagios/etc****
>
>  ****
>
> I get the following output:****
>
>  ****
>
> [INFO]  ========== Starting Environment Checks ============****
>
> [INFO]  My version is: verify_pnp_config-0.6.19-R.35****
>
> [INFO]  Start Options: verify_pnp_config --mode npcdmod
> --config=/etc/nagios3/nagios.cfg --pnpcfg=/usr/local/pnp4nagios/etc****
>
> [INFO]  Reading /etc/nagios3/nagios.cfg****
>
> [OK  ]  Running product is 'nagios'****
>
> [OK  ]  object_cache_file is defined****
>
> [OK  ]  object_cache_file=/var/cache/nagios3/objects.cache****
>
> [INFO]  Reading /var/cache/nagios3/objects.cache****
>
> [OK  ]  resource_file is defined****
>
> [OK  ]  resource_file=/etc/nagios3/resource.cfg****
>
> [INFO]  Reading /etc/nagios3/resource.cfg****
>
> [INFO]  Reading /usr/local/pnp4nagios/etc/process_perfdata.cfg****
>
> [INFO]  Reading /usr/local/pnp4nagios/etc/pnp4nagios_release****
>
> [OK  ]  Found PNP4Nagios version "0.6.19"****
>
> [OK  ]  Effective User is 'nagios'****
>
> [OK  ]  User nagios exists with ID '122'****
>
> [OK  ]  Effective group is 'nagios'****
>
> [OK  ]  Group nagios exists with ID '132'****
>
> [INFO]  ========== Checking npcdmod Mode Config  ============****
>
> [OK  ]  process_performance_data is 1 compared with '/1/'****
>
> [CRIT]  service_perfdata_file is defined
> (service_perfdata_file=/tmp/perfdata.log)****
>
> [CRIT]  service_perfdata_file is not allowed in mode 'npcdmod'****
>
> [CRIT]  service_perfdata_file_template is defined
> (service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$)
> ****
>
> [CRIT]  service_perfdata_file_template is not allowed in mode 'npcdmod'***
> *
>
> [CRIT]  service_perfdata_file_mode is defined
> (service_perfdata_file_mode=a)****
>
> [CRIT]  service_perfdata_file_mode is not allowed in mode 'npcdmod'****
>
> [CRIT]  service_perfdata_file_processing_interval is defined
> (service_perfdata_file_processing_interval=30)****
>
> [CRIT]  service_perfdata_file_processing_interval is not allowed in mode
> 'npcdmod'****
>
> [CRIT]  service_perfdata_file_processing_command is defined
> (service_perfdata_file_processing_command=process-service-perfdata-for-nagiosgraph)
> ****
>
> [CRIT]  service_perfdata_file_processing_command is not allowed in mode
> 'npcdmod'****
>
> [HINT]  Config options are not allowed in bulk mode with npcd (5)****
>
>  ****
>
>  ****
>
> What does these critical messages says? [CRIT]
>  service_perfdata_file_template is not allowed in mode 'npcdmod'****
>
>  ****
>
> I'm very new to Ubuntu. I need some help.****
>
>  ****
>
> Thanks in advance****
>
>  ****
>
>  ****
>
>  ****
>
> On Fri, Sep 7, 2012 at 12:43 PM, Aravinth Anto 
> wrote:****
>
> I tried an followed the instruction on
> http://docs.pnp4nagios.org/pnp-0.6/start****
>
>  ****
>
> Everything seems to be fine. But when I went to
> http://localhost/pnp4nagios/ ****
>
>  ****
>
> I have been asked to remove the file. I removed it, which redirects me to :
> ****
>
>  ****
>
> http://localhost/pnp4nagios/graph****
>
>  ****
>
> Where I get the error of :****
>
>  ****
>
> *perfdata directory "/usr/local/pnp4nagios/var/perfdata/" is empty. *****
>
>  ****
>
> *Please check your Nagios config. Read FAQ online  file [line]:
>  application/models/data.php [109]:  back*
>
> What will be my mistake? ****
>
>  ****
>
> Kindly help me out.****
>
>  ****
>
> On Thu, Sep 6, 2012 at 7:19 PM, Tech Support 
> wrote:****
>
> > ****
>
> >When I try to view the contents on browser I get 404 error.****
>
> > Basically it says that ****
>
> >The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on
> this server.****
>
> > ****
>
>  ****
>
> One thing that I see is that the URL should be
> /nagiosgraph/cgi-bin/show.cgi, not /nagiosgraph/cgi/chow.cgi. Could that be
> your problem?****
>
> Regards;****
>
> John****
>
>  ****
>
>  ****
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* Thursday, September 06, 2012 9:36 AM****
>
>
> *To:* **Nagios Users List**
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> I have installed the RRD package. But still I'm getting a 404 error when I
> try to visit graphs in my browser. ****
>
> On Thu, Sep 6, 2012 at 6:49 PM, FTL Nagios  wrote:***
> *
>
> Install the RRD package like you have previously have been asked too.****
>
>  ****
>
> sudo apt-get install rrdtool****
>
>  ****
>
> Then rerun the install.pl script again.****
>
>  ****
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* 06 September 2012 14:07****
>
>
> *To:* **Nagios Users List**
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> I'm using Ubuntu 12.04 and I installed the nagios3 using :****
>
>  ****
>
> sudo apt-get install -y nagios3****
>
>  ****
>
> Can anyone say me how to install this graph plugin. I'm spending days on
> it!!!****
>
> On Thu, Sep 6, 2012 at 6:09 PM, Aravinth Anto 
> wrote:****
>
> I have installed it. And then I run the install.pl script. And I also
> replaced the /usr/local/nagios/share/side.php file with required changes.
> ****
>
>  ****
>
> When I try to view the contents on browser I get 404 error.****
>
>  ****
>
> Basically it says that :****
>
>  ****
>
> The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on
> this server.****
>
>  ****
>
> Eventhough I can view that file!****
>
>  ****
>
> On Thu, Sep 6, 2012 at 5:50 PM, James Osbourn 
> wrote:****
>
> You will need to install the RRD package.  How you do this will depend on
> your operating system.****
>
>  ****
>
> James****
>
>  ****
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* 06 September 2012 13:08
> *To:* **Nagios Users List**
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> I run this command : ****
>
>  ****
>
> sudo ./install.pl --check-prereq****
>
>  ****
>
> checking required PERL modules****
>
>   Carp...1.20****
>
>   CGI...3.52****
>
>   Data::Dumper...2.130_02****
>
>   File::Basename...2.82****
>
>   File::Find...1.19****
>
>   MIME::Base64...3.13****
>
>   POSIX...1.24****
>
>   RRDs... ***FAIL*******
>
>   Time::HiRes...1.972101****
>
> checking optional PERL modules****
>
>   GD...2.46****
>
> checking nagios installation****
>
>   found nagios at /usr/local/nagios/bin/nagios****
>
> checking web server installation****
>
>   found apache at /usr/sbin/apache2****
>
>  ****
>
> *** one or more problems were detected!****
>
>  ****
>
>  ****
>
> It seems that RRDs... ***FAIL*** . So how can I skip this error?****
>
>  ****
>
>  ****
>
>  ****
>
> On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn 
> wrote:****
>
> Did you run the install and check your prerequisites, I found that some of
> these are not present by default, You can run****
>
>  ****
>
> sudo ./install ?check=prereq****
>
>  ****
>
> If everything is ok, you can proceed, otherwise you will need to install
> the missing packages****
>
>  ****
>
> At install time you may need to pass the argument for a standalone
> installation, this all depends on your environment****
>
>  ****
>
> sudo ./install ?standalone****
>
>  ****
>
> Once installation has completed you can test that the server is working
> by  going to one of the following websites****
>
>  ****
>
> http:///nagiosgraph/cgi-bin/showconfig.cgi or
> http:///nagiosgraph/cgi-bin/show.cgi****
>
>  ****
>
> This assumes your cgi data is located in cgi-bin and that you are running
> apache.****
>
>  ****
>
> This should help to get nagiosgraph working, you will then need to update
> Nagios to use the graphing plugin.****
>
>  ****
>
> James****
>
>  ****
>
> *From:* Aravinth Anto Intern [mailto:t-aravinth at juspay.in]
> *Sent:* 02 August 2012 14:38
> *To:* **Nagios Users List**
> *Subject:* [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> Hi all, I'm trying to install Nagios Plugin :
> http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details
>
>
> I downloaded it, unzip it and then I run the install.pl as
>
> *sudo ./install.pl
> *
>
> I accepted every directory as default and done with installation.
>
> I changed the side.php to add my Trends link that are supported by this
> plugin. I restarted the server. But when I click on certain links. I get an
> error :
>
>
> *The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found
> on this server.
> *
>
> Why this is happening? I can go into the directory
> /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.
>
> But why its not working?
>
>
> Thanks in adavnce ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
>  ****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
>  ****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
> ** **
>
>
> ------------------------------------------------------------------------------
> 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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From ftlnagios at gmail.com  Fri Sep  7 14:05:48 2012
From: ftlnagios at gmail.com (FTL Nagios)
Date: Fri, 7 Sep 2012 13:05:48 +0100
Subject: Problem in Installing the graph plugin.
In-Reply-To: 
References: 	<15aa120b8ca1bc45a30500f43ff582b4@192.168.10.253>
	
Message-ID: <002a01cd8cf1$1ee0ac20$5ca20460$@gmail.com>

You need to add the host/service template to the actual host/service check

 

Look at the PNP4NAGIOS guide for the Web Frontend Nagios PNP section

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 07 September 2012 12:37
To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

Cool. That is working now. But it is monitoring only one of my hosts! Are
there any config needed to change so that I draw graph for all the hosts?

On Fri, Sep 7, 2012 at 3:11 PM, juhlke  wrote:

May be you just have to wait until there is enough performancedata sampled
to generate a graph.

This can be some time.

 


? Bitte pr?fen Sie der Umwelt zuliebe, ob der Ausdruck dieser Mail
erforderlich ist.

Mit freundlichen Gr??en

Kreis Weseler Abfallgesellschaft mbH & Co. KG

Lars Juhlke 

 

Lars Juhlke
IT Systemadministration  


Telefon: 02842-940-271
Telefax: 02842-940-400 
mail:    juhlke at aez-asdonkshof.de
web:   www.aez-asdonkshof.de
 
Kreis Weseler Abfallgesellschaft mbH & Co. KG
Abfallentsorgungszentrum (AEZ) Asdonkshof
Graftstr. 25, 47475 Kamp-Lintfort
Sitz: Kamp-Lintfort, Amtsgericht Kleve, HRA 2540
Vorsitzender des Aufsichtsrats: Hellmut Fischer
p.h.G.: Kreis Weseler Abfallgesellschaft Beteiligung GmbH
Amtsgericht Kleve, HRB 7017 

Gesch?ftsf?hrer: Peter Bollig


 


 


HINWEIS: Die in dieser E-Mail enthaltenen Informationen und die
dazugeh?rigen Anh?nge sind vertraulich und k?nnen der Schweigepflicht
unterliegende Kommunikation enthalten. Wenn Sie nicht der beabsichtigte
Empf?nger sind, weisen wir Sie hiermit darauf hin, dass die Verteilung,
Weitergabe oder das Kopieren dieser Mitteilung strengstens untersagt ist.
Sollten Sie diese Sendung irrt?mlich erhalten haben, informieren Sie bitte
sofort den Absender und l?schen Sie diese E-Mail und alle Kopien davon.
Vielen Dank.

 

  _____  

Von: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Gesendet: Freitag, 7. September 2012 11:00


An: Nagios Users List
Betreff: Re: [Nagios-users] Problem in Installing the graph plugin.

 

Thanks that works. But I dont see any graphs that are drawn in my web
browser. I can see only the coordinates.  Am I need to make any changes in
the config?

 

And also when I click on the icons like "Most recent alerts for this time
range" I get an internal server error.

On Fri, Sep 7, 2012 at 2:03 PM, juhlke  wrote:

Hello,

 

what modus are you using? Bulk mode with npcd or bulk mode with npcdmod.

As you see in the CRIT messages it states that:

[CRIT]  service_perfdata_file is defined
(service_perfdata_file=/tmp/perfdata.log)

[CRIT]  service_perfdata_file is not allowed in mode 'npcdmod'

 

Not allowed in npcdmod.

For npcdmod you have to remove the perfdata-statements in nagios.cfg.

Maybe that helps

 

 

 


? Bitte pr?fen Sie der Umwelt zuliebe, ob der Ausdruck dieser Mail
erforderlich ist.

Mit freundlichen Gr??en

Kreis Weseler Abfallgesellschaft mbH & Co. KG

Lars Juhlke 

 

Lars Juhlke
IT Systemadministration  


Telefon: 02842-940-271
Telefax: 02842-940-400 
mail:    juhlke at aez-asdonkshof.de
web:   www.aez-asdonkshof.de
 
Kreis Weseler Abfallgesellschaft mbH & Co. KG
Abfallentsorgungszentrum (AEZ) Asdonkshof
Graftstr. 25, 47475 Kamp-Lintfort
Sitz: Kamp-Lintfort, Amtsgericht Kleve, HRA 2540
Vorsitzender des Aufsichtsrats: Hellmut Fischer
p.h.G.: Kreis Weseler Abfallgesellschaft Beteiligung GmbH
Amtsgericht Kleve, HRB 7017 

Gesch?ftsf?hrer: Peter Bollig


 


 


HINWEIS: Die in dieser E-Mail enthaltenen Informationen und die
dazugeh?rigen Anh?nge sind vertraulich und k?nnen der Schweigepflicht
unterliegende Kommunikation enthalten. Wenn Sie nicht der beabsichtigte
Empf?nger sind, weisen wir Sie hiermit darauf hin, dass die Verteilung,
Weitergabe oder das Kopieren dieser Mitteilung strengstens untersagt ist.
Sollten Sie diese Sendung irrt?mlich erhalten haben, informieren Sie bitte
sofort den Absender und l?schen Sie diese E-Mail und alle Kopien davon.
Vielen Dank.

 

  _____  

Von: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Gesendet: Freitag, 7. September 2012 09:28
An: Nagios Users List
Betreff: Re: [Nagios-users] Problem in Installing the graph plugin.

 

And also I tried to debug it :

 

I tried running: 

 

 sudo perl verify_pnp_config --mode npcdmod --config=/etc/nagios3/nagios.cfg
--pnpcfg=/usr/local/pnp4nagios/etc

 

I get the following output:

 

[INFO]  ========== Starting Environment Checks ============

[INFO]  My version is: verify_pnp_config-0.6.19-R.35

[INFO]  Start Options: verify_pnp_config --mode npcdmod
--config=/etc/nagios3/nagios.cfg --pnpcfg=/usr/local/pnp4nagios/etc

[INFO]  Reading /etc/nagios3/nagios.cfg

[OK  ]  Running product is 'nagios'

[OK  ]  object_cache_file is defined

[OK  ]  object_cache_file=/var/cache/nagios3/objects.cache

[INFO]  Reading /var/cache/nagios3/objects.cache

[OK  ]  resource_file is defined

[OK  ]  resource_file=/etc/nagios3/resource.cfg

[INFO]  Reading /etc/nagios3/resource.cfg

[INFO]  Reading /usr/local/pnp4nagios/etc/process_perfdata.cfg

[INFO]  Reading /usr/local/pnp4nagios/etc/pnp4nagios_release

[OK  ]  Found PNP4Nagios version "0.6.19"

[OK  ]  Effective User is 'nagios'

[OK  ]  User nagios exists with ID '122'

[OK  ]  Effective group is 'nagios'

[OK  ]  Group nagios exists with ID '132'

[INFO]  ========== Checking npcdmod Mode Config  ============

[OK  ]  process_performance_data is 1 compared with '/1/'

[CRIT]  service_perfdata_file is defined
(service_perfdata_file=/tmp/perfdata.log)

[CRIT]  service_perfdata_file is not allowed in mode 'npcdmod'

[CRIT]  service_perfdata_file_template is defined
(service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC
$||$SERVICEOUTPUT$||$SERVICEPERFDATA$)

[CRIT]  service_perfdata_file_template is not allowed in mode 'npcdmod'

[CRIT]  service_perfdata_file_mode is defined (service_perfdata_file_mode=a)

[CRIT]  service_perfdata_file_mode is not allowed in mode 'npcdmod'

[CRIT]  service_perfdata_file_processing_interval is defined
(service_perfdata_file_processing_interval=30)

[CRIT]  service_perfdata_file_processing_interval is not allowed in mode
'npcdmod'

[CRIT]  service_perfdata_file_processing_command is defined
(service_perfdata_file_processing_command=process-service-perfdata-for-nagio
sgraph)

[CRIT]  service_perfdata_file_processing_command is not allowed in mode
'npcdmod'

[HINT]  Config options are not allowed in bulk mode with npcd (5)

 

 

What does these critical messages says? [CRIT]
service_perfdata_file_template is not allowed in mode 'npcdmod'

 

I'm very new to Ubuntu. I need some help.

 

Thanks in advance

 

 

 

On Fri, Sep 7, 2012 at 12:43 PM, Aravinth Anto  wrote:

I tried an followed the instruction on
http://docs.pnp4nagios.org/pnp-0.6/start

 

Everything seems to be fine. But when I went to http://localhost/pnp4nagios/
 

 

I have been asked to remove the file. I removed it, which redirects me to :

 

http://localhost/pnp4nagios/graph

 

Where I get the error of :

 

perfdata directory "/usr/local/pnp4nagios/var/perfdata/" is empty. 

 

Please check your Nagios config. Read FAQ online  file [line]:
application/models/data.php [109]:  back

What will be my mistake? 

 

Kindly help me out.

 

On Thu, Sep 6, 2012 at 7:19 PM, Tech Support 
wrote:

> 

>When I try to view the contents on browser I get 404 error.

> Basically it says that 

>The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on this
server.

> 

 

One thing that I see is that the URL should be
/nagiosgraph/cgi-bin/show.cgi, not /nagiosgraph/cgi/chow.cgi. Could that be
your problem?

Regards;

John

 

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: Thursday, September 06, 2012 9:36 AM


To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I have installed the RRD package. But still I'm getting a 404 error when I
try to visit graphs in my browser. 

On Thu, Sep 6, 2012 at 6:49 PM, FTL Nagios  wrote:

Install the RRD package like you have previously have been asked too.

 

sudo apt-get install rrdtool

 

Then rerun the install.pl script again.

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 06 September 2012 14:07


To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I'm using Ubuntu 12.04 and I installed the nagios3 using :

 

sudo apt-get install -y nagios3

 

Can anyone say me how to install this graph plugin. I'm spending days on
it!!!

On Thu, Sep 6, 2012 at 6:09 PM, Aravinth Anto  wrote:

I have installed it. And then I run the install.pl script. And I also
replaced the /usr/local/nagios/share/side.php file with required changes. 

 

When I try to view the contents on browser I get 404 error.

 

Basically it says that :

 

The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on this
server.

 

Eventhough I can view that file!

 

On Thu, Sep 6, 2012 at 5:50 PM, James Osbourn 
wrote:

You will need to install the RRD package.  How you do this will depend on
your operating system.

 

James

 

From: Aravinth Anto [mailto:t-aravinth at juspay.in] 
Sent: 06 September 2012 13:08
To: Nagios Users List
Subject: Re: [Nagios-users] Problem in Installing the graph plugin.

 

I run this command : 

 

sudo ./install.pl --check-prereq

 

checking required PERL modules

  Carp...1.20

  CGI...3.52

  Data::Dumper...2.130_02

  File::Basename...2.82

  File::Find...1.19

  MIME::Base64...3.13

  POSIX...1.24

  RRDs... ***FAIL***

  Time::HiRes...1.972101

checking optional PERL modules

  GD...2.46

checking nagios installation

  found nagios at /usr/local/nagios/bin/nagios

checking web server installation

  found apache at /usr/sbin/apache2

 

*** one or more problems were detected!

 

 

It seems that RRDs... ***FAIL*** . So how can I skip this error?

 

 

 

On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn 
wrote:

Did you run the install and check your prerequisites, I found that some of
these are not present by default, You can run

 

sudo ./install ?check=prereq

 

If everything is ok, you can proceed, otherwise you will need to install the
missing packages

 

At install time you may need to pass the argument for a standalone
installation, this all depends on your environment

 

sudo ./install ?standalone

 

Once installation has completed you can test that the server is working by
going to one of the following websites

 

http:// 
/nagiosgraph/cgi-bin/showconfig.cgi or http://

/nagiosgraph/cgi-bin/show.cgi

 

This assumes your cgi data is located in cgi-bin and that you are running
apache.

 

This should help to get nagiosgraph working, you will then need to update
Nagios to use the graphing plugin.

 

James

 

From: Aravinth Anto Intern [mailto:t-aravinth at juspay.in] 
Sent: 02 August 2012 14:38
To: Nagios Users List
Subject: [Nagios-users] Problem in Installing the graph plugin.

 

Hi all, I'm trying to install Nagios Plugin :
http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgrap
h/details


I downloaded it, unzip it and then I run the install.pl as

sudo ./install.pl


I accepted every directory as default and done with installation. 

I changed the side.php to add my Trends link that are supported by this
plugin. I restarted the server. But when I click on certain links. I get an
error :


The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found on
this server.


Why this is happening? I can go into the directory
/usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.

But why its not working? 


Thanks in adavnce 


----------------------------------------------------------------------------
--
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 at 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

 


----------------------------------------------------------------------------
--
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 at 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

 

 


----------------------------------------------------------------------------
--
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 at 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

 


----------------------------------------------------------------------------
--
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 at 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

 

 


----------------------------------------------------------------------------
--
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 at 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

 


----------------------------------------------------------------------------
--
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 at 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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From lists at fuchsschwanzdomain.de  Fri Sep  7 14:10:33 2012
From: lists at fuchsschwanzdomain.de (Sven Geggus)
Date: Fri, 7 Sep 2012 12:10:33 +0000 (UTC)
Subject: check_areca via LAN (SNMP)?
References: 
	<20120907080502.GB28023@pax.zz.de>
Message-ID: 

Florian Lohoff  wrote:

> I'd try to find the correct MIB - Google shows up with this:
> http://opennms.530661.n2.nabble.com/Adding-an-Areca-MIB-td5676020.html
> which points to 
> http://www.areca.us/support/download/RaidCards/AP_Driver/snmp-mibs-sas.zip

Which is even older than the one I found on the driver CD.

> The MIB is buggy indeed (as most vendor supplied mibs).

Ah OK, I will try to fix the one from the CD like this.

Where would I need to put the mib file to have snmpwalk and check_snmp
using it?

Regards

Sven


------------------------------------------------------------------------------
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 at 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




From Nobuo.Matsushita at childrenscolorado.org  Fri Sep  7 15:29:07 2012
From: Nobuo.Matsushita at childrenscolorado.org (Matsushita, Nobuo)
Date: Fri, 7 Sep 2012 13:29:07 +0000
Subject: nagios 3.4.1 and IE 8 problem
Message-ID: <63E421D9117DDB4FAB5FA62A57518F1510BEFDA7@PRDEXMB02.thechildrenshospital.org>

Mike, Mark,


Thank you for your suggestions.

Some strange reasons, I didn't see your responses by email. I am subscribing this mailing list by digest mode.
When I checked the archives, I found your responses.

I checked your suggestions, but so far I still can not find the solution yet.
Additional information is that when I use IE8, Linux server for nagios (Red Hat 6.3) httpd process crashs.
But it doesn't create core file.

Nobuo

>Do you have compatibility mode turned on for IE? That tends to break a
>lot of pages using any kind of modern CSS or javascript. If so try
>turning it off.


>>On 9/5/2012 10:51 AM, Matsushita, Nobuo wrote:
>> Hi,
>> I installed and configured nagios 3.4.1. When I use Firefox,
>> everything works fine. But when I use Internet Explorer 8 ( under
>> Windows 7), I get the following error message:
>> Internet Explorer cannot display the webpage
>> And  when I use "Developer Tools" from IE8, I found the following
>> messages:
>> javascript:initMoreInfo('infoBlockID')
>> Does anyone know why I am getting this on IE, but works on Firefox?
>> Thanks in advance.
>> Nobuo
-


>Mike Guthrie
>Technical Team
___
>Nagios Enterprises, LLC
>Email:  mguthrie at ...
>Web:    http://www.nagios.com




>Re: [Nagios-users] nagios 3.4.1 and IE 8 problem
>From: Mark Elsen  - 2012-09-05 17:53

>Attachments: Message as HTML

>On Wed, Sep 5, 2012 at 5:51 PM, Matsushita, Nobuo <
>Nobuo.Matsushita at ...> wrote:

>>  Hi,
>>
>> I installed and configured nagios 3.4.1. When I use Firefox, everything
>> works fine. But when I use Internet Explorer 8 ( under Windows 7), I get
> >the following error message:
>>
>> Internet Explorer cannot display the webpage
>>
>> And  when I use "Developer Tools" from IE8, I found the following messages:
>>
> >javascript:initMoreInfo('infoBlockID')
>>
> >Does anyone know why I am getting this on IE, but works on Firefox?
>>
>>

>No but for standard IE; disabling 'show friendly error  messages' in de
>advanced settings may help diagnose
>this error further (well MS$ opinions on friendly error message, may
>deviate from the standard world's view ...).

>M.


---------------------------------------------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: This e-mail is confidential, may be legally privileged,
and for the intended recipient only. Access, disclosure, copying, forwarding and
distribution by any means is strictly prohibited. If received in error,
do not read but delete and e-mail confirmation to the sender.
==========================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From John.Alberts at exlibrisgroup.com  Fri Sep  7 21:48:18 2012
From: John.Alberts at exlibrisgroup.com (John Alberts)
Date: Fri, 7 Sep 2012 19:48:18 +0000
Subject: downtime not marked as OK in avail.cgi
Message-ID: 

When looking at an availability report generated by avail.cgi, I notice that my stats are way off if a service goes critical and someone then schedules downtime for a service.  I expect that downtime should not be counted as critical because it would mean that it's because of a planned activity such as maintenance.

For example, I have:
07-28-2012 00:00:00     07-28-2012 03:05:06     0d 3h 5m 6s     SERVICE OK (HARD)       OK - 167 results in 5.318780151 seconds
07-28-2012 03:05:06     07-28-2012 03:21:05     0d 0h 15m 59s   SERVICE CRITICAL (HARD) (Service Check Timed Out)
07-28-2012 03:21:05     07-28-2012 03:41:04     0d 0h 19m 59s   SERVICE DOWNTIME START  Start of scheduled downtime
07-28-2012 03:41:04     07-29-2012 00:00:00     0d 20h 18m 56s  SERVICE DOWNTIME END    End of scheduled downtime
07-29-2012 00:00:00     07-29-2012 04:21:11     0d 4h 21m 11s   SERVICE OK (HARD)       OK - 167 results in 5.235716141 seconds


In this example, Nagios is showing me over 9 hours of critical time because the service was in a critical state when it entered the downtime, which lasted for 9 hours.  I've played around with all of the state options, but nothing seems to help.  Can anything be done to fix this?

Thanks
John Alberts

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From mike-nagios at 5dninja.net  Fri Sep  7 22:41:14 2012
From: mike-nagios at 5dninja.net (Mike Lindsey)
Date: Fri, 07 Sep 2012 13:41:14 -0700
Subject: configure receiving snmp traps
In-Reply-To: <005901cd8b3c$9225c5a0$b67150e0$@it.net>
References: <005901cd8b3c$9225c5a0$b67150e0$@it.net>
Message-ID: <504A5BEA.4040201@5dninja.net>

On 9/5/12 1:00 AM, Marco Borsani wrote:
>
> I read many docs, but I still have problem to configure nagios 3.x to 
> receive the traps.
>
> May someone explain the steps to follow to configure correctly this 
> issue ?
>
> Is it necessary other SW ?
>
>

You'll need to ensure that snmptrapd is enabled on your Nagios poller, 
and the typical route from there to get snmp traps submitted into Nagios 
is to install SNMPTT.

http://snmptt.sourceforge.net/

I recommend reading the docs for these, but, a very basic snmptrapd.conf 
would be:
###### snmptrapd.conf
snmpTrapdAddr udp:localhost,udp:YOUR_IP_HERE,tcp:YOUR_IP_HERE

authCommunity log,execute public
logOption f/var/log/snmptrapd.log
traphandle default /usr/sbin/snmptt -i /usr/local/share/snmp/snmptt.ini
######

And then in the TrapFiles section of snmptt.ini you might have:
######
[TrapFiles]
snmptt_conf_files = <
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From f at zz.de  Sun Sep  9 19:33:32 2012
From: f at zz.de (Florian Lohoff)
Date: Sun, 9 Sep 2012 19:33:32 +0200
Subject: check_areca via LAN (SNMP)?
In-Reply-To: 
References: 
	<20120907080502.GB28023@pax.zz.de>
	
Message-ID: <20120909173332.GA13503@pax.zz.de>

On Fri, Sep 07, 2012 at 12:10:33PM +0000, Sven Geggus wrote:
> > The MIB is buggy indeed (as most vendor supplied mibs).
> 
> Ah OK, I will try to fix the one from the CD like this.
> 
> Where would I need to put the mib file to have snmpwalk and check_snmp
> using it?

Typically i try to find the numerical representation by using an
snmpget or snmpwalk with -On and use that.

Reading and parsing MIBs is expensive so one would like to avoid that
where possible.

Flo
-- 
Florian Lohoff                                                 f at zz.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From t-aravinth at juspay.in  Mon Sep 10 08:04:58 2012
From: t-aravinth at juspay.in (Aravinth Anto)
Date: Mon, 10 Sep 2012 11:34:58 +0530
Subject: Problem in Installing the graph plugin.
In-Reply-To: <002a01cd8cf1$1ee0ac20$5ca20460$@gmail.com>
References: 
	<15aa120b8ca1bc45a30500f43ff582b4@192.168.10.253>
	
	<002a01cd8cf1$1ee0ac20$5ca20460$@gmail.com>
Message-ID: 

On Fri, Sep 7, 2012 at 5:35 PM, FTL Nagios  wrote:

> You need to add the host/service template to the actual host/service check
> ****
>
> **
>

Cool everything seems to be working. I wish I could protect my web UI with
password. Is that possible to do so?


> **
>
> Look at the PNP4NAGIOS guide for the Web Frontend Nagios PNP section****
>
> ** **
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* 07 September 2012 12:37
>
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
> ** **
>
> Cool. That is working now. But it is monitoring only one of my hosts! Are
> there any config needed to change so that I draw graph for all the hosts?*
> ***
>
> On Fri, Sep 7, 2012 at 3:11 PM, juhlke  wrote:**
> **
>
> May be you just have to wait until there is enough performancedata sampled
> to generate a graph.****
>
> This can be some time.****
>
>  ****
>
> ? *Bitte pr?fen Sie der Umwelt zuliebe, ob der Ausdruck dieser Mail
> erforderlich ist.*****
>
> Mit freundlichen Gr??en****
>
> Kreis Weseler Abfallgesellschaft mbH & Co. KG****
>
> Lars Juhlke ****
>
>  ****
> Lars Juhlke****IT Systemadministration
>
>
> Telefon: 02842-940-271
> Telefax: 02842-940-400
> mail:  juhlke at aez-asdonkshof.de ****web:
> www.aez-asdonkshof.de**** ****Kreis Weseler Abfallgesellschaft mbH & Co.
> KG****Abfallentsorgungszentrum (AEZ) Asdonkshof****Graftstr. 25, 47475
> Kamp-Lintfort****Sitz: Kamp-Lintfort, Amtsgericht Kleve, HRA 2540****Vorsitzender
> des Aufsichtsrats: Hellmut Fischer****p.h.G.: Kreis Weseler
> Abfallgesellschaft Beteiligung GmbH****Amtsgericht Kleve, HRB 7017 ****
>
> Gesch?ftsf?hrer: Peter Bollig****
>
>  ****
>
>  ****
>
> HINWEIS: Die in dieser E-Mail enthaltenen Informationen und die
> dazugeh?rigen Anh?nge sind vertraulich und k?nnen der Schweigepflicht
> unterliegende Kommunikation enthalten. Wenn Sie nicht der beabsichtigte
> Empf?nger sind, weisen wir Sie hiermit darauf hin, dass die Verteilung,
> Weitergabe oder das Kopieren dieser Mitteilung strengstens untersagt ist.
> Sollten Sie diese Sendung irrt?mlich erhalten haben, informieren Sie bitte
> sofort den Absender und l?schen Sie diese E-Mail und alle Kopien davon.
> Vielen Dank.****
>
>  ****
> ------------------------------
>
> *Von:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Gesendet:* Freitag, 7. September 2012 11:00****
>
>
> *An:* Nagios Users List
> *Betreff:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> Thanks that works. But I dont see any graphs that are drawn in my web
> browser. I can see only the coordinates.  Am I need to make any changes in
> the config?****
>
>  ****
>
> And also when I click on the icons like "Most recent alerts for this time
> range" I get an internal server error.****
>
> On Fri, Sep 7, 2012 at 2:03 PM, juhlke  wrote:**
> **
>
> Hello,****
>
>  ****
>
> what modus are you using? Bulk mode with npcd or bulk mode with npcdmod.**
> **
>
> As you see in the CRIT messages it states that:****
>
> [CRIT]  service_perfdata_file is defined
> (service_perfdata_file=/tmp/perfdata.log)****
>
> [CRIT]  service_perfdata_file is not allowed in mode 'npcdmod'****
>
>  ****
>
> Not allowed in npcdmod.****
>
> For npcdmod you have to remove the perfdata-statements in nagios.cfg.****
>
> Maybe that helps****
>
>  ****
>
>  ****
>
>  ****
>
> ? *Bitte pr?fen Sie der Umwelt zuliebe, ob der Ausdruck dieser Mail
> erforderlich ist.*****
>
> Mit freundlichen Gr??en****
>
> Kreis Weseler Abfallgesellschaft mbH & Co. KG****
>
> Lars Juhlke ****
>
>  ****
> Lars Juhlke****IT Systemadministration
>
>
> Telefon: 02842-940-271
> Telefax: 02842-940-400
> mail:  juhlke at aez-asdonkshof.de ****web:
> www.aez-asdonkshof.de**** ****Kreis Weseler Abfallgesellschaft mbH & Co.
> KG****Abfallentsorgungszentrum (AEZ) Asdonkshof****Graftstr. 25, 47475
> Kamp-Lintfort****Sitz: Kamp-Lintfort, Amtsgericht Kleve, HRA 2540****Vorsitzender
> des Aufsichtsrats: Hellmut Fischer****p.h.G.: Kreis Weseler
> Abfallgesellschaft Beteiligung GmbH****Amtsgericht Kleve, HRB 7017 ****
>
> Gesch?ftsf?hrer: Peter Bollig****
>
>  ****
>
>  ****
>
> HINWEIS: Die in dieser E-Mail enthaltenen Informationen und die
> dazugeh?rigen Anh?nge sind vertraulich und k?nnen der Schweigepflicht
> unterliegende Kommunikation enthalten. Wenn Sie nicht der beabsichtigte
> Empf?nger sind, weisen wir Sie hiermit darauf hin, dass die Verteilung,
> Weitergabe oder das Kopieren dieser Mitteilung strengstens untersagt ist.
> Sollten Sie diese Sendung irrt?mlich erhalten haben, informieren Sie bitte
> sofort den Absender und l?schen Sie diese E-Mail und alle Kopien davon.
> Vielen Dank.****
>
>  ****
> ------------------------------
>
> *Von:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Gesendet:* Freitag, 7. September 2012 09:28
> *An:* Nagios Users List
> *Betreff:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> And also I tried to debug it :****
>
>  ****
>
> I tried running: ****
>
>  ****
>
>  sudo perl verify_pnp_config --mode npcdmod
> --config=/etc/nagios3/nagios.cfg --pnpcfg=/usr/local/pnp4nagios/etc****
>
>  ****
>
> I get the following output:****
>
>  ****
>
> [INFO]  ========== Starting Environment Checks ============****
>
> [INFO]  My version is: verify_pnp_config-0.6.19-R.35****
>
> [INFO]  Start Options: verify_pnp_config --mode npcdmod
> --config=/etc/nagios3/nagios.cfg --pnpcfg=/usr/local/pnp4nagios/etc****
>
> [INFO]  Reading /etc/nagios3/nagios.cfg****
>
> [OK  ]  Running product is 'nagios'****
>
> [OK  ]  object_cache_file is defined****
>
> [OK  ]  object_cache_file=/var/cache/nagios3/objects.cache****
>
> [INFO]  Reading /var/cache/nagios3/objects.cache****
>
> [OK  ]  resource_file is defined****
>
> [OK  ]  resource_file=/etc/nagios3/resource.cfg****
>
> [INFO]  Reading /etc/nagios3/resource.cfg****
>
> [INFO]  Reading /usr/local/pnp4nagios/etc/process_perfdata.cfg****
>
> [INFO]  Reading /usr/local/pnp4nagios/etc/pnp4nagios_release****
>
> [OK  ]  Found PNP4Nagios version "0.6.19"****
>
> [OK  ]  Effective User is 'nagios'****
>
> [OK  ]  User nagios exists with ID '122'****
>
> [OK  ]  Effective group is 'nagios'****
>
> [OK  ]  Group nagios exists with ID '132'****
>
> [INFO]  ========== Checking npcdmod Mode Config  ============****
>
> [OK  ]  process_performance_data is 1 compared with '/1/'****
>
> [CRIT]  service_perfdata_file is defined
> (service_perfdata_file=/tmp/perfdata.log)****
>
> [CRIT]  service_perfdata_file is not allowed in mode 'npcdmod'****
>
> [CRIT]  service_perfdata_file_template is defined
> (service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$)
> ****
>
> [CRIT]  service_perfdata_file_template is not allowed in mode 'npcdmod'***
> *
>
> [CRIT]  service_perfdata_file_mode is defined
> (service_perfdata_file_mode=a)****
>
> [CRIT]  service_perfdata_file_mode is not allowed in mode 'npcdmod'****
>
> [CRIT]  service_perfdata_file_processing_interval is defined
> (service_perfdata_file_processing_interval=30)****
>
> [CRIT]  service_perfdata_file_processing_interval is not allowed in mode
> 'npcdmod'****
>
> [CRIT]  service_perfdata_file_processing_command is defined
> (service_perfdata_file_processing_command=process-service-perfdata-for-nagiosgraph)
> ****
>
> [CRIT]  service_perfdata_file_processing_command is not allowed in mode
> 'npcdmod'****
>
> [HINT]  Config options are not allowed in bulk mode with npcd (5)****
>
>  ****
>
>  ****
>
> What does these critical messages says? [CRIT]
>  service_perfdata_file_template is not allowed in mode 'npcdmod'****
>
>  ****
>
> I'm very new to Ubuntu. I need some help.****
>
>  ****
>
> Thanks in advance****
>
>  ****
>
>  ****
>
>  ****
>
> On Fri, Sep 7, 2012 at 12:43 PM, Aravinth Anto 
> wrote:****
>
> I tried an followed the instruction on
> http://docs.pnp4nagios.org/pnp-0.6/start****
>
>  ****
>
> Everything seems to be fine. But when I went to
> http://localhost/pnp4nagios/ ****
>
>  ****
>
> I have been asked to remove the file. I removed it, which redirects me to :
> ****
>
>  ****
>
> http://localhost/pnp4nagios/graph****
>
>  ****
>
> Where I get the error of :****
>
>  ****
>
> *perfdata directory "/usr/local/pnp4nagios/var/perfdata/" is empty. *****
>
>  ****
>
> *Please check your Nagios config. Read FAQ online  file [line]:
>  application/models/data.php [109]:  back*
>
> What will be my mistake? ****
>
>  ****
>
> Kindly help me out.****
>
>  ****
>
> On Thu, Sep 6, 2012 at 7:19 PM, Tech Support 
> wrote:****
>
> > ****
>
> >When I try to view the contents on browser I get 404 error.****
>
> > Basically it says that ****
>
> >The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on
> this server.****
>
> > ****
>
>  ****
>
> One thing that I see is that the URL should be
> /nagiosgraph/cgi-bin/show.cgi, not /nagiosgraph/cgi/chow.cgi. Could that be
> your problem?****
>
> Regards;****
>
> John****
>
>  ****
>
>  ****
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* Thursday, September 06, 2012 9:36 AM****
>
>
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> I have installed the RRD package. But still I'm getting a 404 error when I
> try to visit graphs in my browser. ****
>
> On Thu, Sep 6, 2012 at 6:49 PM, FTL Nagios  wrote:***
> *
>
> Install the RRD package like you have previously have been asked too.****
>
>  ****
>
> sudo apt-get install rrdtool****
>
>  ****
>
> Then rerun the install.pl script again.****
>
>  ****
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* 06 September 2012 14:07****
>
>
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> I'm using Ubuntu 12.04 and I installed the nagios3 using :****
>
>  ****
>
> sudo apt-get install -y nagios3****
>
>  ****
>
> Can anyone say me how to install this graph plugin. I'm spending days on
> it!!!****
>
> On Thu, Sep 6, 2012 at 6:09 PM, Aravinth Anto 
> wrote:****
>
> I have installed it. And then I run the install.pl script. And I also
> replaced the /usr/local/nagios/share/side.php file with required changes.
> ****
>
>  ****
>
> When I try to view the contents on browser I get 404 error.****
>
>  ****
>
> Basically it says that :****
>
>  ****
>
> The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on
> this server.****
>
>  ****
>
> Eventhough I can view that file!****
>
>  ****
>
> On Thu, Sep 6, 2012 at 5:50 PM, James Osbourn 
> wrote:****
>
> You will need to install the RRD package.  How you do this will depend on
> your operating system.****
>
>  ****
>
> James****
>
>  ****
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* 06 September 2012 13:08
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> I run this command : ****
>
>  ****
>
> sudo ./install.pl --check-prereq****
>
>  ****
>
> checking required PERL modules****
>
>   Carp...1.20****
>
>   CGI...3.52****
>
>   Data::Dumper...2.130_02****
>
>   File::Basename...2.82****
>
>   File::Find...1.19****
>
>   MIME::Base64...3.13****
>
>   POSIX...1.24****
>
>   RRDs... ***FAIL*******
>
>   Time::HiRes...1.972101****
>
> checking optional PERL modules****
>
>   GD...2.46****
>
> checking nagios installation****
>
>   found nagios at /usr/local/nagios/bin/nagios****
>
> checking web server installation****
>
>   found apache at /usr/sbin/apache2****
>
>  ****
>
> *** one or more problems were detected!****
>
>  ****
>
>  ****
>
> It seems that RRDs... ***FAIL*** . So how can I skip this error?****
>
>  ****
>
>  ****
>
>  ****
>
> On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn 
> wrote:****
>
> Did you run the install and check your prerequisites, I found that some of
> these are not present by default, You can run****
>
>  ****
>
> sudo ./install ?check=prereq****
>
>  ****
>
> If everything is ok, you can proceed, otherwise you will need to install
> the missing packages****
>
>  ****
>
> At install time you may need to pass the argument for a standalone
> installation, this all depends on your environment****
>
>  ****
>
> sudo ./install ?standalone****
>
>  ****
>
> Once installation has completed you can test that the server is working
> by  going to one of the following websites****
>
>  ****
>
> http:///nagiosgraph/cgi-bin/showconfig.cgi or
> http:///nagiosgraph/cgi-bin/show.cgi****
>
>  ****
>
> This assumes your cgi data is located in cgi-bin and that you are running
> apache.****
>
>  ****
>
> This should help to get nagiosgraph working, you will then need to update
> Nagios to use the graphing plugin.****
>
>  ****
>
> James****
>
>  ****
>
> *From:* Aravinth Anto Intern [mailto:t-aravinth at juspay.in]
> *Sent:* 02 August 2012 14:38
> *To:* Nagios Users List
> *Subject:* [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> Hi all, I'm trying to install Nagios Plugin :
> http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details
>
>
> I downloaded it, unzip it and then I run the install.pl as
>
> *sudo ./install.pl
> *
>
> I accepted every directory as default and done with installation.
>
> I changed the side.php to add my Trends link that are supported by this
> plugin. I restarted the server. But when I click on certain links. I get an
> error :
>
>
> *The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found
> on this server.
> *
>
> Why this is happening? I can go into the directory
> /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.
>
> But why its not working?
>
>
> Thanks in adavnce ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
>  ****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
>  ****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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****
>
> ** **
>
>
> ------------------------------------------------------------------------------
> 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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From BChan at Shawcor.com  Mon Sep 10 08:05:22 2012
From: BChan at Shawcor.com (Brian Chan)
Date: Mon, 10 Sep 2012 02:05:22 -0400
Subject: AUTO: Chan,
	Brian is away from the office (returning 11/09/2012)
Message-ID: 


I am out of the office until 11/09/2012.

I will respond to your message when I return.
If this is a request for support,  click here to open an ITRequest--:>
mailto:itrequest at shawcor.com
Alternatively, all questions can be directed to the Help Desk at
416-744-5557

Brian Chan


Note: This is an automated response to your message  "Nagios-users Digest,
Vol 76, Issue 11" sent on 09/10/2012 2:05:10.

This is the only notification you will receive while this person is away.


------------------------------------------------------------------------------
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 at 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




From nagiospra at gmail.com  Mon Sep 10 09:58:46 2012
From: nagiospra at gmail.com (PRA)
Date: Mon, 10 Sep 2012 13:28:46 +0530
Subject: nagios phone call alerts
Message-ID: <504D9DB6.1040703@gmail.com>

All,

I was able to configure nagios for sms and email alerts.

Now I want to make phone call alerts (using some free PBX , asterisk).

when ever a alerts is raised to nagios along with SMS,EMAIL can  I make 
it make an outbound call and play a pre-recorded message.

How can I do it using Asterisk or Is there any other simple way to do it.

Appreciate inputs.

-PRA

------------------------------------------------------------------------------
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 at 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




From nagios at flatto.net  Mon Sep 10 10:13:52 2012
From: nagios at flatto.net (Assaf Flatto)
Date: Mon, 10 Sep 2012 09:13:52 +0100
Subject: nagios phone call alerts
In-Reply-To: <504D9DB6.1040703@gmail.com>
References: <504D9DB6.1040703@gmail.com>
Message-ID: <504DA140.5010909@flatto.net>

On 10/09/12 08:58, PRA wrote:
> All,
>
> I was able to configure nagios for sms and email alerts.
>
> Now I want to make phone call alerts (using some free PBX , asterisk).
>
> when ever a alerts is raised to nagios along with SMS,EMAIL can  I make
> it make an outbound call and play a pre-recorded message.
>
> How can I do it using Asterisk or Is there any other simple way to do it.
>
> Appreciate inputs.
>
> -PRA
>
> ------------------------------------------------------------------------------
> 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 at 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
look in exchange.nagios.com , there is a plugin called nag2aster , or 
just search for asterisk , it will be in the list .

------------------------------------------------------------------------------
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 at 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




From support at voipbusiness.us  Mon Sep 10 16:41:27 2012
From: support at voipbusiness.us (Tech Support)
Date: Mon, 10 Sep 2012 10:41:27 -0400
Subject: nagios phone call alerts
In-Reply-To: <504D9DB6.1040703@gmail.com>
References: <504D9DB6.1040703@gmail.com>
Message-ID: <002201cd8f62$5bf17450$13d45cf0$@us>

Hello;
    We do Asterisk integration here, that's all we do. What you want to do
is very, very simple with Asterisk. The easiest way to originate a phone
call and play a pre-recorded message would be to create a small ".call" file
containing the phone number, the name of the wav file (remember that for
telephony applications, the wav file must be 8Khz, 16 bit mono or all you
will hear is silence), and the dial plan context that Asterisk should jump
to once the call is answered. You will also need to make sure that the file
permissions on the call file are correct. Make the call file the same
owner/group as the directory /var/spool/asterisk/outgoing. Take the file and
drop it into the outgoing directory and you should be good to go. If you
have any questions, here is a good resource: 
http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out
Regards;
John

-----Original Message-----
From: PRA [mailto:nagiospra at gmail.com] 
Sent: Monday, September 10, 2012 3:59 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] nagios phone call alerts

All,

I was able to configure nagios for sms and email alerts.

Now I want to make phone call alerts (using some free PBX , asterisk).

when ever a alerts is raised to nagios along with SMS,EMAIL can  I make it
make an outbound call and play a pre-recorded message.

How can I do it using Asterisk or Is there any other simple way to do it.

Appreciate inputs.

-PRA

----------------------------------------------------------------------------
--
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 at 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


------------------------------------------------------------------------------
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 at 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




From m.borsani at it.net  Tue Sep 11 17:01:18 2012
From: m.borsani at it.net (Marco Borsani)
Date: Tue, 11 Sep 2012 17:01:18 +0200
Subject: R:  configure receiving snmp traps
In-Reply-To: <504A5BEA.4040201@5dninja.net>
References: <005901cd8b3c$9225c5a0$b67150e0$@it.net>
	<504A5BEA.4040201@5dninja.net>
Message-ID: <006701cd902e$526ccd90$f74668b0$@it.net>

Hi Mike

 

Actually , I have :

-           installed snmptt (in daemon mode)

-          Configured a generic passive service in nagios

-          Run a snmptrap command from a client to test the configuration

 

 

What?s happen ?

1)      The TRAP has be sent from the client (HOST B)

2)      The TRAP has be received from Nagios server (HOST A)

3)      Nothing arrived on Nagios 

 

When I run manually submit_trap command,  Nagios show me the message on the
web gui

 

I loose something between the TRAP received and Nagios service
.what could
be ?

 

Moreover in the syslog a read many and messages like:  snmptt-sys[501]:
Unable to delete trap file #snmptt-trap-1347373658632581 from spool dir

 

Regards

Marco

 

Da: Mike Lindsey [mailto:mike-nagios at 5dninja.net] 
Inviato: venerd? 7 settembre 2012 22:41
A: Nagios Users List
Oggetto: Re: [Nagios-users] configure receiving snmp traps

 


You'll need to ensure that snmptrapd is enabled on your Nagios poller, and
the typical route from there to get snmp traps submitted into Nagios is to
install SNMPTT.

  http://snmptt.sourceforge.net/

I recommend reading the docs for these, but, a very basic snmptrapd.conf
would be:
###### snmptrapd.conf
snmpTrapdAddr  
udp:localhost,udp:YOUR_IP_HERE,tcp:YOUR_IP_HERE

authCommunity log,execute public
logOption f/var/log/snmptrapd.log
traphandle default /usr/sbin/snmptt -i /usr/local/share/snmp/snmptt.ini
######

And then in the TrapFiles section of snmptt.ini you might have:
######
[TrapFiles]
snmptt_conf_files = <
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From arnold.holzel at kpn.com  Tue Sep 11 17:35:10 2012
From: arnold.holzel at kpn.com (=?iso-8859-1?Q?H=F6lzel=2C_Arnold?=)
Date: Tue, 11 Sep 2012 17:35:10 +0200
Subject: R:  configure receiving snmp traps
In-Reply-To: <006701cd902e$526ccd90$f74668b0$@it.net>
References: <005901cd8b3c$9225c5a0$b67150e0$@it.net>
	<504A5BEA.4040201@5dninja.net> <006701cd902e$526ccd90$f74668b0$@it.net>
Message-ID: <5C3B1FF1E973554BBB7B81A652A7798601954F3708@EXCNLDCM06.europe.unity>

Hello Marco,

What is the case (uppercase or lowercase) of the system names in Nagios? I had the same problem and that was caused by the fact that all our systems in Nagios are in uppercase and snmptt sends them in lowercase to Nagios. Because Nagios is case sensitive there is a mismatch and you will not see anything in Nagios. I had to manually change something in the script to make everything uppercase (I did not wanted to reconfigure every host in Nagios).
I am not able to look up and send the exact things I changed right now but if needed I can look it up tomorrow.

Met vriendelijke groet/with kind regards,
Arnold H?lzel

From: Marco Borsani [mailto:m.borsani at it.net]
Sent: dinsdag 11 september 2012 17:01
To: 'Nagios Users List'
Subject: [Nagios-users] R: configure receiving snmp traps

Hi Mike

Actually , I have :

-           installed snmptt (in daemon mode)

-          Configured a generic passive service in nagios

-          Run a snmptrap command from a client to test the configuration


What's happen ?

1)      The TRAP has be sent from the client (HOST B)

2)      The TRAP has be received from Nagios server (HOST A)

3)      Nothing arrived on Nagios

When I run manually submit_trap command,  Nagios show me the message on the web gui

I loose something between the TRAP received and Nagios service....what could be ?

Moreover in the syslog a read many and messages like:  snmptt-sys[501]: Unable to delete trap file #snmptt-trap-1347373658632581 from spool dir

Regards
Marco

Da: Mike Lindsey [mailto:mike-nagios at 5dninja.net]
Inviato: venerd? 7 settembre 2012 22:41
A: Nagios Users List
Oggetto: Re: [Nagios-users] configure receiving snmp traps


You'll need to ensure that snmptrapd is enabled on your Nagios poller, and the typical route from there to get snmp traps submitted into Nagios is to install SNMPTT.

http://snmptt.sourceforge.net/

I recommend reading the docs for these, but, a very basic snmptrapd.conf would be:
###### snmptrapd.conf
snmpTrapdAddr udp:localhost,udp:YOUR_IP_HERE,tcp:YOUR_IP_HERE

authCommunity log,execute public
logOption f/var/log/snmptrapd.log
traphandle default /usr/sbin/snmptt -i /usr/local/share/snmp/snmptt.ini
######

And then in the TrapFiles section of snmptt.ini you might have:
######
[TrapFiles]
snmptt_conf_files = <
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From mail at christiananton.de  Tue Sep 11 21:12:25 2012
From: mail at christiananton.de (Christian Anton)
Date: Tue, 11 Sep 2012 21:12:25 +0200
Subject: notes_url and action_url configured on host group
	objects
Message-ID: 

Hi!

I am wondering about the configuration settings notes_url and actions_url which can be set at a per-hostgroup level. The documentation says, the host belonging to the host group should then show the action_url and/or notes_url as it would have been configured on the host object. This does not work the way I would expect.

Tested with one host group having notes_url set to "http://notes.url/from/host/group" and action_url set to "http://action.url/from/hostgroup" and two hosts. One of the hosts (testhost01) had action_url set to http://action.url/from/host/object" and notes_url set to "http://notes.url/from/host/object", the other host object (testhost02) doesn't have notes_url and action_url set. 

With the test scenario above, when I look at testhost01 in extinfo.cgi, I see this host having notes_url set to http://notes.url/from/host/object and action_url set to http://action.url/from/host/object, which is the expected behavior. 

Looking at the object testhost02 in extinfo shows me NO action_url nor a notes_url set for this host. I would have expected to inherit these settings from the host group.


Am I gettings something completely wrong? What is notes_url and action_url at a host group level for then, if not for inheriting these parameters to the contained host objects?


Thanks a lot for any clarification.


Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6180 bytes
Desc: S/MIME Cryptographic Signature
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From GJFRATER at bechtel.com  Tue Sep 11 23:37:23 2012
From: GJFRATER at bechtel.com (Frater, Greg J)
Date: Tue, 11 Sep 2012 14:37:23 -0700
Subject: sms notifications
In-Reply-To: <002b01cce156$17d3df20$477b9d60$@iname.com>
References: <00cb01cce0f2$c5227920$4f676b60$@it.net>
	<002b01cce156$17d3df20$477b9d60$@iname.com>
Message-ID: <872CB0AEB377C240A112DD7C10B25929108B0BCB@wtps0171.amers.ibechtel.com>

Hi Frank, 

 

We just bought the MultiTech MultiModem iCell and need to interface it
to Nagios.  Care to share what your using (home grown script, SMS
gateways, etc.) to send alerts from Nagios through your iSMS?

 

Thanks,

 

-greg

 

From: Frank Bulk [mailto:frnkblk at iname.com] 
Sent: Wednesday, February 01, 2012 6:55 PM
To: NAGIOS
Subject: Re: [Nagios-users] sms notifications

 

We use the MultiTech MultiModem iSMS - works great.

 

Frank

 

From: Marco Borsani [mailto:m.borsani at it.net] 
Sent: Wednesday, February 01, 2012 9:04 AM
To: NAGIOS
Subject: [Nagios-users] sms notifications

 

Hi all

 

To send sms notifications, I am using since 2003 a couple of radiomodem,
connected via serial to my server and smstools SW.

 

Now, I need something "stronger" compared that configuration because for
specific checks I have to send many and many sms at the same time.

 

What can I use ?

 

Regards

Marco

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From m.borsani at it.net  Wed Sep 12 11:20:21 2012
From: m.borsani at it.net (Marco Borsani)
Date: Wed, 12 Sep 2012 11:20:21 +0200
Subject: R:  R:  configure receiving snmp traps
In-Reply-To: <5C3B1FF1E973554BBB7B81A652A7798601954F3708@EXCNLDCM06.europe.unity>
References: <005901cd8b3c$9225c5a0$b67150e0$@it.net>	<504A5BEA.4040201@5dninja.net>
	<006701cd902e$526ccd90$f74668b0$@it.net>
	<5C3B1FF1E973554BBB7B81A652A7798601954F3708@EXCNLDCM06.europe.unity>
Message-ID: <006501cd90c7$db3815f0$91a841d0$@it.net>

Hi

Yes, I supposed this could be the problem.

 

1)      I am sending trap from a client as:

snmptrap -v 1 -c public   1.2.3.4  3 0 ''

 

2)      Snmptrapd on Nagios receive the trap:

2012-09-12 11:08:23  [CLIENT IP] (via
UDP: [CLIENT IP]:52203->[NAGIOS IP]) TRAP, SNMP v1, community public
iso.2.3.4 Link Up Trap (0) Uptime: 36 days, 19:43:55.96

 

3)      A script like ?submit_trap? pass it to Nagios

 

4)      Nagios log file:

[1347440926] Warning:  Passive check result was received for service
'TRAP_service' on host , but the host could not be
found!

 

In my configuration is not a ?simple? problem of uppercase/lowercase, but I
need to pass exactly the hostnames I need 
 Before sending the trap or
change them as soon as the trap arrived??

 

 

Any idea?

Marco

 

 

 

Da: H?lzel, Arnold [mailto:arnold.holzel at kpn.com] 
Inviato: marted? 11 settembre 2012 17:35
A: Nagios Users List
Oggetto: Re: [Nagios-users] R: configure receiving snmp traps

 

Hello Marco,

 

What is the case (uppercase or lowercase) of the system names in Nagios? I
had the same problem and that was caused by the fact that all our systems in
Nagios are in uppercase and snmptt sends them in lowercase to Nagios.
Because Nagios is case sensitive there is a mismatch and you will not see
anything in Nagios. I had to manually change something in the script to make
everything uppercase (I did not wanted to reconfigure every host in Nagios).


I am not able to look up and send the exact things I changed right now but
if needed I can look it up tomorrow.

 

Met vriendelijke groet/with kind regards, 

Arnold H?lzel

 

From: Marco Borsani [mailto:m.borsani at it.net] 
Sent: dinsdag 11 september 2012 17:01
To: 'Nagios Users List'
Subject: [Nagios-users] R: configure receiving snmp traps

 

Hi Mike

 

Actually , I have :

-           installed snmptt (in daemon mode)

-          Configured a generic passive service in nagios

-          Run a snmptrap command from a client to test the configuration

 

 

What?s happen ?

1)      The TRAP has be sent from the client (HOST B)

2)      The TRAP has be received from Nagios server (HOST A)

3)      Nothing arrived on Nagios 

 

When I run manually submit_trap command,  Nagios show me the message on the
web gui

 

I loose something between the TRAP received and Nagios service
.what could
be ?

 

Moreover in the syslog a read many and messages like:  snmptt-sys[501]:
Unable to delete trap file #snmptt-trap-1347373658632581 from spool dir

 

Regards

Marco

 

Da: Mike Lindsey [mailto:mike-nagios at 5dninja.net] 
Inviato: venerd? 7 settembre 2012 22:41
A: Nagios Users List
Oggetto: Re: [Nagios-users] configure receiving snmp traps

 


You'll need to ensure that snmptrapd is enabled on your Nagios poller, and
the typical route from there to get snmp traps submitted into Nagios is to
install SNMPTT.

  http://snmptt.sourceforge.net/

I recommend reading the docs for these, but, a very basic snmptrapd.conf
would be:
###### snmptrapd.conf
snmpTrapdAddr  
udp:localhost,udp:YOUR_IP_HERE,tcp:YOUR_IP_HERE

authCommunity log,execute public
logOption f/var/log/snmptrapd.log
traphandle default /usr/sbin/snmptt -i /usr/local/share/snmp/snmptt.ini
######

And then in the TrapFiles section of snmptt.ini you might have:
######
[TrapFiles]
snmptt_conf_files = <
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From arnold.holzel at kpn.com  Wed Sep 12 11:46:47 2012
From: arnold.holzel at kpn.com (=?iso-8859-1?Q?H=F6lzel=2C_Arnold?=)
Date: Wed, 12 Sep 2012 11:46:47 +0200
Subject: R:  R:  configure receiving snmp traps
In-Reply-To: <006501cd90c7$db3815f0$91a841d0$@it.net>
References: <005901cd8b3c$9225c5a0$b67150e0$@it.net>
	<504A5BEA.4040201@5dninja.net>	<006701cd902e$526ccd90$f74668b0$@it.net>
	<5C3B1FF1E973554BBB7B81A652A7798601954F3708@EXCNLDCM06.europe.unity>
	<006501cd90c7$db3815f0$91a841d0$@it.net>
Message-ID: <5C3B1FF1E973554BBB7B81A652A7798601954F3AE4@EXCNLDCM06.europe.unity>

Hello Marco,

You can check your snmptt.ini file (/etc/snmp/snmptt.ini) there you can configure SNMPTT to strip the domain names. See the "dns_enable", "strip_domain" and the "stip_domain_list" options, maybe that is the problem?


-          Our systems send their SNMP messages to our monitoring server

-          the monitoring server does a DNS lookup, strips the domain name and sends the data to a "submit_trap" script

-          the "submit_trap" script converts the hostname to uppercase and send the data to Nagios.

Hope it helps

Met vriendelijke groet/with kind regards,
Arnold H?lzel

From: Marco Borsani [mailto:m.borsani at it.net]
Sent: woensdag 12 september 2012 11:20
To: 'Nagios Users List'
Subject: [Nagios-users] R: R: configure receiving snmp traps

Hi
Yes, I supposed this could be the problem.


1)      I am sending trap from a client as:
snmptrap -v 1 -c public   1.2.3.4  3 0 ''


2)      Snmptrapd on Nagios receive the trap:
2012-09-12 11:08:23  [CLIENT IP] (via UDP: [CLIENT IP]:52203->[NAGIOS IP]) TRAP, SNMP v1, community public  iso.2.3.4 Link Up Trap (0) Uptime: 36 days, 19:43:55.96


3)      A script like "submit_trap" pass it to Nagios



4)      Nagios log file:
[1347440926] Warning:  Passive check result was received for service 'TRAP_service' on host , but the host could not be found!

In my configuration is not a "simple" problem of uppercase/lowercase, but I need to pass exactly the hostnames I need ... Before sending the trap or change them as soon as the trap arrived??


Any idea?
Marco



Da: H?lzel, Arnold [mailto:arnold.holzel at kpn.com]
Inviato: marted? 11 settembre 2012 17:35
A: Nagios Users List
Oggetto: Re: [Nagios-users] R: configure receiving snmp traps

Hello Marco,

What is the case (uppercase or lowercase) of the system names in Nagios? I had the same problem and that was caused by the fact that all our systems in Nagios are in uppercase and snmptt sends them in lowercase to Nagios. Because Nagios is case sensitive there is a mismatch and you will not see anything in Nagios. I had to manually change something in the script to make everything uppercase (I did not wanted to reconfigure every host in Nagios).
I am not able to look up and send the exact things I changed right now but if needed I can look it up tomorrow.

Met vriendelijke groet/with kind regards,
Arnold H?lzel

From: Marco Borsani [mailto:m.borsani at it.net]
Sent: dinsdag 11 september 2012 17:01
To: 'Nagios Users List'
Subject: [Nagios-users] R: configure receiving snmp traps

Hi Mike

Actually , I have :

-           installed snmptt (in daemon mode)

-          Configured a generic passive service in nagios

-          Run a snmptrap command from a client to test the configuration


What's happen ?

1)      The TRAP has be sent from the client (HOST B)

2)      The TRAP has be received from Nagios server (HOST A)

3)      Nothing arrived on Nagios

When I run manually submit_trap command,  Nagios show me the message on the web gui

I loose something between the TRAP received and Nagios service....what could be ?

Moreover in the syslog a read many and messages like:  snmptt-sys[501]: Unable to delete trap file #snmptt-trap-1347373658632581 from spool dir

Regards
Marco

Da: Mike Lindsey [mailto:mike-nagios at 5dninja.net]
Inviato: venerd? 7 settembre 2012 22:41
A: Nagios Users List
Oggetto: Re: [Nagios-users] configure receiving snmp traps


You'll need to ensure that snmptrapd is enabled on your Nagios poller, and the typical route from there to get snmp traps submitted into Nagios is to install SNMPTT.

http://snmptt.sourceforge.net/

I recommend reading the docs for these, but, a very basic snmptrapd.conf would be:
###### snmptrapd.conf
snmpTrapdAddr udp:localhost,udp:YOUR_IP_HERE,tcp:YOUR_IP_HERE

authCommunity log,execute public
logOption f/var/log/snmptrapd.log
traphandle default /usr/sbin/snmptt -i /usr/local/share/snmp/snmptt.ini
######

And then in the TrapFiles section of snmptt.ini you might have:
######
[TrapFiles]
snmptt_conf_files = <
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From m.borsani at it.net  Wed Sep 12 14:34:20 2012
From: m.borsani at it.net (Marco Borsani)
Date: Wed, 12 Sep 2012 14:34:20 +0200
Subject: R:  R:  R:  configure receiving snmp traps
In-Reply-To: <5C3B1FF1E973554BBB7B81A652A7798601954F3AE4@EXCNLDCM06.europe.unity>
References: <005901cd8b3c$9225c5a0$b67150e0$@it.net>	<504A5BEA.4040201@5dninja.net>	<006701cd902e$526ccd90$f74668b0$@it.net>	<5C3B1FF1E973554BBB7B81A652A7798601954F3708@EXCNLDCM06.europe.unity>	<006501cd90c7$db3815f0$91a841d0$@it.net>
	<5C3B1FF1E973554BBB7B81A652A7798601954F3AE4@EXCNLDCM06.europe.unity>
Message-ID: <009d01cd90e2$f4918ac0$ddb4a040$@it.net>

Hello

 

I have already change ?dns_enable? (is set to 0) and ?strip_domain? (I test
all the possibilities).

 

The problem is that in nagios, all the hosts are known as :


We use this annotation since 2004 !

 

Any idea usefull to solve the problem?

Perhaps any OPTION in the snmptrap command (from client) ?

 

Marco

 

Da: H?lzel, Arnold [mailto:arnold.holzel at kpn.com] 
Inviato: mercoled? 12 settembre 2012 11:47
A: Nagios Users List
Oggetto: Re: [Nagios-users] R: R: configure receiving snmp traps

 

Hello Marco,

 

You can check your snmptt.ini file (/etc/snmp/snmptt.ini) there you can
configure SNMPTT to strip the domain names. See the ?dns_enable?,
?strip_domain? and the ?stip_domain_list? options, maybe that is the
problem?

 

-          Our systems send their SNMP messages to our monitoring server

-          the monitoring server does a DNS lookup, strips the domain name
and sends the data to a ?submit_trap? script

-          the ?submit_trap? script converts the hostname to uppercase and
send the data to Nagios.

 

Hope it helps

 

Met vriendelijke groet/with kind regards, 

Arnold H?lzel

 

From: Marco Borsani [mailto:m.borsani at it.net] 
Sent: woensdag 12 september 2012 11:20
To: 'Nagios Users List'
Subject: [Nagios-users] R: R: configure receiving snmp traps

 

Hi

Yes, I supposed this could be the problem.

 

1)      I am sending trap from a client as:

snmptrap -v 1 -c public   1.2.3.4  3 0 ''

 

2)      Snmptrapd on Nagios receive the trap:

2012-09-12 11:08:23  [CLIENT IP] (via
UDP: [CLIENT IP]:52203->[NAGIOS IP]) TRAP, SNMP v1, community public
iso.2.3.4 Link Up Trap (0) Uptime: 36 days, 19:43:55.96

 

3)      A script like ?submit_trap? pass it to Nagios

 

4)      Nagios log file:

[1347440926] Warning:  Passive check result was received for service
'TRAP_service' on host , but the host could not be
found!

 

In my configuration is not a ?simple? problem of uppercase/lowercase, but I
need to pass exactly the hostnames I need 
 Before sending the trap or
change them as soon as the trap arrived??

 

 

Any idea?

Marco

 

 

 

Da: H?lzel, Arnold [mailto:arnold.holzel at kpn.com] 
Inviato: marted? 11 settembre 2012 17:35
A: Nagios Users List
Oggetto: Re: [Nagios-users] R: configure receiving snmp traps

 

Hello Marco,

 

What is the case (uppercase or lowercase) of the system names in Nagios? I
had the same problem and that was caused by the fact that all our systems in
Nagios are in uppercase and snmptt sends them in lowercase to Nagios.
Because Nagios is case sensitive there is a mismatch and you will not see
anything in Nagios. I had to manually change something in the script to make
everything uppercase (I did not wanted to reconfigure every host in Nagios).


I am not able to look up and send the exact things I changed right now but
if needed I can look it up tomorrow.

 

Met vriendelijke groet/with kind regards, 

Arnold H?lzel

 

From: Marco Borsani [mailto:m.borsani at it.net] 
Sent: dinsdag 11 september 2012 17:01
To: 'Nagios Users List'
Subject: [Nagios-users] R: configure receiving snmp traps

 

Hi Mike

 

Actually , I have :

-           installed snmptt (in daemon mode)

-          Configured a generic passive service in nagios

-          Run a snmptrap command from a client to test the configuration

 

 

What?s happen ?

1)      The TRAP has be sent from the client (HOST B)

2)      The TRAP has be received from Nagios server (HOST A)

3)      Nothing arrived on Nagios 

 

When I run manually submit_trap command,  Nagios show me the message on the
web gui

 

I loose something between the TRAP received and Nagios service
.what could
be ?

 

Moreover in the syslog a read many and messages like:  snmptt-sys[501]:
Unable to delete trap file #snmptt-trap-1347373658632581 from spool dir

 

Regards

Marco

 

Da: Mike Lindsey [mailto:mike-nagios at 5dninja.net] 
Inviato: venerd? 7 settembre 2012 22:41
A: Nagios Users List
Oggetto: Re: [Nagios-users] configure receiving snmp traps

 


You'll need to ensure that snmptrapd is enabled on your Nagios poller, and
the typical route from there to get snmp traps submitted into Nagios is to
install SNMPTT.

  http://snmptt.sourceforge.net/

I recommend reading the docs for these, but, a very basic snmptrapd.conf
would be:
###### snmptrapd.conf
snmpTrapdAddr  
udp:localhost,udp:YOUR_IP_HERE,tcp:YOUR_IP_HERE

authCommunity log,execute public
logOption f/var/log/snmptrapd.log
traphandle default /usr/sbin/snmptt -i /usr/local/share/snmp/snmptt.ini
######

And then in the TrapFiles section of snmptt.ini you might have:
######
[TrapFiles]
snmptt_conf_files = <
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From zarrelli at linux.it  Wed Sep 12 15:06:02 2012
From: zarrelli at linux.it (Giorgio Zarrelli)
Date: Wed, 12 Sep 2012 15:06:02 +0200
Subject: R:  R:  R:  configure receiving snmp traps
In-Reply-To: <009d01cd90e2$f4918ac0$ddb4a040$@it.net>
References: <005901cd8b3c$9225c5a0$b67150e0$@it.net>
	<504A5BEA.4040201@5dninja.net>
	<006701cd902e$526ccd90$f74668b0$@it.net>
	<5C3B1FF1E973554BBB7B81A652A7798601954F3708@EXCNLDCM06.europe.unity>
	<006501cd90c7$db3815f0$91a841d0$@it.net>
	<5C3B1FF1E973554BBB7B81A652A7798601954F3AE4@EXCNLDCM06.europe.unity>
	<009d01cd90e2$f4918ac0$ddb4a040$@it.net>
Message-ID: <6016B0BC-6E19-4E7A-92F6-43362EF8798B@linux.it>

Use The "hosts" file for static name - ip mappings

Ciao,

Giorgio

Il giorno 12/set/2012, alle ore 14:34, "Marco Borsani"  ha scritto:

> Hello
>  
> I have already change ?dns_enable? (is set to 0) and ?strip_domain? (I test all the possibilities).
>  
> The problem is that in nagios, all the hosts are known as : 
> We use this annotation since 2004 !
>  
> Any idea usefull to solve the problem?
> Perhaps any OPTION in the snmptrap command (from client) ?
>  
> Marco
>  
> Da: H?lzel, Arnold [mailto:arnold.holzel at kpn.com] 
> Inviato: mercoled? 12 settembre 2012 11:47
> A: Nagios Users List
> Oggetto: Re: [Nagios-users] R: R: configure receiving snmp traps
>  
> Hello Marco,
>  
> You can check your snmptt.ini file (/etc/snmp/snmptt.ini) there you can configure SNMPTT to strip the domain names. See the ?dns_enable?, ?strip_domain? and the ?stip_domain_list? options, maybe that is the problem?
>  
> -          Our systems send their SNMP messages to our monitoring server
> -          the monitoring server does a DNS lookup, strips the domain name and sends the data to a ?submit_trap? script
> -          the ?submit_trap? script converts the hostname to uppercase and send the data to Nagios.
>  
> Hope it helps
>  
> Met vriendelijke groet/with kind regards,
> Arnold H?lzel
>  
> From: Marco Borsani [mailto:m.borsani at it.net] 
> Sent: woensdag 12 september 2012 11:20
> To: 'Nagios Users List'
> Subject: [Nagios-users] R: R: configure receiving snmp traps
>  
> Hi
> Yes, I supposed this could be the problem.
>  
> 1)      I am sending trap from a client as:
> snmptrap -v 1 -c public   1.2.3.4  3 0 ''
>  
> 2)      Snmptrapd on Nagios receive the trap:
> 2012-09-12 11:08:23  [CLIENT IP] (via UDP: [CLIENT IP]:52203->[NAGIOS IP]) TRAP, SNMP v1, community public  iso.2.3.4 Link Up Trap (0) Uptime: 36 days, 19:43:55.96
>  
> 3)      A script like ?submit_trap? pass it to Nagios
>  
> 4)      Nagios log file:
> [1347440926] Warning:  Passive check result was received for service 'TRAP_service' on host , but the host could not be found!
>  
> In my configuration is not a ?simple? problem of uppercase/lowercase, but I need to pass exactly the hostnames I need ? Before sending the trap or change them as soon as the trap arrived??
>  
>  
> Any idea?
> Marco
>  
>  
>  
> Da: H?lzel, Arnold [mailto:arnold.holzel at kpn.com] 
> Inviato: marted? 11 settembre 2012 17:35
> A: Nagios Users List
> Oggetto: Re: [Nagios-users] R: configure receiving snmp traps
>  
> Hello Marco,
>  
> What is the case (uppercase or lowercase) of the system names in Nagios? I had the same problem and that was caused by the fact that all our systems in Nagios are in uppercase and snmptt sends them in lowercase to Nagios. Because Nagios is case sensitive there is a mismatch and you will not see anything in Nagios. I had to manually change something in the script to make everything uppercase (I did not wanted to reconfigure every host in Nagios).
> I am not able to look up and send the exact things I changed right now but if needed I can look it up tomorrow.
>  
> Met vriendelijke groet/with kind regards,
> Arnold H?lzel
>  
> From: Marco Borsani [mailto:m.borsani at it.net] 
> Sent: dinsdag 11 september 2012 17:01
> To: 'Nagios Users List'
> Subject: [Nagios-users] R: configure receiving snmp traps
>  
> Hi Mike
>  
> Actually , I have :
> -           installed snmptt (in daemon mode)
> -          Configured a generic passive service in nagios
> -          Run a snmptrap command from a client to test the configuration
>  
>  
> What?s happen ?
> 1)      The TRAP has be sent from the client (HOST B)
> 2)      The TRAP has be received from Nagios server (HOST A)
> 3)      Nothing arrived on Nagios
>  
> When I run manually submit_trap command,  Nagios show me the message on the web gui
>  
> I loose something between the TRAP received and Nagios service?.what could be ?
>  
> Moreover in the syslog a read many and messages like:  snmptt-sys[501]: Unable to delete trap file #snmptt-trap-1347373658632581 from spool dir
>  
> Regards
> Marco
>  
> Da: Mike Lindsey [mailto:mike-nagios at 5dninja.net] 
> Inviato: venerd? 7 settembre 2012 22:41
> A: Nagios Users List
> Oggetto: Re: [Nagios-users] configure receiving snmp traps
>  
> 
> You'll need to ensure that snmptrapd is enabled on your Nagios poller, and the typical route from there to get snmp traps submitted into Nagios is to install SNMPTT.
> 
> http://snmptt.sourceforge.net/
> 
> I recommend reading the docs for these, but, a very basic snmptrapd.conf would be:
> ###### snmptrapd.conf
> snmpTrapdAddr udp:localhost,udp:YOUR_IP_HERE,tcp:YOUR_IP_HERE
> 
> authCommunity log,execute public
> logOption f/var/log/snmptrapd.log
> traphandle default /usr/sbin/snmptt -i /usr/local/share/snmp/snmptt.ini
> ######
> 
> And then in the TrapFiles section of snmptt.ini you might have:
> ######
> [TrapFiles]
> snmptt_conf_files = < /usr/local/share/snmp/snmptt/asyncos.conf
> END
> ######
> 
> In the included config file you map trap oids to script executions, like so:
> ###### asyncos.conf
> # snmptt.conf file for AsyncOS traps.
> # 
> # All of these are stateless so the handler script needs to set and clear the service.
> # The service entry must have 0 retries set and be volatile.
> # 
> # .1.3.6.1.4.1.15497
> #
> 
> # powerSupplyStatusChange
> # Status: .1.3.6.1.4.1.15497.1.1.1.8.1.2
> EVENT powerSupplyStatusChange .1.3.6.1.4.1.15497.1.1.2.0.2 "asyncos" Critical
> FORMAT $N trap from $r
> EXEC /usr/local/nagios/customplugins/submit_trap $r AsyncOS-Trap_Alert $s 0 "$N: $*"
> #
> #####
> 
> Your submit_trap script takes that, and hands it off to Nagios.  You can submit through NSCA, or you can create a result file in the checkresult directory, or you can submit through the external command pipe.
> 
> I do it through NSCA:
> ##### submit_trap
> #!/usr/local/bin/bash
> 
> PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/nagios/customplugins:/usr/local/nagios/bin
> CONFIG=/usr/local/nagios/etc/send_nsca.cfg
> NSCA=`hostname`
> 
> HOST=$1
> SERVICE=$2
> STATUS=$3
> STATEFUL=$4
> MESSAGE=$5
> case $STATUS in
> "Critical")
>     CODE=2
>     ;;
> "Warning")
>     CODE=1
>     ;;
> "Normal")
>     CODE=0
>     ;;
> *)
>     CODE=3
>     ;;
> esac
> 
> printf "%s\t%s\t%s\t%s\n" "$HOST" "$SERVICE" $CODE "$MESSAGE" | send_nsca -H $NSCA -c $CONFIG
> if [[ "$STATEFUL" == "0" ]] && [[ "$STATUS" != "0" ]]
> then
>     # Clear Nagios via delayed at now that the volatile ticket's gone through.
>     echo "/usr/local/nagios/customplugins/clear.sh $HOST \"$SERVICE\" \"$MESSAGE\"" | at now + 15 minutes
> 
> fi
> #####
> 
> ...  and clear.sh for clearing stateless alerts.
> 
> #####
> #!/usr/local/bin/bash
> 
> PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/nagios/bin:/usr/local/ironport/nagios/bin
> HOST=$1
> SVC=$2
> OUT=$3
> 
> if [[ "$HOST" == "" ]] || [[ "$SVC" == "" ]]
> then
>     echo "Need host, service, optional message."
>     exit 3
> fi
> 
> # Clear it
> printf "%b" "$HOST\t$SVC\t0\tWas:$OUT\n" | send_nsca -H `hostname` -c /usr/local/nagios/etc/send_nsca.cfg
> 
> fi
> #####
> 
> If you're using the auto-clear bits, your Nagios user will need to be able to add items to the at queue, you'll need to look at your distribution's documentation on how that's managed.  This is just one way of getting snmp traps working.  Unfortunately none of them that I know of overly straightforward.
> 
> Even if this doesn't work for you, it should give enough of an insight so that you've got a better idea on what to google for.  Good luck.
> 
> -- 
> Mike Lindsey
> ------------------------------------------------------------------------------
> 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From wolf.halton at gmail.com  Wed Sep 12 16:09:12 2012
From: wolf.halton at gmail.com (Wolf Halton)
Date: Wed, 12 Sep 2012 10:09:12 -0400
Subject: Current-load plugin gives odd output
Message-ID: 

I have Nagios 3.3.1, and current load trips critical on some machines
all the time, however the load numbers do not look very high.

This is the service definition I use for all machines, and it works on
about 3/4ths of them:

    define service{
        use                             local-service
        host_name                       TEMPLATE-HOSTNAME
        service_description             Current Load
        check_command
check_by_ssh!22!/usr/local/nagios/libexec/check_load!5.0,4.0,3.0!10.0,6.0,4.0
        notifications_enabled           1
        max_check_attempts              3
        check_interval                  5
        retry_interval                  3
        check_period                    24x7
        notification_interval           15
        notification_period             24x7
        notification_options            w,c,r
        contact_groups                  admins
        register                        1
        }

On remote machines, I install the nagios plugins tarball, but not the
nagios tarball.  As I say this works on 3/4 of the machines, and
doesn't always fail on the machines it traditionally fails on.

Example output to the front-end:
 	
Current Load 	
Notifications for this service have been disabled
	CRITICAL 	09-12-2012 09:57:03 	4d 23h 42m 14s 	3/3 	CRITICAL - load
average: 0.00, 0.01, 0.05

The /usr/local/nagios folder on the remote machines is chown -R  nagios:nagios

Other check_by_ssh plugins are working on the machines where this one
is failing.

It is a mystery.

-- 
Wolf Halton

This Apt Has Super Cow Powers - http://sourcefreedom.com
Open-Source Software in Libraries - http://FOSS4Lib.org
Advancing Libraries Together - http://LYRASIS.org
Apache Open Office Developer wolfhalton at apache.org

------------------------------------------------------------------------------
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 at 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




From fpicabia at gmail.com  Wed Sep 12 19:03:16 2012
From: fpicabia at gmail.com (francis picabia)
Date: Wed, 12 Sep 2012 14:03:16 -0300
Subject: False alerts on http service
In-Reply-To: 
References: 
Message-ID: 

We have used nagios successfully for many years and never seen
a case like this.  I cannot get nagios sevice to see the remote
http service is up, although the check command indicates it is up
and the remote apache log shows nagios visited with no error.

The site to monitor runs webwork, a math quiz system.  I have it
set to redirect / to /webwork and also redirect insecure to https.

At first I did a plain check_http.

I switched to -S option and added -u with the full URL to avoid hitting
the redirects, so I can get a clean code 200 returned, in case that
was muddling things.  No difference.

When I look at the apache log, I can see the visits from nagios,
For the early morning visits, there is no one
using the system, so it can't be unresponsive.

Here is my check command:


# 'check_www_ssl' command definition
define command{
        command_name    check_www_ssl
        command_line    $USER1$/check_http -S -I $HOSTADDRESS$ -f
follow -w 5 -c 20 -t 60 -u $ARG1$
        }

Here is my service:


define service{
        use                             generic-service
        host_name                       webwork
        is_volatile                     0
        service_description             Webwork Web Service
        check_command
check_www_ssl!'https://webwork.example.com/webwork/'
        check_period                    24x7
        contact_groups                  unix-admins
        max_check_attempts              3
        normal_check_interval           3
        retry_check_interval            1
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        }

Of course I have changed the actual domain to example.com in the above.

The alert report:

***** Nagios 3.2 *****

Notification Type: PROBLEM
Host: webwork
State: DOWN
Address: 131.162.201.91
Info: Server answer:

Date/Time: Wed Sept 12 06:59:04 ADT 2012


Here is a sample visit from nagios in the webwork apache log file
before this time.

XXX.YYY.2.50 - - [12/Sep/2012:06:58:50 -0300] "GET
https://webwork.acadiau.ca/webwork/ HTTP/1.0" 200 5015 "-"
"check_http/v1.4.14 (nagios-plugins 1.4.14)"

Our apache logs show nagios is visiting every 3 minutes, 24 hours a day.  None
of these visits results in an error.

In a nagios log, this is all that appears for webwork for the day:

# grep webwork nagios-09-11-2012-00.log
[1347246000] CURRENT HOST STATE: webwork;DOWN;HARD;1;Server answer:
[1347246000] CURRENT SERVICE STATE: webwork;Webwork Web
Service;OK;HARD;1;HTTP OK: HTTP/1.1 200 OK - 4053 bytes in 0.274
second response time
[1347270994] HOST NOTIFICATION:
david;webwork;DOWN;host-notify-by-email;Server answer:
[1347270994] HOST NOTIFICATION:
bob;webwork;DOWN;host-notify-by-email;Server answer:
[1347270994] HOST NOTIFICATION:
winston;webwork;DOWN;host-notify-by-email;Server answer:
[1347270994] HOST NOTIFICATION:
larry;webwork;DOWN;host-notify-by-email;Server answer:
[1347299794] HOST NOTIFICATION:
david;webwork;DOWN;host-notify-by-email;Server answer:
[1347299794] HOST NOTIFICATION:
bob;webwork;DOWN;host-notify-by-email;Server answer:
[1347299794] HOST NOTIFICATION:
winston;webwork;DOWN;host-notify-by-email;Server answer:
[1347299794] HOST NOTIFICATION:
larry;webwork;DOWN;host-notify-by-email;Server answer:
[1347328594] HOST NOTIFICATION:
david;webwork;DOWN;host-notify-by-email;Server answer:
[1347328595] HOST NOTIFICATION:
bob;webwork;DOWN;host-notify-by-email;Server answer:
[1347328595] HOST NOTIFICATION:
winston;webwork;DOWN;host-notify-by-email;Server answer:
[1347328595] HOST NOTIFICATION:
larry;webwork;DOWN;host-notify-by-email;Server answer:

If I do the check_http manually, I seem to get through fine:

# /usr/lib/nagios3.2/libexec/check_http 0-S -I webwork -f follow -w5
-c 20 -t 60 -u https://webwork.example.com/webwork
HTTP OK: HTTP/1.1 200 OK - 5162 bytes in 0.025 second response time
|time=0.024700s;5.000000;20.000000;0.000000 size=5162B;;;0

Can anyone spot a reason why this alert is not set up properly or
there is a better way to do it?

------------------------------------------------------------------------------
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 at 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




From ae at op5.se  Wed Sep 12 20:05:01 2012
From: ae at op5.se (Andreas Ericsson)
Date: Wed, 12 Sep 2012 20:05:01 +0200
Subject: False alerts on http service
In-Reply-To: 
References: 
	
Message-ID: <5050CECD.9070006@op5.se>

On 09/12/2012 07:03 PM, francis picabia wrote:
> We have used nagios successfully for many years and never seen
> a case like this.  I cannot get nagios sevice to see the remote
> http service is up, although the check command indicates it is up
> and the remote apache log shows nagios visited with no error.
> 
> The site to monitor runs webwork, a math quiz system.  I have it
> set to redirect / to /webwork and also redirect insecure to https.
> 
> At first I did a plain check_http.
> 
> I switched to -S option and added -u with the full URL to avoid hitting
> the redirects, so I can get a clean code 200 returned, in case that
> was muddling things.  No difference.
> 
> When I look at the apache log, I can see the visits from nagios,
> For the early morning visits, there is no one
> using the system, so it can't be unresponsive.
> 
> Here is my check command:
> 
> 
> # 'check_www_ssl' command definition
> define command{
>          command_name    check_www_ssl
>          command_line    $USER1$/check_http -S -I $HOSTADDRESS$ -f
> follow -w 5 -c 20 -t 60 -u $ARG1$
>          }
> 
> Here is my service:
> 
> 
> define service{
>          use                             generic-service
>          host_name                       webwork
>          is_volatile                     0
>          service_description             Webwork Web Service
>          check_command
> check_www_ssl!'https://webwork.example.com/webwork/'
>          check_period                    24x7
>          contact_groups                  unix-admins
>          max_check_attempts              3
>          normal_check_interval           3
>          retry_check_interval            1
>          notification_interval           120
>          notification_period             24x7
>          notification_options            w,u,c,r
>          }
> 

This is the service definition (will be relevant later)...

> Of course I have changed the actual domain to example.com in the above.
> 

But you forgot to change it in the apache log ;)

> The alert report:
> 
> ***** Nagios 3.2 *****
> 
> Notification Type: PROBLEM
> Host: webwork
> State: DOWN
> Address: 131.162.201.91
> Info: Server answer:
> 
> Date/Time: Wed Sept 12 06:59:04 ADT 2012
> 
> 
> Here is a sample visit from nagios in the webwork apache log file
> before this time.
> 
> XXX.YYY.2.50 - - [12/Sep/2012:06:58:50 -0300] "GET
> https://webwork.acadiau.ca/webwork/ HTTP/1.0" 200 5015 "-"
> "check_http/v1.4.14 (nagios-plugins 1.4.14)"
> 
> Our apache logs show nagios is visiting every 3 minutes, 24 hours a day.  None
> of these visits results in an error.
> 
> In a nagios log, this is all that appears for webwork for the day:
> 
> # grep webwork nagios-09-11-2012-00.log
> [1347246000] CURRENT HOST STATE: webwork;DOWN;HARD;1;Server answer:
> [1347246000] CURRENT SERVICE STATE: webwork;Webwork Web
> Service;OK;HARD;1;HTTP OK: HTTP/1.1 200 OK - 4053 bytes in 0.274
> second response time

So according to these two, the service (which you're saying never
turns OK) is OK, but the host itself appears to be down. I think
you need to rethink

> 
> If I do the check_http manually, I seem to get through fine:
> 
> # /usr/lib/nagios3.2/libexec/check_http 0-S -I webwork -f follow -w5
> -c 20 -t 60 -u https://webwork.example.com/webwork
> HTTP OK: HTTP/1.1 200 OK - 5162 bytes in 0.025 second response time
> |time=0.024700s;5.000000;20.000000;0.000000 size=5162B;;;0
> 
> Can anyone spot a reason why this alert is not set up properly or
> there is a better way to do it?
> 

Examine the *host* check, not the service check, if you want to figure
out why the host appears to be down.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
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 at 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




From fpicabia at gmail.com  Wed Sep 12 20:28:22 2012
From: fpicabia at gmail.com (francis picabia)
Date: Wed, 12 Sep 2012 15:28:22 -0300
Subject: False alerts on http service
In-Reply-To: <5050CECD.9070006@op5.se>
References: 
	
	<5050CECD.9070006@op5.se>
Message-ID: 

On Wed, Sep 12, 2012 at 3:05 PM, Andreas Ericsson  wrote:

> Examine the *host* check, not the service check, if you want to figure
> out why the host appears to be down.

I wondered if it could be that, but usually if I messed up
the host, it would let me know on start up.

I have this:

# Unix host definition template
define host{
        name                            unix-host
        use                             generic-host
        check_command                   check-host-alive
        contact_groups                  unix-admins
        register                        0
        }

# 'webwork' host definition
define host{
        use                     unix-host
        host_name               webwork
        alias                   (webwork) Webwork server
        address                 WWW.XXX.YYY.ZZZ
        max_check_attempts      10
        notification_interval   480
        notification_period     24x7
        notification_options    d,u,r
        }

unix-host is used in many other hosts without a problem, and webwork
host entry was a copy/paste based on other working entries.  I don't see what
could be wrong other than getting the IP right.

I can ping webwork from the nagios monitoring system.

I can't see the problem.

------------------------------------------------------------------------------
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 at 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




From fpicabia at gmail.com  Wed Sep 12 20:49:16 2012
From: fpicabia at gmail.com (francis picabia)
Date: Wed, 12 Sep 2012 15:49:16 -0300
Subject: False alerts on http service
In-Reply-To: 
References: 
	
	<5050CECD.9070006@op5.se>
	
Message-ID: 

OK I see it now.  I use this by template so much
I forget how it works.  Our check-host-alive
is using a check for ssh service, and this got
blocked by denyhosts on the remote system.
Doesn't always happen, but sometiimes does.

Issue is resolved.  Thanks for reorienting my head.

------------------------------------------------------------------------------
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 at 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




From m.borsani at it.net  Thu Sep 13 09:36:59 2012
From: m.borsani at it.net (Marco Borsani)
Date: Thu, 13 Sep 2012 09:36:59 +0200
Subject: R:  R:  R:  configure receiving snmp traps
In-Reply-To: <5C3B1FF1E973554BBB7B81A652A7798601954F3AE4@EXCNLDCM06.europe.unity>
References: <005901cd8b3c$9225c5a0$b67150e0$@it.net>	<504A5BEA.4040201@5dninja.net>	<006701cd902e$526ccd90$f74668b0$@it.net>	<5C3B1FF1E973554BBB7B81A652A7798601954F3708@EXCNLDCM06.europe.unity>	<006501cd90c7$db3815f0$91a841d0$@it.net>
	<5C3B1FF1E973554BBB7B81A652A7798601954F3AE4@EXCNLDCM06.europe.unity>
Message-ID: <001e01cd9182$9541dcf0$bfc596d0$@it.net>

Hello

 

Probably I solve the problem creating a script that manage the host/ip
received from the clients...I have to test it more, and more J

 

May anyone send me the snmptt.ini file ?

 

I still don?t understand some behaviour
.

 

Marco

 

Da: H?lzel, Arnold [mailto:arnold.holzel at kpn.com] 
Inviato: mercoled? 12 settembre 2012 11:47
A: Nagios Users List
Oggetto: Re: [Nagios-users] R: R: configure receiving snmp traps

 

Hello Marco,

 

You can check your snmptt.ini file (/etc/snmp/snmptt.ini) there you can
configure SNMPTT to strip the domain names. See the ?dns_enable?,
?strip_domain? and the ?stip_domain_list? options, maybe that is the
problem?

 

-          Our systems send their SNMP messages to our monitoring server

-          the monitoring server does a DNS lookup, strips the domain name
and sends the data to a ?submit_trap? script

-          the ?submit_trap? script converts the hostname to uppercase and
send the data to Nagios.

 

Hope it helps

 

Met vriendelijke groet/with kind regards, 

Arnold H?lzel

 

From: Marco Borsani [mailto:m.borsani at it.net] 
Sent: woensdag 12 september 2012 11:20
To: 'Nagios Users List'
Subject: [Nagios-users] R: R: configure receiving snmp traps

 

Hi

Yes, I supposed this could be the problem.

 

1)      I am sending trap from a client as:

snmptrap -v 1 -c public   1.2.3.4  3 0 ''

 

2)      Snmptrapd on Nagios receive the trap:

2012-09-12 11:08:23  [CLIENT IP] (via
UDP: [CLIENT IP]:52203->[NAGIOS IP]) TRAP, SNMP v1, community public
iso.2.3.4 Link Up Trap (0) Uptime: 36 days, 19:43:55.96

 

3)      A script like ?submit_trap? pass it to Nagios

 

4)      Nagios log file:

[1347440926] Warning:  Passive check result was received for service
'TRAP_service' on host , but the host could not be
found!

 

In my configuration is not a ?simple? problem of uppercase/lowercase, but I
need to pass exactly the hostnames I need 
 Before sending the trap or
change them as soon as the trap arrived??

 

 

Any idea?

Marco

 

 

 

Da: H?lzel, Arnold [mailto:arnold.holzel at kpn.com] 
Inviato: marted? 11 settembre 2012 17:35
A: Nagios Users List
Oggetto: Re: [Nagios-users] R: configure receiving snmp traps

 

Hello Marco,

 

What is the case (uppercase or lowercase) of the system names in Nagios? I
had the same problem and that was caused by the fact that all our systems in
Nagios are in uppercase and snmptt sends them in lowercase to Nagios.
Because Nagios is case sensitive there is a mismatch and you will not see
anything in Nagios. I had to manually change something in the script to make
everything uppercase (I did not wanted to reconfigure every host in Nagios).


I am not able to look up and send the exact things I changed right now but
if needed I can look it up tomorrow.

 

Met vriendelijke groet/with kind regards, 

Arnold H?lzel

 

From: Marco Borsani [mailto:m.borsani at it.net] 
Sent: dinsdag 11 september 2012 17:01
To: 'Nagios Users List'
Subject: [Nagios-users] R: configure receiving snmp traps

 

Hi Mike

 

Actually , I have :

-           installed snmptt (in daemon mode)

-          Configured a generic passive service in nagios

-          Run a snmptrap command from a client to test the configuration

 

 

What?s happen ?

1)      The TRAP has be sent from the client (HOST B)

2)      The TRAP has be received from Nagios server (HOST A)

3)      Nothing arrived on Nagios 

 

When I run manually submit_trap command,  Nagios show me the message on the
web gui

 

I loose something between the TRAP received and Nagios service
.what could
be ?

 

Moreover in the syslog a read many and messages like:  snmptt-sys[501]:
Unable to delete trap file #snmptt-trap-1347373658632581 from spool dir

 

Regards

Marco

 

Da: Mike Lindsey [mailto:mike-nagios at 5dninja.net] 
Inviato: venerd? 7 settembre 2012 22:41
A: Nagios Users List
Oggetto: Re: [Nagios-users] configure receiving snmp traps

 


You'll need to ensure that snmptrapd is enabled on your Nagios poller, and
the typical route from there to get snmp traps submitted into Nagios is to
install SNMPTT.

  http://snmptt.sourceforge.net/

I recommend reading the docs for these, but, a very basic snmptrapd.conf
would be:
###### snmptrapd.conf
snmpTrapdAddr  
udp:localhost,udp:YOUR_IP_HERE,tcp:YOUR_IP_HERE

authCommunity log,execute public
logOption f/var/log/snmptrapd.log
traphandle default /usr/sbin/snmptt -i /usr/local/share/snmp/snmptt.ini
######

And then in the TrapFiles section of snmptt.ini you might have:
######
[TrapFiles]
snmptt_conf_files = <
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From lcol at defimode.com  Wed Sep 12 10:13:47 2012
From: lcol at defimode.com (laurent col)
Date: Wed, 12 Sep 2012 10:13:47 +0200
Subject: Problem with check_ping
Message-ID: <2848F2480CB40349A2C194BE9E74B25A3D2513@srv-exchange.defimode.com>

 

Dear Support,

 

I have a big problem with check_ping because all my hosts are down with this text:

check_ping: %s: Warning threshold must be integer or percentage!

 

Could you help me Please?

 

Thank you by advance.

 

Sincerely,

 

Laurent COL

 

Responsable Domaine Informatique

lcol at defimode.com  

04.71.50.96.99 / 06.33.72.09.82 

 

 

DEFI MODE 

                   

Z.I Saint Ferr?ol - Rue Lavoisier

43100 BRIOUDE

www.defimode.com

 

Partenaire de Miss France 2012 

Filiale du Groupe VIVARTE

TEL: 04.71.50.08.41  

 

                             

P Pensez ? l'impact sur l'environnement avant d'imprimer ce courriel

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2950 bytes
Desc: image001.jpg
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 8797 bytes
Desc: image002.png
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From zarrelli at linux.it  Thu Sep 13 17:42:15 2012
From: zarrelli at linux.it (Giorgio Zarrelli)
Date: Thu, 13 Sep 2012 17:42:15 +0200
Subject: Problem with check_ping
In-Reply-To: <2848F2480CB40349A2C194BE9E74B25A3D2513@srv-exchange.defimode.com>
References: <2848F2480CB40349A2C194BE9E74B25A3D2513@srv-exchange.defimode.com>
Message-ID: 

Hi,

Eheheheh we are not Support, just people
sharing the same interest.

To help you I need to read both the command
and the service definition.

Please, copy them here.

Ciao,

Giorgio

Il giorno 12/set/2012, alle ore 10:13, "laurent col"  ha scritto:

> 
> Dear Support,
>  
> I have a big problem with check_ping because all my hosts are down with this text:
> check_ping: %s: Warning threshold must be integer or percentage!
>  
> Could you help me Please?
>  
> Thank you by advance.
>  
> Sincerely,
>  
> Laurent COL
>  
> Responsable Domaine Informatique
> lcol at defimode.com
> 04.71.50.96.99 / 06.33.72.09.82 
>  
>  
> DEFI MODE
>                   
> Z.I Saint Ferr?ol ? Rue Lavoisier
> 43100 BRIOUDE
> www.defimode.com
>  
> Partenaire de Miss France 2012
> Filiale du Groupe VIVARTE
> TEL: 04.71.50.08.41 
>  
>                              
> P Pensez ? l'impact sur l'environnement avant d'imprimer ce courriel
>  
> ------------------------------------------------------------------------------
> 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 2950 bytes
Desc: not available
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Description?: Description?: Description?: untitled.png
Type: image/png
Size: 8797 bytes
Desc: not available
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From ae at op5.se  Fri Sep 14 00:00:33 2012
From: ae at op5.se (Andreas Ericsson)
Date: Fri, 14 Sep 2012 00:00:33 +0200
Subject: Nagios 4: Call for testing
Message-ID: <50525781.5060907@op5.se>

Yes, you read it right. Nagios 4 is approaching, but it needs your
help to reach the finish-line, so pretty please HELP!

Right now, config parsing is a lot quicker. Check execution is
done through workers, except on-demand host chekc execution, which
is still handled by the serial model.

Code can be fetched from either of:
svn co https://nagios.svn.sourceforge.net/svnroot/nagios nagios
git://github.com/ageric/nagios.git

The people who provide me with the most valuable bug reports will be
rewarded with a special prize, apart from a special mention at the
Nagios World Conference 2012, happening in Minneapolis on september
25, 26, 27 and 28 this year (as it's 2012...).

Points will be given on:
* Accuracy of bugreport. If the bug is triggered by one of 13 trillion
  serviceescalations, you'll have an excellent chance if you produce
  an example config which reproduces the problem without creating a
  huge overhead.
* Patchiness of bugreport. If the bug contains valgrind output showing
  illegal memory access, or a backtrace of the error, it will be given
  extra credit. If it contains a minimal setup displaying the error as
  well as a patch fixing the error, you're almost sure to be in the
  very small Circle Of Winners.
* Surgeonry of bugreport. If a patch fixes a billion unrelated items,
  points will be taken from it.
* bugreports of a slow Nagios accompanied by gprof or valgrind output
  output will be given priority over other bugreports of a slow Nagios.


Note that only bugreports providede *before* 2012-09-24 will be
considerered, and also note that the winners will be announced at the
Nagios World Conference 2012 (unless they explicitly ask me not to
mention their names, in which case they can't even compete, really, but
will probably get several shots from me if I ever meet them and *may*
get a very special prize anyway).


Patches can be provided for Core Nagios, Livestatus, NDOUtils, Merlin
mod_gearman, dnx_utils or npcdmod. Each project gives extra points,
provided it's universal. Patches that promote a specific installation
directory are worthless and won't be considered.


So spedang! and get your hack on, folks :)


-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
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 at 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




From daniel.wittenberg.r0ko at statefarm.com  Fri Sep 14 00:52:36 2012
From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg)
Date: Thu, 13 Sep 2012 22:52:36 +0000
Subject: Nagios 4: Call for testing
In-Reply-To: <50525781.5060907@op5.se>
References: <50525781.5060907@op5.se>
Message-ID: <1BE31CF2-4235-4EE7-AC47-0ECDC5784F8F@statefarm.com>

RPM's for CentOS/RHEL 6 will be available tomorrow.  Shout if you want them built for other platforms and I'll see what I can do.

Dan


On Sep 13, 2012, at 5:00 PM, Andreas Ericsson wrote:

> Yes, you read it right. Nagios 4 is approaching, but it needs your
> help to reach the finish-line, so pretty please HELP!
> 
> Right now, config parsing is a lot quicker. Check execution is
> done through workers, except on-demand host chekc execution, which
> is still handled by the serial model.
> 
> Code can be fetched from either of:
> svn co https://nagios.svn.sourceforge.net/svnroot/nagios nagios
> git://github.com/ageric/nagios.git
> 
> The people who provide me with the most valuable bug reports will be
> rewarded with a special prize, apart from a special mention at the
> Nagios World Conference 2012, happening in Minneapolis on september
> 25, 26, 27 and 28 this year (as it's 2012...).
> 
> Points will be given on:
> * Accuracy of bugreport. If the bug is triggered by one of 13 trillion
>  serviceescalations, you'll have an excellent chance if you produce
>  an example config which reproduces the problem without creating a
>  huge overhead.
> * Patchiness of bugreport. If the bug contains valgrind output showing
>  illegal memory access, or a backtrace of the error, it will be given
>  extra credit. If it contains a minimal setup displaying the error as
>  well as a patch fixing the error, you're almost sure to be in the
>  very small Circle Of Winners.
> * Surgeonry of bugreport. If a patch fixes a billion unrelated items,
>  points will be taken from it.
> * bugreports of a slow Nagios accompanied by gprof or valgrind output
>  output will be given priority over other bugreports of a slow Nagios.
> 
> 
> Note that only bugreports providede *before* 2012-09-24 will be
> considerered, and also note that the winners will be announced at the
> Nagios World Conference 2012 (unless they explicitly ask me not to
> mention their names, in which case they can't even compete, really, but
> will probably get several shots from me if I ever meet them and *may*
> get a very special prize anyway).
> 
> 
> Patches can be provided for Core Nagios, Livestatus, NDOUtils, Merlin
> mod_gearman, dnx_utils or npcdmod. Each project gives extra points,
> provided it's universal. Patches that promote a specific installation
> directory are worthless and won't be considered.
> 
> 
> So spedang! and get your hack on, folks :)
> 
> 
> -- 
> Andreas Ericsson                   andreas.ericsson at op5.se
> OP5 AB                             www.op5.se
> Tel: +46 8-230225                  Fax: +46 8-230231
> 
> Considering the successes of the wars on alcohol, poverty, drugs and
> terror, I think we should give some serious thought to declaring war
> on peace.
> 
> ------------------------------------------------------------------------------
> 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-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html



From frnkblk at iname.com  Fri Sep 14 03:22:51 2012
From: frnkblk at iname.com (Frank Bulk)
Date: Thu, 13 Sep 2012 20:22:51 -0500
Subject: sms notifications
In-Reply-To: <872CB0AEB377C240A112DD7C10B25929108B0BCB@wtps0171.amers.ibechtel.com>
References: <00cb01cce0f2$c5227920$4f676b60$@it.net>
	<002b01cce156$17d3df20$477b9d60$@iname.com>
	<872CB0AEB377C240A112DD7C10B25929108B0BCB@wtps0171.amers.ibechtel.com>
Message-ID: <000401cd9217$75ba9e40$612fdac0$@iname.com>

I followed this article:

http://www.linuxjournal.com/magazine/using-sms-server-provide-robust-alertin
g-service-nagios

 

Let me know if you run stuck.

 

Frank

 

From: Frater, Greg J [mailto:GJFRATER at bechtel.com] 
Sent: Tuesday, September 11, 2012 4:37 PM
To: Nagios Users List
Cc: frnkblk at iname.com
Subject: RE: [Nagios-users] sms notifications

 

Hi Frank, 

 

We just bought the MultiTech MultiModem iCell and need to interface it to
Nagios.  Care to share what your using (home grown script, SMS gateways,
etc.) to send alerts from Nagios through your iSMS?

 

Thanks,

 

-greg

 

From: Frank Bulk [mailto:frnkblk at iname.com] 
Sent: Wednesday, February 01, 2012 6:55 PM
To: NAGIOS
Subject: Re: [Nagios-users] sms notifications

 

We use the MultiTech MultiModem iSMS - works great.

 

Frank

 

From: Marco Borsani [mailto:m.borsani at it.net]
  
Sent: Wednesday, February 01, 2012 9:04 AM
To: NAGIOS
Subject: [Nagios-users] sms notifications

 

Hi all

 

To send sms notifications, I am using since 2003 a couple of radiomodem,
connected via serial to my server and smstools SW.

 

Now, I need something "stronger" compared that configuration because for
specific checks I have to send many and many sms at the same time.

 

What can I use ?

 

Regards

Marco

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From mwiese at beit.de  Fri Sep 14 06:01:21 2012
From: mwiese at beit.de (mwiese at beit.de)
Date: Fri, 14 Sep 2012 06:01:21 +0200
Subject: =?iso-8859-1?q?Marco_Wiese/BEIT_GmbH_ist_au=DFer_H?=
	=?iso-8859-1?q?aus=2E?=
Message-ID: 



Ich werde vom 10.09.2012 bis einschlie?lich  21.09.2012 nicht im B?ro sein.

Ich werde Ihre Nachricht nach meiner R?ckkehr schnellstm?glich beantworten.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From t-aravinth at juspay.in  Fri Sep 14 13:15:37 2012
From: t-aravinth at juspay.in (Aravinth Anto)
Date: Fri, 14 Sep 2012 16:45:37 +0530
Subject: Alerts are not generated.
Message-ID: 

Hi all,

I'm trying to generate an alert for log in tomcat ( I wrote my own plugin
). But I can see the log files of nagios that the alert have been generated
but it seems that the mail haven't sent.


What all will be reason for it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From t-aravinth at juspay.in  Fri Sep 14 13:22:58 2012
From: t-aravinth at juspay.in (Aravinth Anto)
Date: Fri, 14 Sep 2012 16:52:58 +0530
Subject: Alerts are not generated.
In-Reply-To: 
References: 
Message-ID: 

In my sudo less /var/log/sendEmail file. I see these errors:


sendEmail[13886]: ERROR => You must specify a 'from' field!  Try --help.
sendEmail[13891]: ERROR => You must specify a 'from' field!  Try --help.
sendEmail[13896]: ERROR => You must specify a 'from' field!  Try --help.

What does this mean?
On Fri, Sep 14, 2012 at 4:45 PM, Aravinth Anto  wrote:

> Hi all,
>
> I'm trying to generate an alert for log in tomcat ( I wrote my own plugin
> ). But I can see the log files of nagios that the alert have been generated
> but it seems that the mail haven't sent.
>
>
> What all will be reason for it?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From skebi69 at gmail.com  Fri Sep 14 14:09:37 2012
From: skebi69 at gmail.com (John Kennedy)
Date: Fri, 14 Sep 2012 08:09:37 -0400
Subject: Nagios 4: Call for testing
In-Reply-To: <50525781.5060907@op5.se>
References: <50525781.5060907@op5.se>
Message-ID: 

On Thu, Sep 13, 2012 at 6:00 PM, Andreas Ericsson  wrote:

> Yes, you read it right. Nagios 4 is approaching, but it needs your
> help to reach the finish-line, so pretty please HELP!
>
>
>

Is there a target date for release of Nagios 4?
Thanks,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From ae at op5.se  Fri Sep 14 15:34:50 2012
From: ae at op5.se (Andreas Ericsson)
Date: Fri, 14 Sep 2012 15:34:50 +0200
Subject: [Nagios-users] Nagios 4: Call for testing
In-Reply-To: 
References: <50525781.5060907@op5.se>
	
Message-ID: <5053327A.2020607@op5.se>

On 09/14/2012 02:09 PM, John Kennedy wrote:
> On Thu, Sep 13, 2012 at 6:00 PM, Andreas Ericsson  wrote:
> 
>> Yes, you read it right. Nagios 4 is approaching, but it needs your
>> help to reach the finish-line, so pretty please HELP!
>>
>>
>>
> 
> Is there a target date for release of Nagios 4?

Yes. It's very, very close, but also quite secret. If you've kept an
eye on http://go.nagios.org/conference I'm fairly sure you can figure
it out though ;)

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html



From t-aravinth at juspay.in  Fri Sep 14 15:52:28 2012
From: t-aravinth at juspay.in (Aravinth Anto)
Date: Fri, 14 Sep 2012 19:22:28 +0530
Subject: How to customize nagios alerts?
Message-ID: 

Hello all,

I wish to customize my email alerts that is sent by Nagios. Say for
example, I want to send the email along with error trace of Tomcat which
caused the exception.


Are there any ways to do it?


Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From zarrelli at linux.it  Fri Sep 14 16:15:12 2012
From: zarrelli at linux.it (Giorgio Zarrelli)
Date: Fri, 14 Sep 2012 16:15:12 +0200
Subject: How to customize nagios alerts?
In-Reply-To: 
References: 
Message-ID: <137E24E9-384D-47CD-A6CD-24C89BD69F4B@linux.it>

Have a look at The notification scripts and change them.

Ciao,

Giorgio

Il giorno 14/set/2012, alle ore 15:52, Aravinth Anto  ha scritto:

> Hello all,
> 
> I wish to customize my email alerts that is sent by Nagios. Say for example, I want to send the email along with error trace of Tomcat which caused the exception.
> 
> 
> Are there any ways to do it?
> 
> 
> Thanks in advance.
> 
> 
> ------------------------------------------------------------------------------
> Got visibility?
> Most devs has no idea what their production app looks like.
> Find out how fast your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219671;13503038;y?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From ae at op5.se  Fri Sep 14 18:45:27 2012
From: ae at op5.se (Andreas Ericsson)
Date: Fri, 14 Sep 2012 18:45:27 +0200
Subject: Service parents...
Message-ID: <50535F27.7090408@op5.se>

... have arrived.

The intention (and the way they currently work) is that they remove
the need for servicedependencies like this:
define servicedependency {
   host_name                       A
   service_description             Foo
   dependent_host_name             B
   dependent_service_description   Bar
   notification_failure_options    w,u,c
}

Currently they totally ignore state "hardness", and only care about the
actual state. You can have parents residing on a different host (in
which case you have to specify host_name,service_description in the
parents field, naturally), or you can have same-host parents, in which
case you only need to specify the service description. This only works
so long as there's only a single parent though, but since that's how
99.9% of the servicedependencies seem to work in the configurations
people sent me after my "Call for configs", I guess that's reasonable
for a first implementation anyway.

Speaking of which; Thanks a bunch for the configs. You know who you are,
although some of you didn't want me to name you in any thank-you's, so
I'll refrain from posting the full, and surprisingly long, list of people.
Your help was invaluable and helped me uncover many a bug that would
otherwise have earned me a lot of hatemail.

For the (extremely) common "depend on a client version check" thing,
that would look something like this:
define service {
    use            some-suitable-template
    host_name      A
    description    NRPE Disk /
    parents        NRPE Version Check
}

although I expect you crafty folks will put such things in templates
and be done with it very quickly.

Enjoy.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html



From mike-nagios at 5dninja.net  Fri Sep 14 20:09:48 2012
From: mike-nagios at 5dninja.net (Mike Lindsey)
Date: Fri, 14 Sep 2012 11:09:48 -0700
Subject: check_http throwing 141 exit on ssl error
Message-ID: <505372EC.2000404@5dninja.net>

I'm typically used to seeing this kind of error code for a missing 
plugin, but I've got a device that is accepting tcp connections and then 
due to a local misconfiguration, immediately closing them.

But rather than a normal critical I'm getting:
"""
(Return code of 141 is out of bounds)
"""

When run by hand I have:
"""
root at ops-mon-nagios3 /usr/local/nagios/libexec $ ./check_http -H 
device.domain.com -w "10" -c "20" -S -p "83" -f follow
CRITICAL - Cannot make SSL connection
root at ops-mon-nagios3 /usr/local/nagios/libexec $ echo $?
141
"""

Anyone seen this before?  Is this resolved in nagios-plugins > 1.4.15?

Here's some potentially useful, lightly filtered strace output, showing 
it exiting on a SIGPIPE:
"""
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(83), 
sin_addr=inet_addr("68.232.133.59")}, 16) = 0
write(3, "\200w\1\3\1\0N\0\0\0 
\0\0009\0\0008\0\0005\0\0\26\0\0\23\0\0\n\7\0\300"..., 121) = -1 
ECONNRESET (Connection reset by peer)
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x2ab9e22dd000
write(1, "CRITICAL - Cannot make SSL conne"..., 39) = 39
write(3, "\200w\1\3\1\0N\0\0\0 
\0\0009\0\0008\0\0005\0\0\26\0\0\23\0\0\n\7\0\300"..., 121) = -1 EPIPE 
(Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
+++ killed by SIGPIPE +++



-- Mike Lindsey

-- 
Mike Lindsey


------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From justinp at norchemlab.com  Fri Sep 14 20:25:02 2012
From: justinp at norchemlab.com (Justin T Pryzby)
Date: Fri, 14 Sep 2012 11:25:02 -0700
Subject: check_http throwing 141 exit on ssl error
In-Reply-To: <505372EC.2000404@5dninja.net>
References: <505372EC.2000404@5dninja.net>
Message-ID: <20120914182502.GA31681@norchemlab.com>

This may be unrelated to the question of why it's exiting with a
nonstandard, out of range exit status, but is port 83 really HTTP over
SSL?  It seems as if the plugin sent an ssl initiation, and the remote
side closed the connection (perhaps because it wasn't ssl?).

Later, the plugin tried to gracefully end the ssl session, but the
socket was already closed (ECONNRESET), resulting in EPIPE, which I
think is expected.

Justin

On Fri, Sep 14, 2012 at 11:09:48AM -0700, Mike Lindsey wrote:
> I'm typically used to seeing this kind of error code for a missing 
> plugin, but I've got a device that is accepting tcp connections and then 
> due to a local misconfiguration, immediately closing them.
> 
> But rather than a normal critical I'm getting:
> """
> (Return code of 141 is out of bounds)
> """
> 
> When run by hand I have:
> """
> root at ops-mon-nagios3 /usr/local/nagios/libexec $ ./check_http -H 
> device.domain.com -w "10" -c "20" -S -p "83" -f follow
> CRITICAL - Cannot make SSL connection
> root at ops-mon-nagios3 /usr/local/nagios/libexec $ echo $?
> 141
> """
> 
> Anyone seen this before?  Is this resolved in nagios-plugins > 1.4.15?
> 
> Here's some potentially useful, lightly filtered strace output, showing 
> it exiting on a SIGPIPE:
> """
> socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
> connect(3, {sa_family=AF_INET, sin_port=htons(83), 
> sin_addr=inet_addr("68.232.133.59")}, 16) = 0
> write(3, "\200w\1\3\1\0N\0\0\0 
> \0\0009\0\0008\0\0005\0\0\26\0\0\23\0\0\n\7\0\300"..., 121) = -1 
> ECONNRESET (Connection reset by peer)
> fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
> = 0x2ab9e22dd000
> write(1, "CRITICAL - Cannot make SSL conne"..., 39) = 39
> write(3, "\200w\1\3\1\0N\0\0\0 
> \0\0009\0\0008\0\0005\0\0\26\0\0\23\0\0\n\7\0\300"..., 121) = -1 EPIPE 
> (Broken pipe)
> --- SIGPIPE (Broken pipe) @ 0 (0) ---
> +++ killed by SIGPIPE +++

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From nagiospra at gmail.com  Fri Sep 14 20:48:25 2012
From: nagiospra at gmail.com (PRA)
Date: Sat, 15 Sep 2012 00:18:25 +0530
Subject: Alerts are not generated.
In-Reply-To: 
References: 
Message-ID: <50537BF9.8010007@gmail.com>

Do you see the service notification generated in the logs?

-P


On 9/14/2012 4:45 PM, Aravinth Anto wrote:
> Hi all,
>
> I'm trying to generate an alert for log in tomcat ( I wrote my own 
> plugin ). But I can see the log files of nagios that the alert have 
> been generated but it seems that the mail haven't sent.
>
>
> What all will be reason for it?
>
>
> ------------------------------------------------------------------------------
> Got visibility?
> Most devs has no idea what their production app looks like.
> Find out how fast your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219671;13503038;y?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From ae at op5.se  Fri Sep 14 20:54:16 2012
From: ae at op5.se (Andreas Ericsson)
Date: Fri, 14 Sep 2012 20:54:16 +0200
Subject: check_http throwing 141 exit on ssl error
In-Reply-To: <505372EC.2000404@5dninja.net>
References: <505372EC.2000404@5dninja.net>
Message-ID: <50537D58.6070007@op5.se>

On 09/14/2012 08:09 PM, Mike Lindsey wrote:
> I'm typically used to seeing this kind of error code for a missing
> plugin, but I've got a device that is accepting tcp connections and then
> due to a local misconfiguration, immediately closing them.
> 
> But rather than a normal critical I'm getting:
> """
> (Return code of 141 is out of bounds)
> """
> 

SIGPIPE has sig id 13. When a program catches a signal, it returns
the sigid as a negative number, but the field for the exit status
is unsigned, so it gets translated to 128 + sigid instead.

As I read it back, I realize that doesn't exactly make supersense
to anyone not familiar with integer math as computers do it, but
I can assure you that's the reason.

When you get exit code 127 or 126 (below 128, but high), it's
because execve() has thrown an error and the shell is trying to
signal it the only way you can. It does that by returning 0x80
and subtracting the error number. 128 is 0x80 and would be a
negative number (which are reserved for signal-triggered exits),
so 127 is 0x80 - EPERM, which means the Nagios user lacks execute
permissions for the file. 126 is 0x80 - ENOENT, which means the
plugin doesn't exist in the path specified, or one of the elements
in the path leading to the plugin is missing. There are others too.
Check out "man 2 execve" for all the details.

> When run by hand I have:
> """
> root at ops-mon-nagios3 /usr/local/nagios/libexec $ ./check_http -H
> device.domain.com -w "10" -c "20" -S -p "83" -f follow
> CRITICAL - Cannot make SSL connection
> root at ops-mon-nagios3 /usr/local/nagios/libexec $ echo $?
> 141
> """
> 
> write(1, "CRITICAL - Cannot make SSL conne"..., 39) = 39
> write(3, "\200w\1\3\1\0N\0\0\0
> \0\0009\0\0008\0\0005\0\0\26\0\0\23\0\0\n\7\0\300"..., 121) = -1 EPIPE
> (Broken pipe)
> --- SIGPIPE (Broken pipe) @ 0 (0) ---
> +++ killed by SIGPIPE +++
> 

And there's the SIGPIPE. Case closed.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From nagiospra at gmail.com  Fri Sep 14 21:01:21 2012
From: nagiospra at gmail.com (PRA)
Date: Sat, 15 Sep 2012 00:31:21 +0530
Subject: How to customize nagios alerts?
In-Reply-To: 
References: 
Message-ID: <50537F01.8040206@gmail.com>

The script shoud generate two types of out put (return code and text ), 
If the can be anything if you pass the stack trace to text it would 
print that only
in the alerts
-S

On 9/14/2012 7:22 PM, Aravinth Anto wrote:
> Hello all,
>
> I wish to customize my email alerts that is sent by Nagios. Say for 
> example, I want to send the email along with error trace of Tomcat 
> which caused the exception.
>
>
> Are there any ways to do it?
>
>
> Thanks in advance.
>
>
>
>
> ------------------------------------------------------------------------------
> Got visibility?
> Most devs has no idea what their production app looks like.
> Find out how fast your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219671;13503038;y?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From nagios at flatto.net  Fri Sep 14 21:02:22 2012
From: nagios at flatto.net (Assaf Flatto)
Date: Fri, 14 Sep 2012 20:02:22 +0100
Subject: Nagios 4: Call for testing
In-Reply-To: <50525781.5060907@op5.se>
References: <50525781.5060907@op5.se>
Message-ID: <50537F3E.70708@flatto.net>

On 13/09/12 23:00, Andreas Ericsson wrote:
> Yes, you read it right. Nagios 4 is approaching, but it needs your
> help to reach the finish-line, so pretty please HELP!
>
> Right now, config parsing is a lot quicker. Check execution is
> done through workers, except on-demand host chekc execution, which
> is still handled by the serial model.
>
> Code can be fetched from either of:
> svn co https://nagios.svn.sourceforge.net/svnroot/nagios nagios
> git://github.com/ageric/nagios.git
>
> The people who provide me with the most valuable bug reports will be
> rewarded with a special prize, apart from a special mention at the
> Nagios World Conference 2012, happening in Minneapolis on september
> 25, 26, 27 and 28 this year (as it's 2012...).
>
> Points will be given on:
> * Accuracy of bugreport. If the bug is triggered by one of 13 trillion
>    serviceescalations, you'll have an excellent chance if you produce
>    an example config which reproduces the problem without creating a
>    huge overhead.
> * Patchiness of bugreport. If the bug contains valgrind output showing
>    illegal memory access, or a backtrace of the error, it will be given
>    extra credit. If it contains a minimal setup displaying the error as
>    well as a patch fixing the error, you're almost sure to be in the
>    very small Circle Of Winners.
> * Surgeonry of bugreport. If a patch fixes a billion unrelated items,
>    points will be taken from it.
> * bugreports of a slow Nagios accompanied by gprof or valgrind output
>    output will be given priority over other bugreports of a slow Nagios.
>
>
> Note that only bugreports providede *before* 2012-09-24 will be
> considerered, and also note that the winners will be announced at the
> Nagios World Conference 2012 (unless they explicitly ask me not to
> mention their names, in which case they can't even compete, really, but
> will probably get several shots from me if I ever meet them and *may*
> get a very special prize anyway).
>
>
> Patches can be provided for Core Nagios, Livestatus, NDOUtils, Merlin
> mod_gearman, dnx_utils or npcdmod. Each project gives extra points,
> provided it's universal. Patches that promote a specific installation
> directory are worthless and won't be considered.
>
>
> So spedang! and get your hack on, folks :)
>
>
Doing the svn check out , i get a svn dump of all nagios versions except 
4 , and browsing the svn shows no trace of the nagios4 branch .

Can you specify the exact branch to check out ?

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mike-nagios at 5dninja.net  Fri Sep 14 21:08:19 2012
From: mike-nagios at 5dninja.net (Mike Lindsey)
Date: Fri, 14 Sep 2012 12:08:19 -0700
Subject: check_http throwing 141 exit on ssl error
In-Reply-To: <20120914182502.GA31681@norchemlab.com>
References: <505372EC.2000404@5dninja.net>
	<20120914182502.GA31681@norchemlab.com>
Message-ID: <505380A3.5090107@5dninja.net>

On 9/14/12 11:25 AM, Justin T Pryzby wrote:
> This may be unrelated to the question of why it's exiting with a
> nonstandard, out of range exit status, but is port 83 really HTTP over
> SSL?  It seems as if the plugin sent an ssl initiation, and the remote
> side closed the connection (perhaps because it wasn't ssl?).
>
> Later, the plugin tried to gracefully end the ssl session, but the
> socket was already closed (ECONNRESET), resulting in EPIPE, which I
> think is expected.
When the remote device isn't in this current state that's causing it to 
close inbound connections immediately after the socket is opened, yes, 
that's an https port.

On 9/14/12 11:54 AM, Andreas Ericsson wrote:
> On 09/14/2012 08:09 PM, Mike Lindsey wrote:
>> I'm typically used to seeing this kind of error code for a missing
>> plugin, but I've got a device that is accepting tcp connections and then
>> due to a local misconfiguration, immediately closing them.
>>
>> But rather than a normal critical I'm getting:
>> """
>> (Return code of 141 is out of bounds)
>> """
>>
> SIGPIPE has sig id 13. When a program catches a signal, it returns
> the sigid as a negative number, but the field for the exit status
> is unsigned, so it gets translated to 128 + sigid instead.
>
> As I read it back, I realize that doesn't exactly make supersense
> to anyone not familiar with integer math as computers do it, but
> I can assure you that's the reason.
Yup, makes sense now, and if I'd bothered to hit the man page, I'd have 
groked that.  As it was I just assumed 141 was SIGPIPE, so almost there 
but with an invalid (and irrelevant assumption).

>> When run by hand I have:
>> """
>> root at ops-mon-nagios3 /usr/local/nagios/libexec $ ./check_http -H
>> device.domain.com -w "10" -c "20" -S -p "83" -f follow
>> CRITICAL - Cannot make SSL connection
>> root at ops-mon-nagios3 /usr/local/nagios/libexec $ echo $?
>> 141
>> """
>>
>> write(1, "CRITICAL - Cannot make SSL conne"..., 39) = 39
>> write(3, "\200w\1\3\1\0N\0\0\0
>> \0\0009\0\0008\0\0005\0\0\26\0\0\23\0\0\n\7\0\300"..., 121) = -1 EPIPE
>> (Broken pipe)
>> --- SIGPIPE (Broken pipe) @ 0 (0) ---
>> +++ killed by SIGPIPE +++
>>
> And there's the SIGPIPE. Case closed.
>

Would it be appropriate for the check (and potentially any other 
nagios-plugins check that opens a socket) to trap SIGPIPE and return a 
normal valid critical?

As is, any http or https (or smtp or ldap, etc) check that's hitting a 
device behaving in this manner, is going to display a non-useful message 
in the Nagios UI, instead of the actual critical output. This is an 
error condition on a remote host, covered by what is normally valid 
working monitoring.  If this should be more cleanly caught by lower 
level parent dependency monitoring, how?  check_tcp returns 'ok' because 
the port opens.

If this is expected and desired behavior, should the output be updated 
to not include the misleading 'CRITICAL' prefix?

-- 
Mike Lindsey


------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From daniel.wittenberg.r0ko at statefarm.com  Fri Sep 14 21:56:39 2012
From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg)
Date: Fri, 14 Sep 2012 19:56:39 +0000
Subject: Nagios 4: Call for testing
In-Reply-To: <50537F3E.70708@flatto.net>
References: <50525781.5060907@op5.se> <50537F3E.70708@flatto.net>
Message-ID: 

https://nagios.svn.sourceforge.net/svnroot/nagios/nagioscore/trunk

Dan



Doing the svn check out , i get a svn dump of all nagios versions except
4 , and browsing the svn shows no trace of the nagios4 branch .

Can you specify the exact branch to check out ?

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From daniel.wittenberg.r0ko at statefarm.com  Fri Sep 14 22:23:55 2012
From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg)
Date: Fri, 14 Sep 2012 20:23:55 +0000
Subject: Nagios 4: Call for testing
In-Reply-To: <1BE31CF2-4235-4EE7-AC47-0ECDC5784F8F@statefarm.com>
References: <50525781.5060907@op5.se>
	<1BE31CF2-4235-4EE7-AC47-0ECDC5784F8F@statefarm.com>
Message-ID: 

First build of the RPM's are below.  So far we've been using them during testing but not in any kind of production environment so let me know if any issues/changes.

https://github.com/dwittenberg2008/nagios/tree/master/rpms

Dan


On Sep 13, 2012, at 5:52 PM, Daniel Wittenberg wrote:

RPM's for CentOS/RHEL 6 will be available tomorrow.  Shout if you want them built for other platforms and I'll see what I can do.

Dan


On Sep 13, 2012, at 5:00 PM, Andreas Ericsson wrote:

Yes, you read it right. Nagios 4 is approaching, but it needs your
help to reach the finish-line, so pretty please HELP!

Right now, config parsing is a lot quicker. Check execution is
done through workers, except on-demand host chekc execution, which
is still handled by the serial model.

Code can be fetched from either of:
svn co https://nagios.svn.sourceforge.net/svnroot/nagios nagios
git://github.com/ageric/nagios.git

The people who provide me with the most valuable bug reports will be
rewarded with a special prize, apart from a special mention at the
Nagios World Conference 2012, happening in Minneapolis on september
25, 26, 27 and 28 this year (as it's 2012...).

Points will be given on:
* Accuracy of bugreport. If the bug is triggered by one of 13 trillion
serviceescalations, you'll have an excellent chance if you produce
an example config which reproduces the problem without creating a
huge overhead.
* Patchiness of bugreport. If the bug contains valgrind output showing
illegal memory access, or a backtrace of the error, it will be given
extra credit. If it contains a minimal setup displaying the error as
well as a patch fixing the error, you're almost sure to be in the
very small Circle Of Winners.
* Surgeonry of bugreport. If a patch fixes a billion unrelated items,
points will be taken from it.
* bugreports of a slow Nagios accompanied by gprof or valgrind output
output will be given priority over other bugreports of a slow Nagios.


Note that only bugreports providede *before* 2012-09-24 will be
considerered, and also note that the winners will be announced at the
Nagios World Conference 2012 (unless they explicitly ask me not to
mention their names, in which case they can't even compete, really, but
will probably get several shots from me if I ever meet them and *may*
get a very special prize anyway).


Patches can be provided for Core Nagios, Livestatus, NDOUtils, Merlin
mod_gearman, dnx_utils or npcdmod. Each project gives extra points,
provided it's universal. Patches that promote a specific installation
directory are worthless and won't be considered.


So spedang! and get your hack on, folks :)


--
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
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-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel

From lilogohard at gmail.com  Sat Sep 15 01:47:31 2012
From: lilogohard at gmail.com (Luo Li)
Date: Sat, 15 Sep 2012 07:47:31 +0800
Subject: Alerts are not generated.
In-Reply-To: <50537BF9.8010007@gmail.com>
References: 
	<50537BF9.8010007@gmail.com>
Message-ID: 

The  sendEmail is required an sender?you must special the option: -f

FYI: http://caspian.dotconf.net/menu/Software/SendEmail/

On Sat, Sep 15, 2012 at 2:48 AM, PRA  wrote:

>  Do you see the service notification generated in the logs?
>
> -P
>
>
>
> On 9/14/2012 4:45 PM, Aravinth Anto wrote:
>
> Hi all,
>
>  I'm trying to generate an alert for log in tomcat ( I wrote my own
> plugin ). But I can see the log files of nagios that the alert have been
> generated but it seems that the mail haven't sent.
>
>
>  What all will be reason for it?
>
>
> ------------------------------------------------------------------------------
> Got visibility?
> Most devs has no idea what their production app looks like.
> Find out how fast your code is with AppDynamics Lite.http://ad.doubleclick.net/clk;262219671;13503038;y?http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>
>
>
> _______________________________________________
> Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://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
>
>
>
>
> ------------------------------------------------------------------------------
> Got visibility?
> Most devs has no idea what their production app looks like.
> Find out how fast your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219671;13503038;y?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From t-aravinth at juspay.in  Sat Sep 15 05:26:20 2012
From: t-aravinth at juspay.in (Aravinth Anto)
Date: Sat, 15 Sep 2012 08:56:20 +0530
Subject: How to customize nagios alerts?
In-Reply-To: <50537F01.8040206@gmail.com>
References: 
	<50537F01.8040206@gmail.com>
Message-ID: 

Hi ,

Thanks for the reply. I have attached my script. And if I say I'm returning
the stack trace from my script, how come Nagios will know that? I can name
the hole stack trace a name and can use $stacktrace in nagios will work?

Thanks in advance.

On Sat, Sep 15, 2012 at 12:31 AM, PRA  wrote:

>  The script shoud generate two types of out put (return code and text ),
> If the can be anything if you pass the stack trace to text it would print
> that only
> in the alerts
> -S
>
>
> On 9/14/2012 7:22 PM, Aravinth Anto wrote:
>
> Hello all,
>
>  I wish to customize my email alerts that is sent by Nagios. Say for
> example, I want to send the email along with error trace of Tomcat which
> caused the exception.
>
>
>  Are there any ways to do it?
>
>
>  Thanks in advance.
>
>
>
>
> ------------------------------------------------------------------------------
> Got visibility?
> Most devs has no idea what their production app looks like.
> Find out how fast your code is with AppDynamics Lite.http://ad.doubleclick.net/clk;262219671;13503038;y?http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>
>
>
> _______________________________________________
> Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://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
>
>
>
>
> ------------------------------------------------------------------------------
> Got visibility?
> Most devs has no idea what their production app looks like.
> Find out how fast your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219671;13503038;y?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_match_pattern.sh
Type: application/x-sh
Size: 1888 bytes
Desc: not available
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From ae at op5.se  Sat Sep 15 09:38:42 2012
From: ae at op5.se (Andreas Ericsson)
Date: Sat, 15 Sep 2012 09:38:42 +0200
Subject: Nagios 4: Call for testing
In-Reply-To: 
References: <50525781.5060907@op5.se>
	<1BE31CF2-4235-4EE7-AC47-0ECDC5784F8F@statefarm.com>
	
Message-ID: <50543082.9070007@op5.se>

On 09/14/2012 10:23 PM, Daniel Wittenberg wrote:
> First build of the RPM's are below.  So far we've been using them
> during testing but not in any kind of production environment so let
> me know if any issues/changes.
> 
> https://github.com/dwittenberg2008/nagios/tree/master/rpms
> 

Sweet! Thanks a lot :)

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html



From nagiospra at gmail.com  Mon Sep 17 04:04:07 2012
From: nagiospra at gmail.com (PRA)
Date: Mon, 17 Sep 2012 07:34:07 +0530
Subject: How to customize nagios alerts?
In-Reply-To: 
References: 
	<50537F01.8040206@gmail.com>
	
Message-ID: <50568517.60900@gmail.com>

if your echo statement has $stacktrace it will print that only till to 
the limit "Additional Info field".

NAGIOS gets string and return code from its plugins.String is to print 
the message and return code is to identify the type of alert 
(ok,warning,critical).
So as long as you send it to nagios to this format it identifies.

Now coming to your script, you echo statements at the last part of IF , 
Should have your stack trace.

============SNIP=============

         then
             echo "$stacktrace"    #### The stack trace should hold the 
stack trace string.
         exit $ST_CR

===========SNIP===========


-PRA

On 9/15/2012 8:56 AM, Aravinth Anto wrote:
> Hi
>
> Thanks for the reply. I have attached my script. And if I say I'm 
> returning the stack trace from my script, how come Nagios will know 
> that? I can name the hole stack trace a name and can use $stacktrace 
> in nagios will work?
>
> Thanks in advance.
>
> On Sat, Sep 15, 2012 at 12:31 AM, PRA  > wrote:
>
>     The script shoud generate two types of out put (return code and
>     text ), If the can be anything if you pass the stack trace to text
>     it would print that only
>     in the alerts
>     -S
>
>
>     On 9/14/2012 7:22 PM, Aravinth Anto wrote:
>>     Hello all,
>>
>>     I wish to customize my email alerts that is sent by Nagios. Say
>>     for example, I want to send the email along with error trace of
>>     Tomcat which caused the exception.
>>
>>
>>     Are there any ways to do it?
>>
>>
>>     Thanks in advance.
>>
>>
>>
>>
>>     ------------------------------------------------------------------------------
>>     Got visibility?
>>     Most devs has no idea what their production app looks like.
>>     Find out how fast your code is with AppDynamics Lite.
>>     http://ad.doubleclick.net/clk;262219671;13503038;y?
>>     http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>>
>>
>>     _______________________________________________
>>     Nagios-users mailing list
>>     Nagios-users at 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
>
>
>     ------------------------------------------------------------------------------
>     Got visibility?
>     Most devs has no idea what their production app looks like.
>     Find out how fast your code is with AppDynamics Lite.
>     http://ad.doubleclick.net/clk;262219671;13503038;y?
>     http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>     _______________________________________________
>     Nagios-users mailing list
>     Nagios-users at 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
>
>
>
>
> ------------------------------------------------------------------------------
> How fast is your code?
> 3 out of 4 devs don\\\'t know how their code performs in production.
> Find out how slow your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219672;13503038;z?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From bseklecki at probikesllc.com  Sat Sep 15 18:57:38 2012
From: bseklecki at probikesllc.com (Brian Seklecki)
Date: Sat, 15 Sep 2012 12:57:38 -0400
Subject: Nagios 4: Call for testing
In-Reply-To: 
References: <50525781.5060907@op5.se>
	<1BE31CF2-4235-4EE7-AC47-0ECDC5784F8F@statefarm.com>
	
Message-ID: <5054B382.9070907@probikesllc.com>

On 9/14/2012 4:23 PM, Daniel Wittenberg wrote:
> First build of the RPM's are below.  So far we've been using them 
> during testing but not in any kind of production environment so let me 
> know if any issues/changes.
>
> https://github.com/dwittenberg2008/nagios/tree/master/rpms
>
> Dan
>

We should get FreeBSD Ports, OpenBSD ports, and NetBSD pkgsrc makefiles 
prepped as well.

Once its into NetBSD Pkgsrc, people non-RHEL platforms can get 
exposure.  That's where you'll run into all of your threading, 
preprocessor, and autoconf Makefile errors.

These will require a snapshot/tag tarball of SVN be published to a URL.

Also Is nagios-3.99.95.tar.gz derived from trunk/ svn co?    What rev #?

Or is it safe to assume that the rev # is within within a hour of 
09-14-2012 @ 14:16 GMT (mtime of the tarball)?


Thanks,

-- 
Brian A. Seklecki 
CE-Pro Bikes, LLC
412-378-3823 (m)
PGP Key Available Upon Request

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel

From bseklecki at probikesllc.com  Sat Sep 15 18:47:56 2012
From: bseklecki at probikesllc.com (Brian Seklecki)
Date: Sat, 15 Sep 2012 12:47:56 -0400
Subject: Nagios 4: Call for testing
In-Reply-To: <50537F3E.70708@flatto.net>
References: <50525781.5060907@op5.se> <50537F3E.70708@flatto.net>
Message-ID: <5054B13C.70907@probikesllc.com>

> Doing the svn check out , i get a svn dump of all nagios versions except
> 4 , and browsing the svn shows no trace of the nagios4 branch .
>
> Can you specify the exact branch to check out ?

Assaf:

This is more of a general-SVN-Usage question.  Trunk, Branches, and Tags 
("snapshots").  However, if you haven't worked in a development 
environment that utilizes SVN, you may not know how internal directory 
structure within SVN relates to release engineering.

The SVN Redbook will help you out here.  Go compare to other F/OSS 
projects.

However, with Andreass's remark that release 4.0 will be "very soon", I 
suspect that you'll start to see an SVN branch soon at: 
../nagioscore/branch/nagios-4 or nagios-4-0

-- 
Brian A. Seklecki 
CE-Pro Bikes, LLC
412-378-3823 (m)
PGP Key Available Upon Request


------------------------------------------------------------------------------
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 at 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




From t-aravinth at juspay.in  Mon Sep 17 11:10:07 2012
From: t-aravinth at juspay.in (Aravinth Anto)
Date: Mon, 17 Sep 2012 14:40:07 +0530
Subject: How to customize nagios alerts?
In-Reply-To: <50568517.60900@gmail.com>
References: 
	<50537F01.8040206@gmail.com>
	
	<50568517.60900@gmail.com>
Message-ID: 

On Mon, Sep 17, 2012 at 7:34 AM, PRA  wrote:

>  if your echo statement has $stacktrace it will print that only till to
> the limit "Additional Info field".
>
> NAGIOS gets string and return code from its plugins.String is to print the
> message and return code is to identify the type of alert
> (ok,warning,critical).
> So as long as you send it to nagios to this format it identifies.
>
> Now coming to your script, you echo statements at the last part of IF ,
> Should have your stack trace.
>
> ============SNIP=============
>
>         then
>             echo "$stacktrace"    #### The stack trace should hold the
> stack trace string.
>         exit $ST_CR
>
> ===========SNIP===========
>
>
> -PRA
>
>
Thanks for your reply. It works now.


> On 9/15/2012 8:56 AM, Aravinth Anto wrote:
>
> Hi
>
>  Thanks for the reply. I have attached my script. And if I say I'm
> returning the stack trace from my script, how come Nagios will know that? I
> can name the hole stack trace a name and can use $stacktrace in nagios will
> work?
>
>  Thanks in advance.
>
> On Sat, Sep 15, 2012 at 12:31 AM, PRA  wrote:
>
>>  The script shoud generate two types of out put (return code and text ),
>> If the can be anything if you pass the stack trace to text it would print
>> that only
>> in the alerts
>> -S
>>
>>
>> On 9/14/2012 7:22 PM, Aravinth Anto wrote:
>>
>>  Hello all,
>>
>>  I wish to customize my email alerts that is sent by Nagios. Say for
>> example, I want to send the email along with error trace of Tomcat which
>> caused the exception.
>>
>>
>>  Are there any ways to do it?
>>
>>
>>  Thanks in advance.
>>
>>
>>
>>
>>   ------------------------------------------------------------------------------
>> Got visibility?
>> Most devs has no idea what their production app looks like.
>> Find out how fast your code is with AppDynamics Lite.http://ad.doubleclick.net/clk;262219671;13503038;y?http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>>
>>
>>
>> _______________________________________________
>> Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://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
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Got visibility?
>> Most devs has no idea what their production app looks like.
>> Find out how fast your code is with AppDynamics Lite.
>> http://ad.doubleclick.net/clk;262219671;13503038;y?
>> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
>>
>
>
>
> ------------------------------------------------------------------------------
> How fast is your code?
> 3 out of 4 devs don\\\'t know how their code performs in production.
> Find out how slow your code is with AppDynamics Lite.http://ad.doubleclick.net/clk;262219672;13503038;z?http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>
>
>
> _______________________________________________
> Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://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
>
>
>
>
> ------------------------------------------------------------------------------
> 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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From rodrigofariat at yahoo.com.br  Mon Sep 17 16:43:02 2012
From: rodrigofariat at yahoo.com.br (rodrigo tavares)
Date: Mon, 17 Sep 2012 07:43:02 -0700 (PDT)
Subject: Beginning in Nagios
Message-ID: <1347892982.15225.YahooMailNeo@web124503.mail.ne1.yahoo.com>

Hello,

I have a Debian 6.0 workstation, and i want install nagios in this machine.
In debian packages I see:

nagios-nrpe-server
nagios3
nagios-nrpe-plugin
nagios-plugins?

What packages I can to install in client and in server ?

Thanks.

Rodrigo Faria
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From ae at op5.se  Mon Sep 17 17:17:06 2012
From: ae at op5.se (Andreas Ericsson)
Date: Mon, 17 Sep 2012 17:17:06 +0200
Subject: Nagios 4: Call for testing
In-Reply-To: <5054B382.9070907@probikesllc.com>
References: <50525781.5060907@op5.se>
	<1BE31CF2-4235-4EE7-AC47-0ECDC5784F8F@statefarm.com>
	
	<5054B382.9070907@probikesllc.com>
Message-ID: <50573EF2.60003@op5.se>

On 09/15/2012 06:57 PM, Brian Seklecki wrote:
> On 9/14/2012 4:23 PM, Daniel Wittenberg wrote:
>> First build of the RPM's are below.  So far we've been using them
>> during testing but not in any kind of production environment so let
>> me know if any issues/changes.
>> 
>> https://github.com/dwittenberg2008/nagios/tree/master/rpms
>> 
>> Dan
>> 
> 
> We should get FreeBSD Ports, OpenBSD ports, and NetBSD pkgsrc
> makefiles prepped as well.
> 
> Once its into NetBSD Pkgsrc, people non-RHEL platforms can get
> exposure.  That's where you'll run into all of your threading,
> preprocessor, and autoconf Makefile errors.
> 

Threading has been removed, partially for this reason. It won't be
an issue anymore.

> These will require a snapshot/tag tarball of SVN be published to a
> URL.
> 
> Also Is nagios-3.99.95.tar.gz derived from trunk/ svn co?    What rev
> #?
> 

Yes it is.
git commit 7824598c1f9d4a6900253409523277c28433ffba
svn revision @2216

It's positively ancient already though. I'm working several hours per
day on Nagios 4 and I really can't chuck out a new version for every
feature I add and every bug I fix.

> Or is it safe to assume that the rev # is within within a hour of
> 09-14-2012 @ 14:16 GMT (mtime of the tarball)?
> 

Nope. Or maybe. The git<->svn conversion might do weird things to
the timestamps. The change is listed as having happened 09:06:22
but on the same date in my svn-synced git repo, which means I did
git-svn dcommit around then. In the long run, we'd be better off
putting up autobuild servers that build on each push and get
their version from an scm with version numbers on can actually
rely on (cough-git-cough).


-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
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/



From jeno.cram at us.pgds.com  Mon Sep 17 14:54:34 2012
From: jeno.cram at us.pgds.com (Cram, Jeno)
Date: Mon, 17 Sep 2012 12:54:34 +0000
Subject: check_swap for Solaris
Message-ID: <6933944765D5ED478074BAC6F7741629235ED198@USPRMBP01A.pgdsresource.local>

I noticed that check_swap doesn't compile on Solaris.  Is this by design?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From razvan.cojocaru at 1and1.ro  Tue Sep 18 16:03:55 2012
From: razvan.cojocaru at 1and1.ro (Razvan Cojocaru)
Date: Tue, 18 Sep 2012 16:03:55 +0200
Subject: Service* or host* in the object_ptr of a
	nebstruct_notification_struct?
Message-ID: <50587F4B.30401@1and1.ro>

Hello,

assuming something like this:

void process_notification(struct nebstruct_notification_struct *ndata)
{
	service *s = NULL;
	host *h = NULL;

	if(ndata) {
		if(ndata->type ... /* what? */) {
			s = (service *)ndata->object_ptr;
		} else {
			h = (host *)ndata->object_ptr;
		}
	}
}

How do I know if object_ptr points to a data, or a service struct
instance? Does the object_ptr member of a nebstruct_notification_struct
_always_ point to a service instance?

The function is called if(ndata->type == NEBTYPE_NOTIFICATION_START).


Thanks,
Razvan


------------------------------------------------------------------------------
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 at 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




From razvan.cojocaru at 1and1.ro  Tue Sep 18 16:16:49 2012
From: razvan.cojocaru at 1and1.ro (Razvan Cojocaru)
Date: Tue, 18 Sep 2012 16:16:49 +0200
Subject: Service* or host* in the object_ptr of a
	nebstruct_notification_struct?
In-Reply-To: <50587F4B.30401@1and1.ro>
References: <50587F4B.30401@1and1.ro>
Message-ID: <50588251.2080200@1and1.ro>

> How do I know if object_ptr points to a data, or a service struct
> instance? Does the object_ptr member of a nebstruct_notification_struct
> _always_ point to a service instance?

Nevermind, got it:

if(ndata->notification_type == SERVICE_NOTIFICATION)
	s = (service *)ndata->object_ptr;


Cheers,
Razvan


------------------------------------------------------------------------------
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 at 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




From lukas at laukamp.me  Tue Sep 18 23:57:58 2012
From: lukas at laukamp.me (Lukas Laukamp)
Date: Tue, 18 Sep 2012 23:57:58 +0200
Subject: Nagios and Infrastructure automatization
Message-ID: <5542321155dfa520a088b84c13686dc4@laukamp.me>

Hello all,

I am completely new to Nagios and I have a few questions about what is 
possible with it. I first will describe my given infrastructure in which 
I want to use Nagios and what exactly I want to do with Nagios in this 
infrastructure.

I have a few active KVM Hosts with much running VMs, in the past I and 
other persons who have access to the infrastructure have done much tasks 
manually but we no longer have that much time to do this further. So I 
started to search for a solution for this problem. With Nagios I see a 
good method to monitor the infrastructure but is it possible to solve 
the primary problem of the automatization? So can I do things like 
automatic system updates, see the update state of all KVM Hosts and VMs, 
perform operations on different systems based on detailed selections and 
so on. I looked at the feature list of Nagios but the most keyfeatures 
which are described there are related to monitoring and it's not clear 
what Nagios can to in automatization and other areas.

If Nagios can't do this and someone know another good tool for 
automatziation which work good together with Nagios, would it be greate 
to adept more about it.

I'm thankful about every tipp, idea and suggestion.

Best Regards

PS: Sorry for my bed english

------------------------------------------------------------------------------
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 at 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




From daniel.wittenberg.r0ko at statefarm.com  Wed Sep 19 07:54:16 2012
From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg)
Date: Wed, 19 Sep 2012 05:54:16 +0000
Subject: Nagios and Infrastructure automatization
In-Reply-To: <5542321155dfa520a088b84c13686dc4@laukamp.me>
References: <5542321155dfa520a088b84c13686dc4@laukamp.me>
Message-ID: 

Nagios isn't an automation tool, it's a monitoring tool.  It also doesn't do authorization, that would be something like LDAP.  I think what might help is to look at something like Puppet or Chef which can connect up with Nagios but provide some more automation tools.

Dan


On Sep 18, 2012, at 4:57 PM, Lukas Laukamp wrote:

> Hello all,
> 
> I am completely new to Nagios and I have a few questions about what is 
> possible with it. I first will describe my given infrastructure in which 
> I want to use Nagios and what exactly I want to do with Nagios in this 
> infrastructure.
> 
> I have a few active KVM Hosts with much running VMs, in the past I and 
> other persons who have access to the infrastructure have done much tasks 
> manually but we no longer have that much time to do this further. So I 
> started to search for a solution for this problem. With Nagios I see a 
> good method to monitor the infrastructure but is it possible to solve 
> the primary problem of the automatization? So can I do things like 
> automatic system updates, see the update state of all KVM Hosts and VMs, 
> perform operations on different systems based on detailed selections and 
> so on. I looked at the feature list of Nagios but the most keyfeatures 
> which are described there are related to monitoring and it's not clear 
> what Nagios can to in automatization and other areas.
> 
> If Nagios can't do this and someone know another good tool for 
> automatziation which work good together with Nagios, would it be greate 
> to adept more about it.
> 
> I'm thankful about every tipp, idea and suggestion.
> 
> Best Regards
> 
> PS: Sorry for my bed english
> 
> ------------------------------------------------------------------------------
> 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 at 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


------------------------------------------------------------------------------
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 at 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




From work at paul.dubuc.org  Wed Sep 19 16:50:09 2012
From: work at paul.dubuc.org (Paul Dubuc)
Date: Wed, 19 Sep 2012 10:50:09 -0400
Subject: Nagios and Infrastructure automatization
In-Reply-To: 
References: <5542321155dfa520a088b84c13686dc4@laukamp.me>
	
Message-ID: <5059DBA1.6070304@paul.dubuc.org>


> On Sep 18, 2012, at 4:57 PM, Lukas Laukamp wrote:
>
>> Hello all,
>>
>> I am completely new to Nagios and I have a few questions about what is
>> possible with it. I first will describe my given infrastructure in which
>> I want to use Nagios and what exactly I want to do with Nagios in this
>> infrastructure.
>>
>> I have a few active KVM Hosts with much running VMs, in the past I and
>> other persons who have access to the infrastructure have done much tasks
>> manually but we no longer have that much time to do this further. So I
>> started to search for a solution for this problem. With Nagios I see a
>> good method to monitor the infrastructure but is it possible to solve the
>> primary problem of the automatization? So can I do things like automatic
>> system updates, see the update state of all KVM Hosts and VMs, perform
>> operations on different systems based on detailed selections and so on. I
>> looked at the feature list of Nagios but the most keyfeatures which are
>> described there are related to monitoring and it's not clear what Nagios
>> can to in automatization and other areas.
>>
>> If Nagios can't do this and someone know another good tool for
>> automatziation which work good together with Nagios, would it be greate
>> to adept more about it.
>>
>> I'm thankful about every tipp, idea and suggestion.
>>
>> Best Regards
>>
>> PS: Sorry for my bed english
>>
Daniel Wittenberg wrote:
 > Nagios isn't an automation tool, it's a monitoring tool.  It also doesn't
 > do authorization, that would be something like LDAP.  I think what might
 > help is to look at something like Puppet or Chef which can connect up with
 > Nagios but provide some more automation tools.
 >
 > Dan

Nagios can be used to automate tasks in response to problems using event 
handlers.  Whether this would meet Lucas' needs I don't know.

http://nagios.sourceforge.net/docs/nagioscore/3/en/eventhandlers.html


------------------------------------------------------------------------------
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 at 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




From John.Alberts at exlibrisgroup.com  Thu Sep 20 00:13:25 2012
From: John.Alberts at exlibrisgroup.com (John Alberts)
Date: Wed, 19 Sep 2012 22:13:25 +0000
Subject: Good reporting tool?
Message-ID: 

Hi.  I'm looking for a good reporting tool based on Nagios log files.  I've found some Perl scripts that do some basic reporting, but our company would really be interested in anything, including a commercial product, that would meet our needs.  The problem with all reporting tools I've found so far, is that they don't allow any manipulation of the data.  For example, we often have a false alert for various reasons, that should not be counted against an SLA, so we would like to be able to mark a particular Critical event to be ignored or even deleted all together so it doesn't count against the total OK time.  Also, sometimes there's needs to inject a downtime that Nagios may not have even registered as a Critical event so it does count against the SLA for a particular service.  For example, if the internet connection was down to the data center, essentially all of our customers are down, but since Nagios is inside our data center, it sees everything as up.  There are other reasons that I would need to adjust the data before reporting, but these are just two of the more common examples.
Does anyone know of anything that might fit this need?


Thanks
John


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From ae at op5.se  Sun Sep 23 12:40:20 2012
From: ae at op5.se (Andreas Ericsson)
Date: Sun, 23 Sep 2012 12:40:20 +0200
Subject: Livestatus with Nagios 4
Message-ID: <505EE714.8050901@op5.se>

Hey all.

This weekend I got together with some friends to port Livestatus to
Nagios 4. The idea was only to get it to build and be able to respond
to queries, and not to rewrite it to make use of libnagios or any of
the new Nagios infrastructure.

It only took about 20 minutes, and then a full hungover day when I
broke things apart so each change was made separate so other module
authors can view the commit log and patches and see what needs
changing. I had expected much more problems actually, but there
you go.

Anyways. The result can be fetched with this command:
  git clone git://github.com/ageric/livestatus

I wish to point out that I have no desire what so ever to create a
fork of livestatus, so the repository hosted there (which contains
only the module, and not check_mk, mk_multisite and the other stuff
in the official livestatus repo) should not be considered a stable
point that will always exist, but rather as a sort of patch-queue for
the official livestatus repo, which Mathias still hosts. I will
however make sure that it's kept in good working order with Nagios 4
until Nagios 4 is released properly and the patches are in upstream
livestatus somehow, when I'll most likely drop my partial clone
entirely.

Testing would be very welcome indeed.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html



From jnichols at pbp.net  Mon Sep 24 03:37:25 2012
From: jnichols at pbp.net (Jonathan Nichols)
Date: Mon, 24 Sep 2012 04:37:25 +0300
Subject: Test - ignore.
Message-ID: <8489F920-63F2-4E5F-BCCC-CFB4372E5B23@pbp.net>

Apologies, troubleshooting some delivery issues reported with sf.net lists. 

------------------------------------------------------------------------------
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 at 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




From ae at op5.se  Mon Sep 24 11:09:42 2012
From: ae at op5.se (Andreas Ericsson)
Date: Mon, 24 Sep 2012 11:09:42 +0200
Subject: Livestatus with Nagios 4
In-Reply-To: <50601A18.3090004@mathias-kettner.de>
References: <505EE714.8050901@op5.se> <50601A18.3090004@mathias-kettner.de>
Message-ID: <50602356.7070208@op5.se>

On 09/24/2012 10:30 AM, Mathias Kettner wrote:
> Hi Andreas,
> 
> thanks for your work! We're quite busy so we had no time yet to
> even try out Nagios 4.
> 
> Do you think it would be easily possible to have a common code
> base for N3 and N4 for Livestatus (kind of #ifdef)?
> 

Since most Nagios headers are included from a single place, it
shouldn't be that hard. I'm not sure I'll have time to look into it
before the conference (as I haven't written my presentations yet),
but I'll look into it. Nagios 3 will be default in that case, and
Nagios 4 will have to be enabled explicitly. My autoconf-fu is
pretty weak, but I think I could manage that.

> Also I've seen that you removed some columns that seem to not
> exist in N4. We'd need at least dummy columns here so that
> code relying on that columns will not break.
> 

Good idea. I'll readd them.

Thanks for the feedback :)

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
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/



From justinp at norchemlab.com  Wed Sep 26 00:53:45 2012
From: justinp at norchemlab.com (Justin T Pryzby)
Date: Tue, 25 Sep 2012 15:53:45 -0700
Subject: compact definition of multiple hosts or service
	groups?
Message-ID: <20120925225345.GA16257@norchemlab.com>

Hi Everyone,

I was never able to resolve this question I initially asked some 18
months ago.

Is there any way to define multiple hosts in a single stanza?

I currently have a 600 line long file with handsful of 50+ definitions
like:

define host {
	use		host0
	host_name	x
	parents		y
}

It seems to me, that it "should" be allowed to define all the hosts
with the same parent (etc) in one stanza, rather than having 10
stanzas for that.  That would reduce duplicated information, make the
config file 5x shorter and comparably more maintainable.  Is there
really no implemented mechanism to defining multiple hosts having
identical information without using a separate stanza for each?

Thanks,
Justin

------------------------------------------------------------------------------
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 at 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




From W.Holdorp at iiyama.com  Wed Sep 26 10:21:31 2012
From: W.Holdorp at iiyama.com (Wilco Holdorp | iiyama)
Date: Wed, 26 Sep 2012 10:21:31 +0200
Subject: compact definition of multiple hosts or
	service	groups?
In-Reply-To: <20120925225345.GA16257@norchemlab.com>
References: <20120925225345.GA16257@norchemlab.com>
Message-ID: <951F9C2D71AB8E40899FF6354CAE2EC825F308C5D2@SRV-W2K8-EX1>

Hi Justin,

As far as I know, each host/device in the network needs to be defined seperate.
Maybe you can break it up into seperate files, for customers/networks?

BR Wilco

-----Original Message-----
From: Justin T Pryzby [mailto:justinp at norchemlab.com]
Sent: woensdag 26 september 2012 0:54
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] compact definition of multiple hosts or service groups?


Hi Everyone,

I was never able to resolve this question I initially asked some 18 months ago.

Is there any way to define multiple hosts in a single stanza?

I currently have a 600 line long file with handsful of 50+ definitions
like:

define host {
        use             host0
        host_name       x
        parents         y
}

It seems to me, that it "should" be allowed to define all the hosts with the same parent (etc) in one stanza, rather than having 10 stanzas for that.  That would reduce duplicated information, make the config file 5x shorter and comparably more maintainable.  Is there really no implemented mechanism to defining multiple hosts having identical information without using a separate stanza for each?

Thanks,
Justin

------------------------------------------------------------------------------
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 at 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

Disclaimer:This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of iiyama International.

If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone.

Please contact the sender if you believe you have received this email in error.

------------------------------------------------------------------------------
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 at 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




From dgrgicevic at gmail.com  Wed Sep 26 10:47:46 2012
From: dgrgicevic at gmail.com (davor grgicevic)
Date: Wed, 26 Sep 2012 10:47:46 +0200
Subject: compact definition of multiple hosts or service
	groups?
In-Reply-To: <20120925225345.GA16257@norchemlab.com>
References: <20120925225345.GA16257@norchemlab.com>
Message-ID: 

Hi  Justin

for  that you  can  use  different  approach:

I  do  for  each  host a  different cfg file,   and  they  are  stored
into  different directories defined in main configuration, on  this  way
is  adding or  removing  hosts easy  as  in  this  case  u  can  use
templates...

hope  this  help


davor


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

*


*
On Wed, Sep 26, 2012 at 12:53 AM, Justin T Pryzby wrote:

> Hi Everyone,
>
> I was never able to resolve this question I initially asked some 18
> months ago.
>
> Is there any way to define multiple hosts in a single stanza?
>
> I currently have a 600 line long file with handsful of 50+ definitions
> like:
>
> define host {
>         use             host0
>         host_name       x
>         parents         y
> }
>
> It seems to me, that it "should" be allowed to define all the hosts
> with the same parent (etc) in one stanza, rather than having 10
> stanzas for that.  That would reduce duplicated information, make the
> config file 5x shorter and comparably more maintainable.  Is there
> really no implemented mechanism to defining multiple hosts having
> identical information without using a separate stanza for each?
>
> Thanks,
> Justin
>
>
> ------------------------------------------------------------------------------
> 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 at 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
>



-- 
Davor Grgicevic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From fj6573ez at aa.jp.fujitsu.com  Wed Sep 26 15:10:32 2012
From: fj6573ez at aa.jp.fujitsu.com (=?ISO-2022-JP?B?GyRCPyVFRCEhQC5IdBsoQg==?=)
Date: Wed, 26 Sep 2012 22:10:32 +0900
Subject: Nagios halted suddenly
Message-ID: <5062FEC8.30400@aa.jp.fujitsu.com>

Hi everyone,

Nagios(3.0.6) had suddenly halted during system operation.

Following is the event timeline.
######################################
Aug 27, 1:15 Warning: Check result queue contained results for host
'%)', but the host could not be found!
Perhaps you forgot to define the host in your config files?
Aug 27, 1:16 Nagios halted
Aug 27, 9:00 Nagios manually started by the system administrator
######################################
Corresponding host("%)") is not registered in the Nagios(3.0.6).

We would need to find out the reason why the Nagios halted suddenly.
This issue is first time and It does not happen even once.

We are planning to upgrade to Nagios(3.2.3) during this year.
Will you be improved by upgrading?
Please tell me if the contents are improved.

Best Regards,
Masataka Oda

-- 
**********************************************************************
??????????????????????
 ???????????? ???????
   ?????
    E-Mail :fj6573ez at aa.jp.fujitsu.com
    Tel    : 044-739-1314
**********************************************************************






------------------------------------------------------------------------------
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 at 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




From Schimpke.Thomas at bhn-services.com  Wed Sep 26 15:57:43 2012
From: Schimpke.Thomas at bhn-services.com (Schimpke, Dr. Thomas - bhn)
Date: Wed, 26 Sep 2012 15:57:43 +0200
Subject: Using "contacts" in host definition -- Bug ?
Message-ID: <137B4E3B8F30074EADD080AA8A6E2A93161F8874F6@ZDE070.lenze.com>

Hi,

I noticed some strange behaviour if I add a contact to a host definition
in Nagios 3.3.2 (or so) and 3.4.1. It seems, that if I add a contact to
a host, this contact will be automatically added to all services on this
host also - I've checked this using the objects cache file. This kind of
inheritance does not seem to happen with normal contact groups.

>From the documentation:  "This is a list of the short names of the
contacts that should be notified whenever there are problems (or
recoveries) with this host..." 

One may read this like: ...the list of contacts is notified for each and
every problem (even in the services) associated with the host. 

But for the contact_groups: "This is a list of the short names of the
contact groups that should be notified whenever there are problems (or
recoveries) with this host." 

And there this kind of inheritance does not take place. So at least, the
behaviour is inconsistent - but I suspect this is a bug. You may want to
have a phone call in the middle of the night, because your server went
down....But I think you don't want to have a call for *all* services on
the host...

Cheers,

Thomas




------------------------------------------------------------------------------
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 at 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




From mark.frost1 at pepsico.com  Wed Sep 26 16:25:13 2012
From: mark.frost1 at pepsico.com (Frost, Mark {BIS})
Date: Wed, 26 Sep 2012 10:25:13 -0400
Subject: Using "contacts" in host definition -- Bug ?
In-Reply-To: <137B4E3B8F30074EADD080AA8A6E2A93161F8874F6@ZDE070.lenze.com>
References: <137B4E3B8F30074EADD080AA8A6E2A93161F8874F6@ZDE070.lenze.com>
Message-ID: 

I believe this is a "feature" introduced in 3.3 or thereabouts.  I've
always found it very irritating and wish there was some way to turn
off inheriting host contacts/contactgroups to services as it's never
what I want.

Mark

-----Original Message-----
From: Schimpke, Dr. Thomas - bhn [mailto:Schimpke.Thomas at bhn-services.com] 
Sent: Wednesday, September 26, 2012 9:58 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Using "contacts" in host definition -- Bug ?

Hi,

I noticed some strange behaviour if I add a contact to a host definition
in Nagios 3.3.2 (or so) and 3.4.1. It seems, that if I add a contact to
a host, this contact will be automatically added to all services on this
host also - I've checked this using the objects cache file. This kind of
inheritance does not seem to happen with normal contact groups.

>From the documentation:  "This is a list of the short names of the
contacts that should be notified whenever there are problems (or
recoveries) with this host..." 

One may read this like: ...the list of contacts is notified for each and
every problem (even in the services) associated with the host. 

But for the contact_groups: "This is a list of the short names of the
contact groups that should be notified whenever there are problems (or
recoveries) with this host." 

And there this kind of inheritance does not take place. So at least, the
behaviour is inconsistent - but I suspect this is a bug. You may want to
have a phone call in the middle of the night, because your server went
down....But I think you don't want to have a call for *all* services on
the host...

Cheers,

Thomas




------------------------------------------------------------------------------
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 at 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

------------------------------------------------------------------------------
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 at 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




From ae at op5.se  Thu Sep 27 21:08:18 2012
From: ae at op5.se (Andreas Ericsson)
Date: Thu, 27 Sep 2012 14:08:18 -0500
Subject: Using "contacts" in host definition -- Bug ?
In-Reply-To: 
References: <137B4E3B8F30074EADD080AA8A6E2A93161F8874F6@ZDE070.lenze.com>
	
Message-ID: <5064A422.1030208@op5.se>

On 09/26/2012 09:25 AM, Frost, Mark {BIS} wrote:
> I believe this is a "feature" introduced in 3.3 or thereabouts.  I've
> always found it very irritating and wish there was some way to turn
> off inheriting host contacts/contactgroups to services as it's never
> what I want.
> 

It's a half misfeature. The intention was (and is) that services with no
contactgroups OR contacts should inherit the ones from the host, but it
was coded up so that if the service had contactgroups (but not contacts)
it would inherit contacts (but not contactgroups) from the host. The same
applied when the service had contacts but no contactgroups and the host
had contactgroups.

In 4.0 this is fixed so only services with neither contacts nor contact-
groups inherit them from the host.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mark.frost1 at pepsico.com  Thu Sep 27 21:37:36 2012
From: mark.frost1 at pepsico.com (Frost, Mark {BIS})
Date: Thu, 27 Sep 2012 15:37:36 -0400
Subject: Using "contacts" in host definition -- Bug ?
In-Reply-To: <5064A422.1030208@op5.se>
References: <137B4E3B8F30074EADD080AA8A6E2A93161F8874F6@ZDE070.lenze.com>
	
	<5064A422.1030208@op5.se>
Message-ID: 



> -----Original Message-----
> From: Andreas Ericsson [mailto:ae at op5.se] 
> Sent: Thursday, September 27, 2012 3:08 PM
> To: Nagios Users List
> Cc: Frost, Mark {BIS}
> Subject: Re: [Nagios-users] Using "contacts" in host definition -- Bug ?

> On 09/26/2012 09:25 AM, Frost, Mark {BIS} wrote:
>> I believe this is a "feature" introduced in 3.3 or thereabouts.  I've
>> always found it very irritating and wish there was some way to turn
>> off inheriting host contacts/contactgroups to services as it's never
>> what I want.
>> 

> It's a half misfeature. The intention was (and is) that services with no
> contactgroups OR contacts should inherit the ones from the host, but it
> was coded up so that if the service had contactgroups (but not contacts)
> it would inherit contacts (but not contactgroups) from the host. The same
> applied when the service had contacts but no contactgroups and the host
> had contactgroups.

> In 4.0 this is fixed so only services with neither contacts nor contact-
> groups inherit them from the host.

> -- 
> Andreas Ericsson                   andreas.ericsson at op5.se

I still see that as a misfeature.   I would rather have the preflight
check tell me there's an error because I forgot to define contacts
for the service than for it to assume that what I want is anything to
be inherited from a host definition.   I'd be OK if that were the default
behavior and was configurable, but I'd be the first to disable that
in nagios.cfg if it were a configurable preference.  Yeah, I know,
patches gleefully accepted :-).

Mark

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From ae at op5.se  Thu Sep 27 21:58:08 2012
From: ae at op5.se (Andreas Ericsson)
Date: Thu, 27 Sep 2012 14:58:08 -0500
Subject: Using "contacts" in host definition -- Bug ?
In-Reply-To: 
References: <137B4E3B8F30074EADD080AA8A6E2A93161F8874F6@ZDE070.lenze.com>
	
	<5064A422.1030208@op5.se>
	
Message-ID: <5064AFD0.9090504@op5.se>

On 09/27/2012 02:37 PM, Frost, Mark {BIS} wrote:
> 
> 
>> -----Original Message-----
>> From: Andreas Ericsson [mailto:ae at op5.se]
>> Sent: Thursday, September 27, 2012 3:08 PM
>> To: Nagios Users List
>> Cc: Frost, Mark {BIS}
>> Subject: Re: [Nagios-users] Using "contacts" in host definition -- Bug ?
> 
>> On 09/26/2012 09:25 AM, Frost, Mark {BIS} wrote:
>>> I believe this is a "feature" introduced in 3.3 or thereabouts.  I've
>>> always found it very irritating and wish there was some way to turn
>>> off inheriting host contacts/contactgroups to services as it's never
>>> what I want.
>>>
> 
>> It's a half misfeature. The intention was (and is) that services with no
>> contactgroups OR contacts should inherit the ones from the host, but it
>> was coded up so that if the service had contactgroups (but not contacts)
>> it would inherit contacts (but not contactgroups) from the host. The same
>> applied when the service had contacts but no contactgroups and the host
>> had contactgroups.
> 
>> In 4.0 this is fixed so only services with neither contacts nor contact-
>> groups inherit them from the host.
> 
>> -- 
>> Andreas Ericsson                   andreas.ericsson at op5.se
> 
> I still see that as a misfeature.   I would rather have the preflight
> check tell me there's an error because I forgot to define contacts
> for the service than for it to assume that what I want is anything to
> be inherited from a host definition.   I'd be OK if that were the default
> behavior and was configurable, but I'd be the first to disable that
> in nagios.cfg if it were a configurable preference.  Yeah, I know,
> patches gleefully accepted :-).
> 

Well, disabling object inheritance completely is pretty simple. Doing
it on a per-variable basis is less so.

I'm on the fence with this. On the one hand I really don't care what
the default is. On the other hand I really don't want bugreports from
people who're relying on that feature and suddenly realize it's gone
missing.

As a workaround for your particular case, you could specify a catch-all
service template which other service templates reference, where you set
contactgroups and contacts to something that doesn't exist. That way
you'll get your error and I can dodge bugreports ;)

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Nagios-users mailing list
Nagios-users at 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