├── share └── pnp │ ├── documents │ ├── de_DE │ │ ├── dwnld.html │ │ └── wrapper.html │ ├── _media │ │ ├── bulk.png │ │ ├── popup.png │ │ ├── bulk-npcd.png │ │ ├── gearman.png │ │ ├── srv_info.png │ │ ├── mobile-home.png │ │ ├── synchronous.png │ │ ├── bulk-npcdmod.png │ │ ├── mobile-graphs.png │ │ ├── mobile-loading.png │ │ ├── mobile-hostlist.png │ │ ├── mobile-servicelist.png │ │ ├── nagiospowered-72x72.png │ │ └── pnp-preview-05-08-2009.png │ ├── images │ │ └── smileys │ │ │ ├── delete.gif │ │ │ ├── fixme.gif │ │ │ ├── icon_cry.gif │ │ │ ├── icon_eek.gif │ │ │ ├── icon_fun.gif │ │ │ ├── icon_lol.gif │ │ │ ├── icon_sad.gif │ │ │ ├── icon_arrow.gif │ │ │ ├── icon_cool.gif │ │ │ ├── icon_doubt.gif │ │ │ ├── icon_doubt2.gif │ │ │ ├── icon_evil.gif │ │ │ ├── icon_frown.gif │ │ │ ├── icon_idea.gif │ │ │ ├── icon_kaddi.gif │ │ │ ├── icon_razz.gif │ │ │ ├── icon_smile.gif │ │ │ ├── icon_smile2.gif │ │ │ ├── icon_wink.gif │ │ │ ├── icon_biggrin.gif │ │ │ ├── icon_confused.gif │ │ │ ├── icon_exclaim.gif │ │ │ ├── icon_mrgreen.gif │ │ │ ├── icon_neutral.gif │ │ │ ├── icon_question.gif │ │ │ ├── icon_redface.gif │ │ │ ├── icon_rolleyes.gif │ │ │ ├── icon_silenced.gif │ │ │ ├── icon_twisted.gif │ │ │ └── icon_surprised.gif │ └── en_US │ │ └── wrapper.html │ ├── templates.dist │ ├── check_icmp.php │ ├── check_smtp.php │ ├── check_tcp.php │ ├── check-host-alive.php │ ├── check_local_disk.php │ ├── check_local_load.php │ ├── check_nwstat_LOAD1.php │ ├── check_nwstat_LOAD5.php │ ├── check_nwstat_LOAD15.php │ ├── check_nt_disk.php │ ├── check_oracle_health_redo-io-traffic.php │ ├── check_oracle_health_connection-time.php │ ├── response.php │ ├── check_oracle_health_switch-interval.php │ ├── check_oracle_health_pga-in-memory-sort-ratio.php │ ├── check_oracle_connection-time.php │ ├── check_jmx4perl_connector_proc_time.php │ ├── check_jmx4perl_memory_gc_time.php │ ├── check_users.php │ ├── check_dns.php │ ├── check_nt_cpu.php │ ├── check_iftraffic_pct.php │ ├── check_nt_mem.php │ ├── check_jmx4perl_memory_gc_count.php │ ├── check_jmx4perl_connector_errors.php │ ├── check_iftraffic_counter.php │ ├── check_jmx4perl_thread_count.php │ ├── check_jmx4perl_thread_increase.php │ ├── check_jmx4perl_connector_nr_requests.php │ ├── check_jmx4perl_connector_threads.php │ ├── check_jmx4perl_memory_heap.php │ ├── check_jmx4perl_connector_sent.php │ ├── check_oracle_health.php │ ├── check_jmx4perl_connector_received.php │ ├── check_messpc_temp.php │ ├── check_snmp_int.php │ ├── check_swap.php │ ├── check_ntp_time.php │ ├── check_load.php │ ├── check_multi.php │ ├── check_snmp_int-bits.php │ ├── check_nwstat_LOAD.php │ ├── check_nwstat_ofiles.php │ └── check_nwstat_CONNS.php │ ├── templates.special │ ├── README │ ├── static.php-sample │ ├── loop.php-sample │ └── advanced_loop.php-sample │ ├── media │ ├── css │ │ ├── shadow.png │ │ ├── border-h.gif │ │ ├── border-v.gif │ │ ├── images │ │ │ ├── ajax-loader.png │ │ │ ├── icons-18-black.png │ │ │ ├── icons-18-white.png │ │ │ ├── icons-36-black.png │ │ │ ├── icons-36-white.png │ │ │ └── icon-search-black.png │ │ ├── ui-redmond │ │ │ └── images │ │ │ │ ├── ui-icons_222222_256x240.png │ │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ │ ├── ui-icons_454545_256x240.png │ │ │ │ ├── ui-icons_888888_256x240.png │ │ │ │ ├── ui-icons_cd0a0a_256x240.png │ │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ │ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png │ │ ├── ui-lightness │ │ │ └── images │ │ │ │ ├── ui-icons_222222_256x240.png │ │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ │ ├── ui-icons_454545_256x240.png │ │ │ │ ├── ui-icons_888888_256x240.png │ │ │ │ ├── ui-icons_cd0a0a_256x240.png │ │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ │ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png │ │ ├── ui-multisite │ │ │ └── images │ │ │ │ ├── contentframe_background.jpg │ │ │ │ ├── ui-icons_000000_256x240.png │ │ │ │ ├── ui-icons_222222_256x240.png │ │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ │ ├── ui-icons_454545_256x240.png │ │ │ │ ├── ui-icons_cd0a0a_256x240.png │ │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ │ ├── ui-bg_flat_75_6da1b8_40x100.png │ │ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ │ │ ├── ui-bg_glass_65_88b9ce_1x400.png │ │ │ │ ├── ui-bg_glass_75_6da1b8_1x400.png │ │ │ │ ├── ui-bg_glass_75_94cde6_1x400.png │ │ │ │ ├── ui-bg_inset-soft_95_fef1ec_1x100.png │ │ │ │ ├── ui-bg_highlight-soft_75_274554_1x100.png │ │ │ │ └── ui-bg_highlight-soft_75_6da1b8_1x100.png │ │ ├── ui-smoothness │ │ │ └── images │ │ │ │ ├── ui-icons_222222_256x240.png │ │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ │ ├── ui-icons_454545_256x240.png │ │ │ │ ├── ui-icons_888888_256x240.png │ │ │ │ ├── ui-icons_cd0a0a_256x240.png │ │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ │ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png │ │ ├── mobile.css │ │ ├── autocomplete.css │ │ └── imgareaselect-default.css │ └── images │ │ ├── 1x1.gif │ │ ├── add.png │ │ ├── int.gif │ │ ├── pdf.png │ │ ├── pnp.png │ │ ├── xml.png │ │ ├── back.png │ │ ├── color.png │ │ ├── de_DE.png │ │ ├── docs.png │ │ ├── en_US.png │ │ ├── graph.png │ │ ├── home.png │ │ ├── int2.gif │ │ ├── pages.png │ │ ├── stats.png │ │ ├── zoom.png │ │ ├── calendar.png │ │ ├── favicon.ico │ │ ├── go-left.png │ │ ├── go-now.png │ │ ├── go-right.png │ │ ├── loader.gif │ │ ├── notify.gif │ │ ├── remove.png │ │ ├── rrdtool.png │ │ ├── special.png │ │ ├── trends.gif │ │ └── view-calendar.png │ └── application │ ├── views │ ├── mobile_about.php │ ├── header.php │ ├── zoom_header.php │ ├── host_box.php │ ├── widget_menu.sample.php │ ├── widget_graph.sample.php │ ├── popup.php │ ├── logo_box.php │ ├── mobile_special.php │ ├── mobile_pages.php │ ├── graph_tiny.php │ ├── mobile_overview.php │ ├── multisite_box.php │ ├── status_box.php │ ├── mobile_search.php │ ├── search_box.php │ ├── color_box.php │ ├── docs.php │ ├── pages_box.php │ ├── special_templates_box.php │ ├── mobile_host.php │ ├── color.php │ └── service_box.php │ ├── vendor │ └── fpdf │ │ ├── tutorial │ │ ├── logo.png │ │ ├── 20k_c1.txt │ │ ├── calligra.ttf │ │ ├── calligra.z │ │ ├── makefont.php │ │ ├── tuto1.php │ │ ├── tuto7.php │ │ ├── countries.txt │ │ ├── index.htm │ │ └── tuto2.php │ │ ├── license.txt │ │ ├── font │ │ ├── courier.php │ │ ├── courierb.php │ │ ├── courieri.php │ │ └── courierbi.php │ │ └── doc │ │ ├── pageno.htm │ │ ├── getpageheight.htm │ │ ├── getpagewidth.htm │ │ ├── getx.htm │ │ ├── gety.htm │ │ ├── setfontsize.htm │ │ ├── getstringwidth.htm │ │ ├── close.htm │ │ ├── ln.htm │ │ ├── setx.htm │ │ ├── error.htm │ │ ├── settopmargin.htm │ │ ├── setrightmargin.htm │ │ ├── addlink.htm │ │ ├── setlinewidth.htm │ │ ├── setxy.htm │ │ ├── setleftmargin.htm │ │ ├── line.htm │ │ ├── sety.htm │ │ ├── setcompression.htm │ │ ├── settitle.htm │ │ ├── setsubject.htm │ │ ├── setauthor.htm │ │ └── setlink.htm │ ├── lib │ ├── jsonwrapper.php │ └── jsonwrapper_inner.php │ ├── config │ ├── routes.php │ └── locale.php │ ├── models │ └── system.php │ └── controllers │ ├── start.php │ └── color.php ├── include └── global.h ├── AUTHORS ├── sample-config ├── pnp │ ├── background.pdf │ ├── background-letter.pdf │ ├── pnp4nagios_release.in │ ├── pages │ │ └── web_traffic.cfg-sample │ └── rra.cfg-sample └── lighttpd.pnp4nagios.conf.in ├── lib └── kohana │ └── system │ ├── fonts │ └── DejaVuSerif.ttf │ ├── i18n │ ├── en_US │ │ ├── orm.php │ │ ├── swift.php │ │ ├── upload.php │ │ ├── session.php │ │ ├── event.php │ │ ├── encrypt.php │ │ ├── pagination.php │ │ ├── cache.php │ │ ├── profiler.php │ │ ├── database.php │ │ └── errors.php │ ├── nl_NL │ │ ├── orm.php │ │ ├── upload.php │ │ ├── swift.php │ │ ├── session.php │ │ ├── event.php │ │ ├── encrypt.php │ │ ├── pagination.php │ │ ├── profiler.php │ │ ├── cache.php │ │ └── database.php │ ├── ru_RU │ │ ├── swift.php │ │ ├── orm.php │ │ ├── session.php │ │ ├── event.php │ │ ├── encrypt.php │ │ ├── pagination.php │ │ ├── profiler.php │ │ ├── cache.php │ │ └── database.php │ ├── de_DE │ │ ├── orm.php │ │ ├── swift.php │ │ ├── upload.php │ │ ├── session.php │ │ ├── event.php │ │ ├── encrypt.php │ │ ├── pagination.php │ │ ├── profiler.php │ │ ├── cache.php │ │ └── database.php │ ├── es_ES │ │ ├── orm.php │ │ ├── upload.php │ │ ├── swift.php │ │ ├── session.php │ │ ├── event.php │ │ ├── encrypt.php │ │ ├── pagination.php │ │ ├── cache.php │ │ ├── profiler.php │ │ └── database.php │ ├── fr_FR │ │ ├── orm.php │ │ ├── swift.php │ │ ├── upload.php │ │ ├── session.php │ │ ├── event.php │ │ ├── pagination.php │ │ ├── encrypt.php │ │ ├── profiler.php │ │ ├── cache.php │ │ └── database.php │ └── it_IT │ │ ├── orm.php │ │ ├── swift.php │ │ ├── upload.php │ │ ├── session.php │ │ ├── encrypt.php │ │ ├── event.php │ │ ├── cache.php │ │ ├── pagination.php │ │ ├── profiler.php │ │ └── database.php │ ├── config │ ├── routes.php │ ├── cache_sqlite.php │ ├── cache_xcache.php │ ├── profiler.php │ ├── image.php │ ├── view.php │ ├── cache_memcache.php │ ├── http.php │ ├── upload.php │ ├── locale.php │ ├── email.php │ ├── cookie.php │ ├── inflector.php │ ├── captcha.php │ └── pagination.php │ ├── core │ └── utf8 │ │ ├── trim.php │ │ ├── strrev.php │ │ ├── ucfirst.php │ │ ├── strcasecmp.php │ │ ├── strlen.php │ │ ├── ltrim.php │ │ ├── rtrim.php │ │ ├── stristr.php │ │ ├── str_split.php │ │ ├── ucwords.php │ │ ├── strpos.php │ │ ├── substr_replace.php │ │ ├── strrpos.php │ │ ├── strcspn.php │ │ └── strspn.php │ ├── helpers │ └── num.php │ ├── libraries │ ├── Database_Expression.php │ ├── Model.php │ └── drivers │ │ ├── Cache.php │ │ └── Captcha │ │ └── Word.php │ ├── views │ ├── kohana_error_disabled.php │ ├── kohana_profiler.php │ ├── kohana_profiler_table.php │ ├── pagination │ │ ├── punbb.php │ │ ├── extended.php │ │ └── classic.php │ └── kohana_error_page.php │ └── controllers │ └── captcha.php ├── README ├── scripts └── npcd.service.in ├── contrib └── ssi │ └── status-header.ssi.in ├── man └── Makefile.in ├── helpers └── kohana-install.sh └── .gitignore /share/pnp/documents/de_DE/dwnld.html: -------------------------------------------------------------------------------- 1 | en_US/dwnld.html -------------------------------------------------------------------------------- /share/pnp/templates.dist/check_icmp.php: -------------------------------------------------------------------------------- 1 | check_ping.php -------------------------------------------------------------------------------- /share/pnp/templates.dist/check_smtp.php: -------------------------------------------------------------------------------- 1 | response.php -------------------------------------------------------------------------------- /share/pnp/templates.dist/check_tcp.php: -------------------------------------------------------------------------------- 1 | response.php -------------------------------------------------------------------------------- /share/pnp/templates.dist/check-host-alive.php: -------------------------------------------------------------------------------- 1 | check_ping.php -------------------------------------------------------------------------------- /share/pnp/templates.dist/check_local_disk.php: -------------------------------------------------------------------------------- 1 | check_disk.php -------------------------------------------------------------------------------- /share/pnp/templates.dist/check_local_load.php: -------------------------------------------------------------------------------- 1 | check_load.php -------------------------------------------------------------------------------- /share/pnp/templates.dist/check_nwstat_LOAD1.php: -------------------------------------------------------------------------------- 1 | check_nwstat_LOAD.php -------------------------------------------------------------------------------- /share/pnp/templates.dist/check_nwstat_LOAD5.php: -------------------------------------------------------------------------------- 1 | check_nwstat_LOAD.php -------------------------------------------------------------------------------- /share/pnp/templates.dist/check_nwstat_LOAD15.php: -------------------------------------------------------------------------------- 1 | check_nwstat_LOAD.php -------------------------------------------------------------------------------- /share/pnp/templates.special/README: -------------------------------------------------------------------------------- 1 | Place your special Templates here! 2 | -------------------------------------------------------------------------------- /include/global.h: -------------------------------------------------------------------------------- 1 | #ifndef GLOBAL_H_ 2 | #define GLOBAL_H_ 3 | 4 | #endif /*GLOBAL_H_*/ 5 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | Authors: 2 | Jörg Linge pitchfork@pnp4nagios.org 3 | Hendrik Bäcker andurin@process-zero.de 4 | -------------------------------------------------------------------------------- /share/pnp/media/css/shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/css/shadow.png -------------------------------------------------------------------------------- /share/pnp/media/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/1x1.gif -------------------------------------------------------------------------------- /share/pnp/media/images/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/add.png -------------------------------------------------------------------------------- /share/pnp/media/images/int.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/int.gif -------------------------------------------------------------------------------- /share/pnp/media/images/pdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/pdf.png -------------------------------------------------------------------------------- /share/pnp/media/images/pnp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/pnp.png -------------------------------------------------------------------------------- /share/pnp/media/images/xml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/xml.png -------------------------------------------------------------------------------- /sample-config/pnp/background.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/sample-config/pnp/background.pdf -------------------------------------------------------------------------------- /share/pnp/media/css/border-h.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/css/border-h.gif -------------------------------------------------------------------------------- /share/pnp/media/css/border-v.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/css/border-v.gif -------------------------------------------------------------------------------- /share/pnp/media/images/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/back.png -------------------------------------------------------------------------------- /share/pnp/media/images/color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/color.png -------------------------------------------------------------------------------- /share/pnp/media/images/de_DE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/de_DE.png -------------------------------------------------------------------------------- /share/pnp/media/images/docs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/docs.png -------------------------------------------------------------------------------- /share/pnp/media/images/en_US.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/en_US.png -------------------------------------------------------------------------------- /share/pnp/media/images/graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/graph.png -------------------------------------------------------------------------------- /share/pnp/media/images/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/home.png -------------------------------------------------------------------------------- /share/pnp/media/images/int2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/int2.gif -------------------------------------------------------------------------------- /share/pnp/media/images/pages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/pages.png -------------------------------------------------------------------------------- /share/pnp/media/images/stats.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/stats.png -------------------------------------------------------------------------------- /share/pnp/media/images/zoom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/zoom.png -------------------------------------------------------------------------------- /share/pnp/documents/_media/bulk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/documents/_media/bulk.png -------------------------------------------------------------------------------- /share/pnp/media/images/calendar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/calendar.png -------------------------------------------------------------------------------- /share/pnp/media/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/favicon.ico -------------------------------------------------------------------------------- /share/pnp/media/images/go-left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/go-left.png -------------------------------------------------------------------------------- /share/pnp/media/images/go-now.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/go-now.png -------------------------------------------------------------------------------- /share/pnp/media/images/go-right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/go-right.png -------------------------------------------------------------------------------- /share/pnp/media/images/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/loader.gif -------------------------------------------------------------------------------- /share/pnp/media/images/notify.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/notify.gif -------------------------------------------------------------------------------- /share/pnp/media/images/remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/remove.png -------------------------------------------------------------------------------- /share/pnp/media/images/rrdtool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/rrdtool.png -------------------------------------------------------------------------------- /share/pnp/media/images/special.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/special.png -------------------------------------------------------------------------------- /share/pnp/media/images/trends.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/trends.gif -------------------------------------------------------------------------------- /share/pnp/documents/_media/popup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/documents/_media/popup.png -------------------------------------------------------------------------------- /lib/kohana/system/fonts/DejaVuSerif.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/lib/kohana/system/fonts/DejaVuSerif.ttf -------------------------------------------------------------------------------- /sample-config/pnp/background-letter.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/sample-config/pnp/background-letter.pdf -------------------------------------------------------------------------------- /share/pnp/documents/_media/bulk-npcd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/documents/_media/bulk-npcd.png -------------------------------------------------------------------------------- /share/pnp/documents/_media/gearman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/documents/_media/gearman.png -------------------------------------------------------------------------------- /share/pnp/documents/_media/srv_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/documents/_media/srv_info.png -------------------------------------------------------------------------------- /share/pnp/media/images/view-calendar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/images/view-calendar.png -------------------------------------------------------------------------------- /share/pnp/documents/_media/mobile-home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/documents/_media/mobile-home.png -------------------------------------------------------------------------------- /share/pnp/documents/_media/synchronous.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/documents/_media/synchronous.png -------------------------------------------------------------------------------- /share/pnp/media/css/images/ajax-loader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/media/css/images/ajax-loader.png -------------------------------------------------------------------------------- /share/pnp/templates.dist/check_nt_disk.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingej/pnp4nagios/HEAD/share/pnp/templates.dist/check_nt_disk.php -------------------------------------------------------------------------------- /share/pnp/application/views/mobile_about.php: -------------------------------------------------------------------------------- 1 |
10 | 11 | -------------------------------------------------------------------------------- /lib/kohana/system/i18n/es_ES/session.php: -------------------------------------------------------------------------------- 1 | 'El parametro session_name, %s, no es valido. Solo debe contener caracteres alfanumericos y guiones bajos. Tambien al menos uno debe de ser una letra.', 6 | ); -------------------------------------------------------------------------------- /share/pnp/application/views/widget_graph.sample.php: -------------------------------------------------------------------------------- 1 | 2 |
10 | 11 | -------------------------------------------------------------------------------- /lib/kohana/system/i18n/it_IT/session.php: -------------------------------------------------------------------------------- 1 | 'Il parametro session_name, %s, non è valido. Può contenere solo caratteri alfanumerici o il trattino basso. Almeno una lettera deve essere presente.', 6 | ); 7 | -------------------------------------------------------------------------------- /share/pnp/application/models/system.php: -------------------------------------------------------------------------------- 1 | 'Le nom de session "session_name", %s, est invalide. Il doit contenir uniquement des caractères alphanumériques et au moins une lettre doit être présente.', 6 | ); 7 | -------------------------------------------------------------------------------- /lib/kohana/system/config/cache_xcache.php: -------------------------------------------------------------------------------- 1 | AddFont('Calligrapher','','calligra.php'); 7 | $pdf->AddPage(); 8 | $pdf->SetFont('Calligrapher','',35); 9 | $pdf->Cell(0,10,'Enjoy new fonts with FPDF!'); 10 | $pdf->Output(); 11 | ?> 12 | -------------------------------------------------------------------------------- /lib/kohana/system/config/profiler.php: -------------------------------------------------------------------------------- 1 |
| 6 | 15 | | 16 |
int PageNo()
11 | float GetPageHeight()
11 | float GetPageWidth()
11 | 17 | 18 | -------------------------------------------------------------------------------- /share/pnp/templates.special/static.php-sample: -------------------------------------------------------------------------------- 1 | MACRO['TITLE'] = "All Ping Times for Cluster Nodes"; 8 | $this->MACRO['COMMENT'] = "This is a comment"; 9 | 10 | # 11 | # The Name of this Datasource (ds) 12 | $ds_name[0] = "RTA Times"; 13 | 14 | $opt[0] = "--title \"Graph Title\" "; 15 | $def[0] = "DEF:var1=/usr/local/pnp4nagios/var/perfdata/node1/_HOST_.rrd:1:AVERAGE "; 16 | $def[0] .= "DEF:var2=/usr/local/pnp4nagios/var/perfdata/node2/_HOST_.rrd:1:AVERAGE "; 17 | $def[0] .= "LINE1:var1".rrd::color(1).":\"Localhost \\n\" "; 18 | $def[0] .= "LINE1:var2".rrd::color(2).":\"Node1 \\n\" "; 19 | ?> 20 | -------------------------------------------------------------------------------- /lib/kohana/system/helpers/num.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |float GetX()
11 | float GetY()
11 | 19 | 20 | -------------------------------------------------------------------------------- /lib/kohana/system/libraries/Database_Expression.php: -------------------------------------------------------------------------------- 1 | expression = $expression; 19 | } 20 | 21 | public function __toString() 22 | { 23 | return (string) $this->expression; 24 | } 25 | 26 | } // End Database Expr Class -------------------------------------------------------------------------------- /lib/kohana/system/views/kohana_error_disabled.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 8 | 9 |21 | 22 | 23 | -------------------------------------------------------------------------------- /share/pnp/application/vendor/fpdf/doc/setfontsize.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |SetFontSize(float size)
11 | sizefloat GetStringWidth(string s)
11 | sClose()
11 | 15 | 16 | -------------------------------------------------------------------------------- /share/pnp/application/views/docs.php: -------------------------------------------------------------------------------- 1 |
| 4 | 14 | |
15 |
16 |
17 |
20 |
21 |
24 |
25 | |
| 27 | 30 | | |
| ', $value, ' | '; 18 | } 19 | ?> 20 |
3 | check_procs is an example for a plugin which doesn't deliver performance data: 4 |
5 |./check_procs -a ndo2db -w 1: -c 0: 6 | PROCS OK: 2 processes with args 'ndo2db'7 | 8 |
9 | This can be changed with the following wrapper script 10 |
11 | 12 |13 | check_procs.sh 14 | 15 |
16 |#!/bin/bash
17 | LINE=`/usr/local/nagios/libexec/check_procs $*`
18 | RC=$?
19 | COUNT=`echo $LINE | awk '{print $3}'`
20 | PROCS=`expr $COUNT - 1`
21 | LINE=`echo $LINE | sed "s/: $COUNT /: $PROCS /"`
22 | echo $LINE \| procs=$PROCS
23 | exit $RC
24 |
25 | 26 | Now you'll get the number together with the required label 27 | 28 |
29 |./check_procs.sh -a ndo2db -w 1: -c 0: 30 | PROCS OK: 2 processes with args 'ndo2db'| procs=231 | -------------------------------------------------------------------------------- /lib/kohana/system/i18n/nl_NL/database.php: -------------------------------------------------------------------------------- 1 | 'De %s groep is niet opgegeven in je configuratie.', 6 | 'error' => 'Er was een SQL fout: %s', 7 | 'connection' => 'Fout bij het verbinden met de database: %s', 8 | 'invalid_dsn' => 'De DSN die je opgaf is ongeldig: %s', 9 | 'must_use_set' => 'Je moet een SET clause opgeven voor je query.', 10 | 'must_use_where' => 'Je moet een WHERE clause opgeven voor je query.', 11 | 'must_use_table' => 'Je moet een database tabel opgeven voor je query.', 12 | 'table_not_found' => 'De tabel %s bestaat niet in je database.', 13 | 'not_implemented' => 'De method die je opriep, %s, wordt niet ondersteund door deze driver.', 14 | 'result_read_only' => 'Query resultaten kunnen alleen maar gelezen worden.', 15 | ); -------------------------------------------------------------------------------- /share/pnp/documents/de_DE/wrapper.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | check_procs ist ein Beispiel für ein Plugin, das keine Performance-Daten ausgibt: 4 |
5 |./check_procs -a ndo2db -w 1: -c 0: 6 | PROCS OK: 2 processes with args 'ndo2db'7 | 8 |
9 | Mit dem folgenden Wrapper-Script kann das geändert werden 10 |
11 | 12 |13 | check_procs.sh 14 | 15 |
16 |#!/bin/bash
17 | LINE=`/usr/local/nagios/libexec/check_procs $*`
18 | RC=$?
19 | COUNT=`echo $LINE | awk '{print $3}'`
20 | PROCS=`expr $COUNT - 1`
21 | LINE=`echo $LINE | sed "s/: $COUNT /: $PROCS /"`
22 | echo $LINE \| procs=$PROCS
23 | exit $RC
24 |
25 | 26 | Nun wird die Zahl zusammen mit einer Bezeichnung ausgegeben. 27 | 28 |
29 |./check_procs.sh -a ndo2db -w 1: -c 0: 30 | PROCS OK: 2 processes with args 'ndo2db'| procs=231 | -------------------------------------------------------------------------------- /lib/kohana/system/core/utf8/strrpos.php: -------------------------------------------------------------------------------- 1 | MACRO['TITLE'] = "The Title"; 6 | $this->MACRO['COMMENT'] = "A Comment"; 7 | # 8 | # Define the Service we want to graph 9 | $service = '_HOST_'; 10 | # 11 | # Define a List of Host 12 | $hosts = array('localhost','node1','node2'); 13 | # 14 | # The Datasource Name for Graph 1 ( index 0 ) 15 | $ds_name[0] = "RTA Times"; 16 | $opt[0] = "--title \"Stacked RTA Times\""; 17 | $def[0] = ""; 18 | # 19 | # Iterate through the list of hosts 20 | foreach($hosts as $key=>$host){ 21 | # 22 | # get the data for a given Host/Service 23 | $a = $this->tplGetData($host,$service); 24 | $def[0] .= rrd::def("a$key" ,$a['DS'][0]['RRDFILE'], $a['DS'][0]['DS'], "AVERAGE"); 25 | $def[0] .= rrd::area("a$key", rrd::color($key), $a['MACRO']['HOSTNAME'], "STACK"); 26 | $def[0] .= rrd::gprint("a$key", array("MIN", "MAX", "LAST"), "%.2lf%s"); 27 | } 28 | ?> 29 | -------------------------------------------------------------------------------- /share/pnp/application/vendor/fpdf/doc/ln.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
Ln([float h])
11 | hSetX(float x)
11 | xError(string msg)
11 | msg29 | 30 | -------------------------------------------------------------------------------- /share/pnp/templates.dist/check_swap.php: -------------------------------------------------------------------------------- 1 | 27 | -------------------------------------------------------------------------------- /share/pnp/application/vendor/fpdf/tutorial/tuto2.php: -------------------------------------------------------------------------------- 1 | Image('logo.png',10,6,30); 11 | // Arial bold 15 12 | $this->SetFont('Arial','B',15); 13 | // Move to the right 14 | $this->Cell(80); 15 | // Title 16 | $this->Cell(30,10,'Title',1,0,'C'); 17 | // Line break 18 | $this->Ln(20); 19 | } 20 | 21 | // Page footer 22 | function Footer() 23 | { 24 | // Position at 1.5 cm from bottom 25 | $this->SetY(-15); 26 | // Arial italic 8 27 | $this->SetFont('Arial','I',8); 28 | // Page number 29 | $this->Cell(0,10,'Page '.$this->PageNo().'/{nb}',0,0,'C'); 30 | } 31 | } 32 | 33 | // Instanciation of inherited class 34 | $pdf = new PDF(); 35 | $pdf->AliasNbPages(); 36 | $pdf->AddPage(); 37 | $pdf->SetFont('Times','',12); 38 | for($i=1;$i<=40;$i++) 39 | $pdf->Cell(0,10,'Printing line number '.$i,0,1); 40 | $pdf->Output(); 41 | ?> 42 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | autom4te.cache 2 | subst 3 | summary 4 | *Makefile 5 | config.log 6 | config.status 7 | scripts/rc.npcd 8 | scripts/rc.pnp_gearman_worker 9 | scripts/check_pnp_rrds.pl 10 | scripts/process_perfdata.pl 11 | scripts/rrd_modify.pl 12 | src/*.o 13 | src/npcd 14 | include/config.h 15 | *~ 16 | 17 | sample-config/pnp/config.php 18 | sample-config/pnp/pnp4nagios_release 19 | sample-config/pnp/process_perfdata.cfg-sample 20 | sample-config/pnp/npcd.cfg-sample 21 | sample-config/misccommands.cfg-sample 22 | sample-config/nagios.cfg-sample 23 | 24 | share/pnp/application/config/config.php 25 | share/pnp/index.php 26 | share/pnp/install.php 27 | sample-config/httpd.conf 28 | share/pnp/application/logs/* 29 | contrib/ssi/status-header.ssi 30 | helpers/w2h.pl 31 | scripts/verify_pnp_config.pl 32 | sample-config/lighttpd.pnp4nagios.conf 33 | sample-config/nginx.pnp4nagios.conf 34 | share/pnp/media/js/basket.js 35 | scripts/rrd_convert.pl 36 | scripts/rrd_converter.pl 37 | 38 | man/npcd.8 39 | 40 | *.swp 41 | *.swo 42 | -------------------------------------------------------------------------------- /share/pnp/application/views/special_templates_box.php: -------------------------------------------------------------------------------- 1 | templates) && $this->isAuthorizedFor('service_links') ) { ?> 2 |
30 |31 | 32 | -------------------------------------------------------------------------------- /lib/kohana/system/libraries/drivers/Cache.php: -------------------------------------------------------------------------------- 1 | 26 | -------------------------------------------------------------------------------- /share/pnp/application/vendor/fpdf/doc/settopmargin.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |SetTopMargin(float margin)
11 | marginSetRightMargin(float margin)
11 | marginint AddLink()
11 | SetLineWidth(float width)
11 | widthSetXY(float x, float y)
11 | xySetLeftMargin(float margin)
11 | marginLine(float x1, float y1, float x2, float y2)
11 | x1y1x2y210 | 11 | : 12 | 13 | 3): ?> 14 | 1 15 | 16 | 17 | 18 | 19 | 20 | 21 | $total_pages) continue ?> 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 |
-------------------------------------------------------------------------------- /share/pnp/templates.dist/check_nwstat_LOAD.php: -------------------------------------------------------------------------------- 1 | 35 | -------------------------------------------------------------------------------- /lib/kohana/system/libraries/drivers/Captcha/Word.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |SetY(float y [, boolean resetX])
11 | yresetXtrue.
23 | SetCompression(boolean compress)
11 | compressSetTitle(string title [, boolean isUTF8])
11 | titleisUTF8false) or UTF-8 (true).false.
23 | SetSubject(string subject [, boolean isUTF8])
11 | subjectisUTF8false) or UTF-8 (true).false.
23 | SetAuthor(string author [, boolean isUTF8])
11 | authorisUTF8false) or UTF-8 (true).false.
23 | | 4 | |
21 |
22 |
23 |
26 |
27 |
30 |
31 | |
| 33 | 36 | 37 | | |
36 | 37 | -------------------------------------------------------------------------------- /lib/kohana/system/views/pagination/extended.php: -------------------------------------------------------------------------------- 1 | 8 | 9 |
10 | 11 | 12 | « 13 | 14 | « 15 | 16 | 17 | | 18 | 19 | | – 20 | 21 | | 22 | » 23 | 24 | » 25 | 26 | 27 |
-------------------------------------------------------------------------------- /share/pnp/application/vendor/fpdf/doc/setlink.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |SetLink(int link [, float y [, int page]])
11 | linky-1 indicates the current position.
22 | The default value is 0 (top of page).
23 | page-1 indicates the current page. This is the default value.
27 | 10 | 11 | 12 | ‹ 13 | 14 | 15 | 16 | < 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | > 33 | 34 | 35 | 36 | › 37 | 38 | 39 |
-------------------------------------------------------------------------------- /lib/kohana/system/views/kohana_error_page.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 |