On 2011-09-06 21:35, Joe Hoot wrote:
> Yep.  I had seen your post earlier and was hoping that there was an 
> additional variable that I could add to tell nagios to include non-perfdata 
> information in that file.  This is a shame.  In the past, my Nagios upgrades 
> have went very smoothly.
>
> Thanks for the reply.   I am now happily up and running again on 3.2.3

I've been tracking down this problem already in Icinga 1.3.x and 
provided a proper fix for our users. Unless there's a properly tested 
3.3.x release you might wanna check my github branches for nagios 3.3.1 
fixes. it's nothing official, but just a little help from the "other 
evil side named Icinga" me being a core dev there too.

https://github.com/dnsmichi/nagios-fixed/commits/3.3.1-fixes

feel free to test and/or use that and provide feedback on the nagios 
lists if any.

kind regards,
michael


> On Sep 6, 2011, at 1:01 PM, Michael Friedrich wrote:
>
>>
>> On 06.09.2011 18:36, Joe Hoot wrote:
>>> Hi all,
>>>
>>> I recently upgraded from Nagios Core 3.0.2 to 3.3.1.  Once upgraded, I 
>>> noticed that my nagiosgraph wasn't graphing data from some custom checks 
>>> that I wrote.  After further investigation, it turns out that nagiosgraph 
>>> isn't seeing of the output from my check commands.  This information used 
>>> to go to my service_perfdata_file.
>>>
>>> I have the following template setup:
>>>
>>> service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$
>>>
>>>
>>> And that has worked just fine for nagiosgraph to pull that information and 
>>> parse it in order to fill rrd data.  But now that I've upgraded to 3.3.1, I 
>>> don't appear to be seeing any of my custom commands (ones that don't have 
>>> perfdata) in that file.  And upon investigating more, if I include perfdata 
>>> in my custom commands, it sends to that perfdata_file just fine.  but if 
>>> the performance data isn't there, it doesn't show up in that file.
>> nagios 3.3.1 does not process empty perfdata macros anymore which causes
>> those results not to be put onto the perfdata channel. so all your
>> plugins not returning perfdata won't even be put over there where
>> nagiosgraph and other addons might calculate their perfdata from the
>> output themselves.
>>
>>> Is this a bug?
>> i consider it a bug as it breaks compatibility. previous discussions on
>> nagios-* mailinglists can be found in the archive. dunno when this will
>> get fixed.
>>
>> http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg36537.html
>> http://comments.gmane.org/gmane.network.nagios.devel/8128
>>
>> i'd suggest downgrading onto 3.2.3 and wait for a properly tested 3.3.x
>> release.
>>
>> kind regards,
>> Michael
>>
>> -- 
>> DI (FH) Michael Friedrich
>>
>> Vienna University Computer Center
>> Universitaetsstrasse 7 A-1010 Vienna, Austria
>>
>> email:     michael.friedr...@univie.ac.at
>> phone:     +43 1 4277 14359
>> mobile:    +43 664 60277 14359
>> fax:    +43 1 4277 14338
>> web:       http://www.univie.ac.at/zid
>>             http://www.aco.net
>>
>> Icinga Core&   IDOUtils Developer
>> http://www.icinga.org
>>
>>
>> ------------------------------------------------------------------------------
>> Special Offer -- Download ArcSight Logger for FREE!
>> Finally, a world-class log management solution at an even better
>> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
>> download Logger. Secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsisghtdev2dev
>> _______________________________________________
>> 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
>
> ------------------------------------------------------------------------------
> Malware Security Report: Protecting Your Business, Customers, and the
> Bottom Line. Protect your business and customers by understanding the
> threat from malware and how it can impact your online business.
> http://www.accelacomm.com/jaw/sfnl/114/51427462/
> _______________________________________________
> 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
>


-- 
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email:     michael.friedr...@univie.ac.at
phone:     +43 1 4277 14359
mobile:    +43 664 60277 14359
fax:       +43 1 4277 14338
web:       http://www.univie.ac.at/zid
            http://www.aco.net

Icinga Core&  IDOUtils Developer
http://www.icinga.org



------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
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

Reply via email to