athreyavc wrote:
> Dear Sir, 
>
> Thank for the reply.
>
> My undestanding on the integration is this.
>
> 1. We create the map using the Syntaxes and it is saved as map.src
>
> 2. Then we use the convert_map.pl and create a conf file map.conf
>
> 3. Then we process map.conf with weathermap script, which will create an html 
> file and png file
>
>   
Right.
> 4. We access the html file using the web server. This file will have the rrd 
> links for the devices , So the map is having a ZenOSS backend.
>   
No, the file does not have links to rrd. When you run convert_map.pl it 
reads data from zenoss (via xml-rpc call) and puts this into map.conf. 
But this data are only valid for the current moment of time. It just 
creates static targets in terms of weathermap.
And weathermap draws links, devises an so on according on this data.
After that you should repeat this process each 5 minutes via cron job, 
i.e. you should add convert_map.pl and weathermap calls to cron.
> Am I right ?
>
> What I did 
>
> 1. Created the map using web editor of the Weathermap. 
>
> 2. Saved it as map.src
>
>   
Web editors knows nothing about special syntax needed by convert_map.pl. 
You could use it only as starting point and then edit file manually.

> 3. Tried to convert it with convert_map.pl 
>
> I am getting the error as , 
>
> Global Symbol "$node" requires  explicit package name at ./convert_map.pl  
> line 11
>   
This error means that there is smth wrong in convert_map.pl. May be this 
file was broken during download?
Could you post top 12 lines of this file?

> I saw it is creating map.conf which zero bytes.
>   
As soon as convert_map.pl produced errors output file is empty.
> Am I anyway near ?
>
> Regards,
>
> Athreya
>
>
>
>
> -------------------- m2f --------------------
>
> Read this topic online here:
> http://forums.zenoss.com/viewtopic.php?p=38529#38529
>
> -------------------- m2f --------------------
>
>
>
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
>   

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to