Maartenv,

I was curious about how to do this as well. So i decided to sit down this morning and try to figure it out. With Firefox 2.0 or higher, when you go to any page with forms, right click and select Page Info.

One of the tabs on the top says "Forms".

When you click there, it will show you the field names of the form.

I found that the fieldname for the user and passwords are as follows:
Username: __ac_name
Password: __ac_password

An example of how to use a wget to get to this information would be as follows: wget --post-data "__ac_name=noc&__ac_password=noc&submit=Submit" http://192.168.204.29:8080/zport/dmd/Devices/Network/Switch/devices/ASHF-6509-01/os/interfaces/GigabitEthernet7_8?submitted=true

This should... work for any link in Zenoss, graph or not. I think there is even some magic you can do with wget to reference a file with the username/password fields in there that only the zenoss (or whoever) can read.

I think this should do the trick for you.

Thanks,

-Daniel


maartenv wrote:
Hi there

I'm looking for a way to bypass the login on the webinterface to get some graphs out of the system. I know the http://user:[EMAIL PROTECTED]:8080 but that redirects me to the login page. (issue with 1.1?) anyone?




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=4443#4443

-------------------- 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