Hi all!
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
On Wed, May 16, 2012 at 9:14 AM, Yu Watanabe yu.watan...@jp.fujitsu.comwrote:
Hi all!
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
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.
On 05/15/2012 03:49 PM, Dennis Kuhlmeier wrote:
Hi Phil,
On 15.05.12 15:24, Randal, Phil wrote:
Hi Dennis,
Can you check out Nagios 3.4.1 and see if this fixes the problem?
sorry for not checking prior to posting.
Anyway, I built the new version, btw., why can't you just build the
I second livestatus, we use it all the time, plus there is a webservice as
well, livestatusSlave which might work better with your php.
http://nagios.larsmichelsen.com/livestatusslave/
Dan
-Original Message-
From: C. Bensend [mailto:be...@bennyvision.com]
Sent: Wednesday, May 16,
You keep putting commas in your example output, but as someone else
already pointed out, perfdata is *space*-separated. The commas shouldn't
be there. It seems this probably isn't the issue though. Why don't you
post your plugin's source code so I can get a better idea of what's
going on.
That's very odd, and I really don't have any concrete ideas for you. I
haven't heard of anyone running into this issue before. Maybe
reinstalling the packages might fix something, though?
You said it's an intermittent problem, so how often would you say it
occurs? Have you noticed any patterns
Hello,
//Sorry for crossposting.
I'm having a weird behaviour under Nagios 3.3.1 (and 3.4.1). When I
specify some filters to status.cgi, I don't see any alarm on the
screen (as expected) but I get the audible alarm for critical
services. I'm passing these variables to it.
this is the argument
That older perfdata problem is here:
http://tracker.nagios.org/view.php?id=247
Patch (untested) to always process perfdata (removing the early exits):
--- nagios/xdata/xpddefault.c 2012-02-07 10:15:02.0 +
+++ nagios/xdata/xpddefault.c 2012-05-16 16:48:44.0 +0100
@@
Alex,
I do not have more details about the problem but its on my radar now.
Next time it happens i will keep more detailed notes.
thanks,
Mark
--
Live Security Virtual Conference
Exclusive live event will cover all the
FYI: Sprint did something this morning such that those sites are now
checking cleanly with check_http.
Frank
From: Frank Bulk [frnk...@iname.com]
Sent: Friday, February 24, 2012 8:27 AM
To: 'Paul Dubuc'; 'Nagios Users List'
Subject: RE: [Nagios-users]
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
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
13 matches
Mail list logo