Computer and IT knowledge - things to know
how to bookmark a custom site?
after you created a configfile like the example below, you will be able
to bookmark this page via this link:
>> http://hostname/your-site/pnp4nagios/index.php/page?page=yoursitename.cfg
configurations files are under:
etc/pnp4nagios/pages/yoursitename.cfg
#
#
#
# Global Section
# use_regex [0|1]
# page_name < your page title >
# background_pdf <pdf file>
# page_name myname
define page {
use_regex 1
page_name my-report 1
#
# Define the first Graph
#
define graph {
host_name ^switch-192.168.1.2
service_desc ^Interface.*001$
source 0 # OPTIONAL Show only the first image
}
define graph {
host_name ^switch-192.168.1.3
service_desc ^Interface.*003$
source 0 # OPTIONAL Show only the first image
}
computer2know :: thank you for your visit :: have a nice day :: © 2024