External commands to retrieve current status?

Marc Powell marc at ena.com
Thu Aug 13 14:18:34 CEST 2009


On Aug 13, 2009, at 2:27 AM, Eddie wrote:

> Hi all,
>
> External commands seem to be mostly for changing and updating. Are
> there similar commands to check the current stats on a given service?

No. External commands are one-way and have no way of returning output.

[script names snipped]

> It's a little messy and is likely to break if the
> layout/ordering/anything in the status.dat file changes in later
> versions of nagios.
> Or is this my only real option?

NDOUtils and just reading this info out of the database seems like a  
better option.

--
Marc


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list