Build precise queries to find exactly what you need
Press ESC to close
@mitch-geht-ab
Favorites0
Views
Projects0
Hi. Good work! Usefull since uNagi (for Android) doesn't work anymore on Android 4.2 :( I've attached you a link to a patch for displaying PNP4Nagios graphs on host or service details. Maybe you can include it?! Works for me on Debian7. Link (https certificate is signed by cacert.org): https://dthree.de/share/be04cdd84dcf21ec4f9e6e9789816d6c09660180520f68eb/nagiosmobile.patch Usage: > cd nagiosmobile/ > patch -p1
Reviewed 12 years ago
Hi. Good job. Here is a patch to add perf data to output. 81,82c81,82 print "PROXY OK - {0}|time={1}s;{warntime:.2f};{timeout:.2f};0;{timeout:.2f}".format(msg, duration, **cfg) 85,86c85,86 print "PROXY WARNING - {0}|time={1}s;{warntime:.2f};{timeout:.2f};0;{timeout:.2f}".format(msg, duration, **cfg) 89,90c89,90 print "PROXY CRITICAL - {0}|time={1}s;{warntime:.2f};{timeout:.2f};0;{timeout:.2f}".format(msg, duration, **cfg) 93,94c93,94 print "PROXY UNKNWON - {0}|time={1}s;{warntime:.2f};{timeout:.2f};0;{timeout:.2f}".format(msg, duration, **cfg) 105c105 report_critical("Timed out (over {timeout:.2f}s)".format(**cfg), "{0:.2f}".format(duration)) 107c107 report_critical("Request failed ({0})".format(e), 999) 109c109 report_unknown("Request failed: ({0})".format(`e`), "{0:.2f}".format(duration)) 116c116 report_critical("Failed content check ({expect})".format(**cfg), "{0:.2f}".format(duration)) 121c121 = {warntime:.2f}s)".format(duration, **cfg)) --- > report_warning("Over warning time ({0:.2f}s >= {warntime:.2f}s)".format(duration, **cfg), "{0:.2f}".format(duration)) 123c123 report_ok("Request return in {0:.2f} seconds".format(duration), "{0:.2f}".format(duration))
Reviewed 13 years ago