[Nagiosplug-devel] [ nagiosplug-Support Requests-1043798 ] check_citrix issues

SourceForge.net noreply at sourceforge.net
Sun Nov 21 22:32:59 CET 2004


Support Requests item #1043798, was opened at 2004-10-10 01:28
Message generated for change (Settings changed) made by stanleyhopcroft
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397598&aid=1043798&group_id=29880

Category: None
Group: None
>Status: Closed
Priority: 5
Submitted By: resistor3672 (resistor3672)
>Assigned to: Stanley Hopcroft (stanleyhopcroft)
Summary: check_citrix issues

Initial Comment:
I ran into these issues using the check_citrix plugin, so 
I'll share them here in the hopes that they will allow the 
continued development of the plugin and of the 
excellent Nagios package. 

Issue 1) Lots of applications to look for

If one has a large number of apps to look for, one should 
split the seach into multiple services and have each 
service look for a subset. The danger is that the buffer 
used to hold all the search string will overflow, and 
Nagios 1.2 will seg fault. One can alternatively try 
increasing the buffer size in the plugin, and use the -L 
option, but even so I still hit the seg fault after a couple 
of dozen apps. 

Issue 2) Lots of apps in the list

The plugin returns the application list on errors. If this 
list exceeds the default nagios return buffer, the plugin 
will behave strangely. I had it returning an OK status in 
nagios (green) and showing the "Failed: " string in 
status information.  I assume this is due to a lack of 
buffer error checking in Nagios (can that be fixed?).  I 
simply removed the print statements that show the list 
on errors, and while it is less informative, it still tells me 
when an application is missing from the list. 


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397598&aid=1043798&group_id=29880




More information about the Devel mailing list