Prints out garbage when host variables are used

Bug #1193115 reported by Stephen Frost
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nagcon (Ubuntu)
New
Undecided
Unassigned

Bug Description

If a host variable is defined, it shows up in the status.dat file and when nagcon tries to process it, it can't find it in the fixed array of known variables and instead it spits out the entry with "[VARIABLE] ???" (search for the only set of three question marks in the package, you'll find it...).

Simple answer is for nagcon to, instead, ignore these custom variables. Patch included to remove the stupid printf().

After that, it works great.

Thanks!

Stephen

Tags: patch
Revision history for this message
Stephen Frost (sfrost) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Nuke stupid printf()" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Thanks for your work here. What you attached is a patch, not a debdiff — so please attach a proper debdiff or a merge proposal instead.

Also, please add DEP-3 headers as described in <http://developer.ubuntu.com/packaging/html/patches-to-packages.html#patch-headers> and forward this to upstream/Debian if possible.

(Unsubscribing sponsors for now, feel free to resubscribe later).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.