Re: [Nagios-users] Querying nagios object information through command line

2012-05-17 Thread Yu Watanabe
Hi Wenhua

This looks interesting as well.
I will take a look at it.

Thanks,
Yu

Wenhua Zhang さんは書きました:
Hi Yu,
I think status-txt may do some help for you.
status-txt is implemented to duplicate the output of status.cgi in
plain text to achieve this goal, making it easier for other
applications/services to use Nagios data. You can also get the source
code from github https://github.com/shiziwen/nagios-status2txt;.

Besides plain text, there have been some other format you can use, XML and 
JSON.
JOSN: 
http://exchange.nagios.org/directory/Addons/APIs/JSON/status-2Djson/details
XML: http://svn.jasonantman.com/nagios-xml/statusXML-krzywanski.php,
and this(c version of nagios-xml:
http://svn.jasonantman.com/nagios-xml/php_module/), which maybe more
usefull for light-weight or high-performance purpose.

I hope it can do some help for you.

2012/5/17 Yu Watanabe yu.watan...@jp.fujitsu.com:
 Benny , Ritchie , Daniel

 Thank you for the advice.

 I will take a look at the mklivestatus.

 Thanks.
 Yu

 C. Bensend 、オ、〓マ抱、ュ、゛、キ、ソ:

 Is there a script or a module that can be called through a command line
 and can retrieve nagios object definition , host , service?

 I am thinking of calling from php program.

 I found that config.cgi has an ability of fetching the object definition
 but it seems that it returns html info.

 It would be helpful if someone can share their thoughts.

Livestatus can do this, and it's MUCH quicker/more lightweight/better
(IMHO) than NDOUtils.

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

Benny


--
The problem with quotes on the internet is that it's very hard to
verify their authenticity.   -- Abraham Lincoln



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

__

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


[Nagios-users] Handling large amount of syslogs with nagios

2012-05-17 Thread Yu Watanabe
Hi all!

I would like to ask for advice for following situation.

In a evironment where 1000 of network devices exists and 
nagios monitoring syslogs using passive checks (+syslog-ng) for every hosts,
 huge amount of notifications occurs when there are problem on
network device side. Syslogs will be sent to nagios as a chain reaction from 
every
devices although the source is only one device.

To elude this situation,
I am considering an alternate way to monitor syslog and
it would be helpful one can share their thoughts whom had 
faced similar situation and came up with cool idea.

My idea is that combination with file (or FIFO) + check_logs.pl (found this in 
nagios exchange)
Whenever syslog-ng receives the log, then writes it to file and
nagios actively checks the file with check_logs.pl . 
I thought that in this way it can check the logs in group and 
save number of notifications.

Thank you for reading.

Thanks,
Yu



--
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] Handling large amount of syslogs with nagios

2012-05-17 Thread Daniel Wittenberg
I would think you could eliminate a good portion of those with the right set of 
dependencies, but outside of that I would personally look at using an MQ to 
store the messages instead so you can more easily distribute the work and make 
it more scalable.

Dan

-Original Message-
From: Yu Watanabe [mailto:yu.watan...@jp.fujitsu.com] 
Sent: Thursday, May 17, 2012 5:03 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Handling large amount of syslogs with nagios

Hi all!

I would like to ask for advice for following situation.

In a evironment where 1000 of network devices exists and 
nagios monitoring syslogs using passive checks (+syslog-ng) for every hosts,
 huge amount of notifications occurs when there are problem on
network device side. Syslogs will be sent to nagios as a chain reaction from 
every
devices although the source is only one device.

To elude this situation,
I am considering an alternate way to monitor syslog and
it would be helpful one can share their thoughts whom had 
faced similar situation and came up with cool idea.

My idea is that combination with file (or FIFO) + check_logs.pl (found this in 
nagios exchange)
Whenever syslog-ng receives the log, then writes it to file and
nagios actively checks the file with check_logs.pl . 
I thought that in this way it can check the logs in group and 
save number of notifications.

Thank you for reading.

Thanks,
Yu



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


[Nagios-users] How many hosts and services are you monitoring with Nagios?

2012-05-17 Thread Max Schubert
Hi,

I like it when people periodically post numbers and architecture
summaries, I am guessing with the distributed frameworks out now for
Nagios this thread might be seeing bigger numbers than past threads
have.

With our custom-built distributed Nagios-based monitoring system, we
are currently monitoring 18000+ hosts every 5 minutes and 100k+ active
services (plenty of passive services in addition to the actives) every
5 mins as well.  We collect performance data from every check as well
and pass that on to a highly distributed and scalabe time-series data
warehouse another team in our organization has built (which is why we
have the 5 min interval requirement)

We also do trap ingest using SNMPTT with a few custom mods, but not
going to include those numbers as they never have required the
optimizations the polling has required.

This isn't a monolithic instance, we have 6 projects using instances
of our distributed Nagios-based software, called Racon (soon my
manager will give our team to package it as open source - so I hear at
least).  We built it on core Nagios with a custom database layer based
on a very very early version of Merlin's database abstraction layer
(thank you Andreas!) - we have a custom client/server network-based
notification framework in use (we will release that as well) along
with a custom NEB/perl based client-server framework (also releasable,
just need time scheduled) for sending and processing performance data
- the performance and notification framework are both horizontally
scalabe and network fault tolerant.

What kinds of numbers of hosts and services are you all monitoring?
Which add-ons / distributed frameworks are you using?

--
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] How many hosts and services are you monitoring with Nagios?

2012-05-17 Thread C. Bensend

 What kinds of numbers of hosts and services are you all monitoring?
 Which add-ons / distributed frameworks are you using?

At my ${CURRENT_JOB}, I'm monitoring around 600 hosts with just under
6000 services on a single VM running RHEL 5.  I do process perfdata
on the same node, and replicate all config data and state data to
a warm standby (also a VM).  Replication is done via MySQL replication
(for the config data) and NSCA (for the state data).  A custom perl
program dumps the extended state data (disabled notifications,
acknowledgements, etc) for import if needed.

Yes, I know, VM bad.  :)  Just not bad enough to spend real dollars on
more physical hosts.

This year, I will be bringing up a second pair of monitoring hosts at
a secondary data center, with much the same architecture.

Benny


-- 
The problem with quotes on the internet is that it's very hard to
verify their authenticity.   -- Abraham Lincoln



--
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] How many hosts and services are you monitoring with Nagios?

2012-05-17 Thread Mike Guthrie
Had to reply to this one since I actually studied Max's blog articles 
for ideas when I was researching performance tuning.  Thanks Max for not 
only pioneering some of these ideas, but actually documenting what you 
did.  ; )
http://www.semintelligent.com/blog/articles/38/nagios-performance-tuning-early-lessons-learned-lessons-shared-part-4-scalable-performance-data-graphing


  Nagios XI Benchmarking Test Box
- Running on one of our old Desktops:  1 Dual Core CPU, 4GB of RAM, 
CentOS 5.7
- Ndoutils/MySQL offloaded to a second server
- 1800 Hosts, 8200 services, 10k checks running every 5mn
- Processing perfdata for all checks
- rrdcached in use with PNP
- RAM Disk being used for status.dat, objects.cache, host-perfdata, 
service-perfdata, all spool and tmp directories



On 5/17/2012 9:43 AM, Max Schubert wrote:
 Hi,

 I like it when people periodically post numbers and architecture
 summaries, I am guessing with the distributed frameworks out now for
 Nagios this thread might be seeing bigger numbers than past threads
 have.

 With our custom-built distributed Nagios-based monitoring system, we
 are currently monitoring 18000+ hosts every 5 minutes and 100k+ active
 services (plenty of passive services in addition to the actives) every
 5 mins as well.  We collect performance data from every check as well
 and pass that on to a highly distributed and scalabe time-series data
 warehouse another team in our organization has built (which is why we
 have the 5 min interval requirement)

 We also do trap ingest using SNMPTT with a few custom mods, but not
 going to include those numbers as they never have required the
 optimizations the polling has required.

 This isn't a monolithic instance, we have 6 projects using instances
 of our distributed Nagios-based software, called Racon (soon my
 manager will give our team to package it as open source - so I hear at
 least).  We built it on core Nagios with a custom database layer based
 on a very very early version of Merlin's database abstraction layer
 (thank you Andreas!) - we have a custom client/server network-based
 notification framework in use (we will release that as well) along
 with a custom NEB/perl based client-server framework (also releasable,
 just need time scheduled) for sending and processing performance data
 - the performance and notification framework are both horizontally
 scalabe and network fault tolerant.

 What kinds of numbers of hosts and services are you all monitoring?
 Which add-ons / distributed frameworks are you using?

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


-- 


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


--
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] How many hosts and services are you monitoring with Nagios?

2012-05-17 Thread Max Schubert
On Thu, May 17, 2012 at 11:57 AM, C. Bensend be...@bennyvision.com wrote:
 Yes, I know, VM bad.  :)  Just not bad enough to spend real dollars on
 more physical hosts.

Nothing bad about using a VM, they just fall over horribly (generally
speaking) when you try to push the virtual machine's virtual CPU cores
and disk hard :p - kudos to you for making that work and pretty
interesting setup!

Thanks for sharing.

--
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] How many hosts and services are you monitoring with Nagios?

2012-05-17 Thread Max Schubert
On Thu, May 17, 2012 at 12:19 PM, Mike Guthrie mguth...@nagios.com wrote:
 Had to reply to this one since I actually studied Max's blog articles
 for ideas when I was researching performance tuning.  Thanks Max for not
 only pioneering some of these ideas, but actually documenting what you
 did.  ; )
 http://www.semintelligent.com/blog/articles/38/nagios-performance-tuning-early-lessons-learned-lessons-shared-part-4-scalable-performance-data-graphing

Wow!  Forgot about that, glad the ideas in it helped you - Nothing
pioneering (though thank you for saying that), I culled work from
others and my teammate and I then took that and built on it.

I am hoping we can release our network performance data sending
framework first, which was initially based on the PNP modpnpsender
module and has now been re-written from scratch by several of us based
on Andreas's test NEB module that showed how to use the NEB module to
write to a pipe with a process listening to the pipe in order to
minimize time spent in Nagios and therefore latency added by the
NEB-based add in.

  Nagios XI Benchmarking Test Box
 - Running on one of our old Desktops:  1 Dual Core CPU, 4GB of RAM,
 CentOS 5.7
 - Ndoutils/MySQL offloaded to a second server
 - 1800 Hosts, 8200 services, 10k checks running every 5mn
 - Processing perfdata for all checks
 - rrdcached in use with PNP
 - RAM Disk being used for status.dat, objects.cache, host-perfdata,
 service-perfdata, all spool and tmp directories

Nice!

--
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] How many hosts and services are you monitoring with Nagios?

2012-05-17 Thread Daniel Wittenberg
I actually wrote a NEB like this as well that we used to send data to a CGI and 
also used it for Splunk, just sending perf data, worked pretty well with almost 
no impact on the server side, just some increased network bandwidth.

Dan

-Original Message-
From: Max Schubert [mailto:m...@webwizarddesign.com] 
Sent: Thursday, May 17, 2012 11:32 AM
To: mguth...@nagios.com; Nagios Users List
Subject: Re: [Nagios-users] How many hosts and services are you monitoring with 
Nagios?


I am hoping we can release our network performance data sending
framework first, which was initially based on the PNP modpnpsender
module and has now been re-written from scratch by several of us based
on Andreas's test NEB module that showed how to use the NEB module to
write to a pipe with a process listening to the pipe in order to
minimize time spent in Nagios and therefore latency added by the
NEB-based add in.



--
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] Nagios Graphing of Unix Load Average

2012-05-17 Thread a . smith
Hi,

   not sure if Nagios addons are normally disussed here, but I have a  
questions relating to nagiosgraph.

Basically everything works great, except something odd on graphs for  
Unix/Linux systems for Load Average. The graphs themselves look fine,  
but the Avg and Cur values shown below the graphs are things like  
91.34m. Unix load average is normally a fraction, like 0.10 etc.  
Anyone any idea whats going on?
TBH my main issue is when graphing the RRD in Cacti its also showing  
up with huge number in the millions but the source of the issue seems  
to be something to do with nagiosgraph.

Any ideas gratefully recieved,

thanks, Andy.




--
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] Nagios Graphing of Unix Load Average

2012-05-17 Thread Claudio Kuenzler
On Thu, May 17, 2012 at 6:57 PM, a.sm...@ukgrid.net wrote:

 Hi,

   not sure if Nagios addons are normally disussed here, but I have a
 questions relating to nagiosgraph.

 Basically everything works great, except something odd on graphs for
 Unix/Linux systems for Load Average. The graphs themselves look fine,
 but the Avg and Cur values shown below the graphs are things like
 91.34m. Unix load average is normally a fraction, like 0.10 etc.
 Anyone any idea whats going on?


Nagiosgraph uses the 'm' when in the whole graph the load never reaches 1.0
.
So you can take 91.34m as 0.09 load.

As soon as the load has at least once reached 1.0, the smaller loads will
be shown as 0.9, 0.8, etc.


 TBH my main issue is when graphing the RRD in Cacti its also showing
 up with huge number in the millions but the source of the issue seems
 to be something to do with nagiosgraph.

 Any ideas gratefully recieved,

 thanks, Andy.





 --
 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] How many hosts and services are you monitoring with Nagios?

2012-05-17 Thread Yu Watanabe
Max.

Thank you very much for sharing the information . Very useful for us.

In addition , would it be possible to share the specification of
each servers , central server and distributed ones?

i.e CPU , Memory ,size of HDD

Thanks,
Yu

Hi,

I like it when people periodically post numbers and architecture
summaries, I am guessing with the distributed frameworks out now for
Nagios this thread might be seeing bigger numbers than past threads
have.

With our custom-built distributed Nagios-based monitoring system, we
are currently monitoring 18000+ hosts every 5 minutes and 100k+ active
services (plenty of passive services in addition to the actives) every
5 mins as well.  We collect performance data from every check as well
and pass that on to a highly distributed and scalabe time-series data
warehouse another team in our organization has built (which is why we
have the 5 min interval requirement)

We also do trap ingest using SNMPTT with a few custom mods, but not
going to include those numbers as they never have required the
optimizations the polling has required.

This isn't a monolithic instance, we have 6 projects using instances
of our distributed Nagios-based software, called Racon (soon my
manager will give our team to package it as open source - so I hear at
least).  We built it on core Nagios with a custom database layer based
on a very very early version of Merlin's database abstraction layer
(thank you Andreas!) - we have a custom client/server network-based
notification framework in use (we will release that as well) along
with a custom NEB/perl based client-server framework (also releasable,
just need time scheduled) for sending and processing performance data
- the performance and notification framework are both horizontally
scalabe and network fault tolerant.

What kinds of numbers of hosts and services are you all monitoring?
Which add-ons / distributed frameworks are you using?

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


[Nagios-users] is Multiple instances of broker_module possible?

2012-05-17 Thread Sugianto So
Hi All, 


Since I'm having a constant database crash with my centreon+nagios 
installation, I'm thinking to run 2 brokers, each feeding data to different 
servers. 
is running multiple instances of broker_module possible? 


-- 


Best Regards, 


Sugianto So 
LGA Telecom Pte Ltd 
Email: sugia...@lgatelecom.net 
Tel: (65) 6892 2308 
Website: http://www.lgatelecom.net 


--
 
Powering Next Generation Nationwide Broadband Network Solutions for Infinite 
Possibilities 
--
 

--
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] Querying nagios object information through command line

2012-05-17 Thread Wenhua Zhang
Hi Yu,
If you have any problem or idea about status-txt(or status-json and
statusXML), please fill free to let me know.


2012/5/17 Yu Watanabe yu.watan...@jp.fujitsu.com:
 Hi Wenhua

 This looks interesting as well.
 I will take a look at it.

 Thanks,
 Yu

 Wenhua Zhang さんは��きました:
Hi Yu,
I think status-txt may do some help for you.
status-txt is implemented to duplicate the output of status.cgi in
plain text to achieve this goal, making it easier for other
applications/services to use Nagios data. You can also get the source
code from github https://github.com/shiziwen/nagios-status2txt;.

Besides plain text, there have been some other format you can use, XML and 
JSON.
JOSN: 
http://exchange.nagios.org/directory/Addons/APIs/JSON/status-2Djson/details
XML: http://svn.jasonantman.com/nagios-xml/statusXML-krzywanski.php,
and this(c version of nagios-xml:
http://svn.jasonantman.com/nagios-xml/php_module/), which maybe more
usefull for light-weight or high-performance purpose.

I hope it can do some help for you.

2012/5/17 Yu Watanabe yu.watan...@jp.fujitsu.com:
 Benny , Ritchie , Daniel

 Thank you for the advice.

 I will take a look at the mklivestatus.

 Thanks.
 Yu

 C. Bensend 、オ、〓マ抱、ュ、�a、キ、ソ:

 Is there a script or a module that can be called through a command line
 and can retrieve nagios object definition , host , service?

 I am thinking of calling from php program.

 I found that config.cgi has an ability of fetching the object definition
 but it seems that it returns html info.

 It would be helpful if someone can share their thoughts.

Livestatus can do this, and it's MUCH quicker/more lightweight/better
(IMHO) than NDOUtils.

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

Benny


--
The problem with quotes on the internet is that it's very hard to
verify their authenticity.   -- Abraham Lincoln



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

__

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

--
Live Security 

[Nagios-users] does monitoring stop while nagios is flushing queued items?

2012-05-17 Thread Sugianto So
Hi all, 

My installation is centreon + nagios. 
Sometimes I need to do maintenance on mysql so I stop ndo2db and let nagios 
cache the result first. 
And when I start ndo2db, nagios will start flushing the items. 
I notice from the service perf data file, the data stops coming (or nagios not 
polling new data) while nagios is flushing queued item. 

I just want to confirm whether it is the behavior of nagios? If yes, any 
workaround for this? 

-- 


Best Regards, 


Sugianto So 


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