Issue #17296 has been reported by Martin Seener.
----------------------------------------
Bug #17296: notes_url cannot handle hash-tags (#) within URLs for anchors in
html pages
https://projects.puppetlabs.com/issues/17296
Author: Martin Seener
Status: Unreviewed
Priority: Normal
Assignee:
Category: nagios
Target version:
Affected Puppet version: 2.7.19
Keywords:
Branch:
We tried to add a notes URL to one of our checks like this:
nagios_service { "check_postgresql_cluster_connection":
ensure => present,
host_name => 'postgresql-cluster.example.com',
service_description => 'Check PG-Cluster Connection',
check_command => "check_postgresql_cluster_connection!10.10.10.5",
notes_url =>
'http://bucardo.org/check_postgres/check_postgres.pl.html#connection',
use => 'generic-service',
}
The notes_url is used correctly and i can click that URL in nagios and it works
like expected but with EVERY puppet run the check is modified like this:
notice:
/Stage[main]/Nagios::Server/Nagios_service[check_postgresql_cluster_connection]/notes_url:
notes_url changed 'http://bucardo.org/check_postgres/check_postgres.pl.html'
to 'http://bucardo.org/check_postgres/check_postgres.pl.html#connection'
info:
/Stage[main]/Nagios::Server/Nagios_service[check_postgresql_cluster_connection]:
Scheduling refresh of Service[omd]
Can anyone help? I just tried to urlencode the # to %23 but then the Server
returns a 404.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.