Re: [Nagios-users] Nagios Macros: SERVICEDURATION Vs HOSTDURATION

2012-09-06 Thread Simone Felici
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Created my new plugin. Suggestions please!

2012-09-06 Thread Aravinth Anto
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.


check_match_pattern.sh
Description: Bourne shell script
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Created my new plugin. Suggestions please!

2012-09-06 Thread Aravinth Anto
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 t-aravi...@juspay.in 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.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Problem in Installing the graph plugin.

2012-09-06 Thread Aravinth Anto
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 james.osbo...@citrix.comwrote:

 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://server/nagiosgraph/cgi-bin/showconfig.cgi or
 http://server/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-aravi...@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@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: 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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Problem in Installing the graph plugin.

2012-09-06 Thread James Osbourn
You will need to install the RRD package.  How you do this will depend on your 
operating system.

James

From: Aravinth Anto [mailto:t-aravi...@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.plhttp://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 
james.osbo...@citrix.commailto:james.osbo...@citrix.com 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://server/nagiosgraph/cgi-bin/showconfig.cgihttp://%3cserver%3e/nagiosgraph/cgi-bin/showconfig.cgi
 or 
http://server/nagiosgraph/cgi-bin/show.cgihttp://%3cserver%3e/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-aravi...@juspay.inmailto:t-aravi...@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.plhttp://install.pl as

sudo ./install.plhttp://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@lists.sourceforge.netmailto:Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Problem in Installing the graph plugin.

2012-09-06 Thread Aravinth Anto
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 james.osbo...@citrix.comwrote:

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

 ** **

 James

 ** **

 *From:* Aravinth Anto [mailto:t-aravi...@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 james.osbo...@citrix.com
 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://server/nagiosgraph/cgi-bin/showconfig.cgi or
 http://server/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-aravi...@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@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: 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@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Problem in Installing the graph plugin.

2012-09-06 Thread Aravinth Anto
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 t-aravi...@juspay.in 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 james.osbo...@citrix.comwrote:

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

 ** **

 James

 ** **

 *From:* Aravinth Anto [mailto:t-aravi...@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 james.osbo...@citrix.com
 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://server/nagiosgraph/cgi-bin/showconfig.cgi or
 http://server/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-aravi...@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@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: 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@lists.sourceforge.net
 

Re: [Nagios-users] Problem in Installing the graph plugin.

2012-09-06 Thread FTL Nagios
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-aravi...@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 t-aravi...@juspay.in 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 james.osbo...@citrix.com
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-aravi...@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 james.osbo...@citrix.com
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:// http://%3cserver%3e/nagiosgraph/cgi-bin/showconfig.cgi
server/nagiosgraph/cgi-bin/showconfig.cgi or http://
http://%3cserver%3e/nagiosgraph/cgi-bin/show.cgi
server/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-aravi...@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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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 

Re: [Nagios-users] Problem in Installing the graph plugin.

2012-09-06 Thread Aravinth Anto
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 ftlnag...@gmail.com 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-aravi...@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 t-aravi...@juspay.in
 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 james.osbo...@citrix.com
 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-aravi...@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 james.osbo...@citrix.com
 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://server/nagiosgraph/cgi-bin/showconfig.cgi or
 http://server/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-aravi...@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@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS 

Re: [Nagios-users] Problem in Installing the graph plugin.

2012-09-06 Thread Tech Support
 

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-aravi...@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 ftlnag...@gmail.com 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-aravi...@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 t-aravi...@juspay.in 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 james.osbo...@citrix.com
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-aravi...@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 james.osbo...@citrix.com
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:// http://%3cserver%3e/nagiosgraph/cgi-bin/showconfig.cgi
server/nagiosgraph/cgi-bin/showconfig.cgi or http://
http://%3cserver%3e/nagiosgraph/cgi-bin/show.cgi
server/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-aravi...@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

Re: [Nagios-users] Problem in Installing the graph plugin.

2012-09-06 Thread FTL Nagios
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-aravi...@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 ftlnag...@gmail.com 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-aravi...@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 t-aravi...@juspay.in 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 james.osbo...@citrix.com
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-aravi...@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 james.osbo...@citrix.com
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:// http://%3cserver%3e/nagiosgraph/cgi-bin/showconfig.cgi
server/nagiosgraph/cgi-bin/showconfig.cgi or http://
http://%3cserver%3e/nagiosgraph/cgi-bin/show.cgi
server/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-aravi...@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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please 

Re: [Nagios-users] Problem in Installing the graph plugin.

2012-09-06 Thread Aravinth Anto
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 ftlnag...@gmail.com 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-aravi...@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 ftlnag...@gmail.com 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-aravi...@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 t-aravi...@juspay.in
 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 james.osbo...@citrix.com
 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-aravi...@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 james.osbo...@citrix.com
 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

  

 

Re: [Nagios-users] Problem in Installing the graph plugin.

2012-09-06 Thread FTL Nagios
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-aravi...@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 ftlnag...@gmail.com 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-aravi...@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 ftlnag...@gmail.com 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-aravi...@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 t-aravi...@juspay.in 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 james.osbo...@citrix.com
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-aravi...@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 james.osbo...@citrix.com
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, 

[Nagios-users] check_areca via LAN (SNMP)?

2012-09-06 Thread Sven Geggus
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 areca-ip 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 areca-ip 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@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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null