AW: Nagios action_url Problems

Thomas.Zimmer at oppenheim.de Thomas.Zimmer at oppenheim.de
Thu Mar 2 20:16:28 CET 2006


and the hostname is without whitespaces, too?
 
i have exactly this definition working on nagios 2.0b4:
 
http://
<http://<hostname>:<port>/nagiostest/cgi-bin/top.cgi?host=$HOSTNAME$&service
=$SERVICEDESC$>
<hostname>:<port>/nagiostest/cgi-bin/top.cgi?host=$HOSTNAME$&service=$SERVIC
EDESC$
 
try the HOSTNAME rather the address, all without blanks
 
 

Thomas Zimmer 
Produktservice & Betrieb 
Betrieb & Support 
Sal. Oppenheim jr. & Cie., Frankfurt a. Main 
Telefon: +49 69 7134 5192 
Internet: http://www.oppenheim.de <http://www.oppenheim.de/>  
E-Mail: thomas.zimmer at oppenheim.de 

-----Ursprüngliche Nachricht-----
Von: Danny Russell [mailto:drussell at mpifix.com] 
Gesendet: Donnerstag, 2. März 2006 19:49
An: Zimmer, Thomas (BB) Frankfurt/M.; nagios-users at lists.sourceforge.net
Betreff: RE: [Nagios-users] Nagios action_url Problems



There aren't any spaces in my config files. I switched around the url:

 

            http://nagios.host.com/rdp.php?host_name=$HOSTNAME$
<http://nagios.host.com/rdp.php?host_name=$HOSTNAME$&ip=$HOSTADDRESS$>
&ip=$HOSTADDRESS$

 

And now I get:

 

            http://nagios.host.com/rdp.php?host_name=Anderson&

 

 

 

What's the special magic to get this to work?

 


  _____  


From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of
Thomas.Zimmer at oppenheim.de
Sent: Thursday, March 02, 2006 11:24 AM
To: nagios-users at lists.sourceforge.net
Subject: AW: [Nagios-users] Nagios action_url Problems

 

try it without trailing spaces in the ip adress that should work :) 

 

 

Thomas Zimmer 
Produktservice & Betrieb 
Betrieb & Support 
Sal. Oppenheim jr. & Cie., Frankfurt a. Main 
Telefon: +49 69 7134 5192 
Internet: http://www.oppenheim.de <http://www.oppenheim.de/>  
E-Mail: thomas.zimmer at oppenheim.de 

-----Ursprüngliche Nachricht-----
Von: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Danny
Russell
Gesendet: Donnerstag, 2. März 2006 18:56
An: nagios-users at lists.sourceforge.net
Betreff: [Nagios-users] Nagios action_url Problems

Fellow Nagios Users,

 

 

            I am running Nagios 2.0 and I am trying to use the action_url
for a host definition. It is only half working. Here is my def:

 

                        http://nagios.host.com/rdp.php?ip=$HOSTADDRESS$
<http://nagios.host.com/rdp.php?ip=$HOSTADDRESS$&host_name=$HOSTNAME$>
&host_name=$HOSTNAME$

 

            The link shows up as:

                        

                        http://nagios.host.com/rdp.php?ip=10.100.0.70 &

 

 

Can the action_url have multiple Nagios Marco Variables? What should I be
doing here?

 

 

 

Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060302/f0ca64ee/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Zimmer, Thomas (Produktservices und Betrieb).vcf
Type: application/octet-stream
Size: 254 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060302/f0ca64ee/attachment.obj>


More information about the Users mailing list