|
|
| Author |
Message |
chadd Cacti User
Joined: 24 Mar 2005 Posts: 194 Location: Ocoee, Florida
|
Posted: Mon Mar 06, 2006 5:26 pm Post subject: Management -> Devices view else where. |
|
|
Is there, or can there be a way to get the information displayed in the Management -> Devices view within Console, viewable somewhere besides console?
Reason being, I would like to give users this information:
Description, Status, Hostname, Current (ms), Average (ms), Availability
But, I do not wish them to have access to add/remove devices and anything else they may be able to do via the console.
Anyone?
Thanks.
|
|
| Back to top |
|
 |
egarnel Cacti Pro User
Joined: 21 Nov 2002 Posts: 630 Location: Austin, TX
|
Posted: Tue Mar 07, 2006 9:13 am Post subject: |
|
|
| do a search in the forums. someone has done this already
|
|
| Back to top |
|
 |
chadd Cacti User
Joined: 24 Mar 2005 Posts: 194 Location: Ocoee, Florida
|
Posted: Tue Mar 07, 2006 11:14 am Post subject: |
|
|
| Do you have a link to the post, or some suggested search criteria, because I am just not finding it.. Thanks.
|
|
| Back to top |
|
 |
egarnel Cacti Pro User
Joined: 21 Nov 2002 Posts: 630 Location: Austin, TX
|
|
| Back to top |
|
 |
chadd Cacti User
Joined: 24 Mar 2005 Posts: 194 Location: Ocoee, Florida
|
Posted: Tue Mar 07, 2006 6:16 pm Post subject: |
|
|
Actually, I was looking for this information (I have attached a pic). Well, besides the ability to delete/add, or otherwise do anything with the devices.. Just a view to see the devices you have, there IPs, Hostnames, and the reliability information.
| Description: |
|
 Download |
| Filename: |
device_view.zip |
| Filesize: |
20.94 KB |
| Downloaded: |
345 Time(s) |
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9736 Location: MI, USA
|
Posted: Tue Mar 07, 2006 7:47 pm Post subject: |
|
|
This is not such a big deal, but someone will have to port it into a plug-in at this point as we are pretty much feature complete for 0.8.6.
TheWitness
|
|
| Back to top |
|
 |
chadd Cacti User
Joined: 24 Mar 2005 Posts: 194 Location: Ocoee, Florida
|
Posted: Wed Mar 08, 2006 10:58 am Post subject: |
|
|
| Thanks for the reply. I might give it a shot if things here ever slow down..
|
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2247 Location: United Kingdom
|
Posted: Sat Mar 11, 2006 4:08 pm Post subject: |
|
|
It's amazing what seems more appealing when you're supposed to be working on your own code...
Here's a quick plugin to give you a Devices tab. You need to give users the right to see it (in User Management). It's basically the Devices page from the console with a lot of stuff ripped out. As a result, you lose the images for the filter and clear buttons, unfortunately, but they do still work.
You'll need Cigamit's Plugin Architecture. http://cactiusers.org/
Enjoy.
| Description: |
|
 Download |
| Filename: |
devices-0.1.zip |
| Filesize: |
6.15 KB |
| Downloaded: |
245 Time(s) |
|
|
| Back to top |
|
 |
chadd Cacti User
Joined: 24 Mar 2005 Posts: 194 Location: Ocoee, Florida
|
Posted: Tue Mar 14, 2006 2:13 pm Post subject: |
|
|
| Howie wrote: | It's amazing what seems more appealing when you're supposed to be working on your own code...
Here's a quick plugin to give you a Devices tab. You need to give users the right to see it (in User Management). It's basically the Devices page from the console with a lot of stuff ripped out. As a result, you lose the images for the filter and clear buttons, unfortunately, but they do still work.
You'll need Cigamit's Plugin Architecture. http://cactiusers.org/
Enjoy. |
VERY COOL!!! Thanks Howie! Only one problem so far:
The requested URL /plugins/devices/host.php was not found on this server.
Any thoughts? Thanks.
-chadd.
|
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2247 Location: United Kingdom
|
|
| Back to top |
|
 |
chadd Cacti User
Joined: 24 Mar 2005 Posts: 194 Location: Ocoee, Florida
|
Posted: Tue Mar 14, 2006 3:29 pm Post subject: |
|
|
| Howie wrote: | | chadd wrote: |
VERY COOL!!! Thanks Howie! Only one problem so far:
The requested URL /plugins/devices/host.php was not found on this server.
Any thoughts? Thanks.
|
Yes - I'm thinking "don't click that".
I guess I missed that one out. Unless you expected it to do something? As it stands, it's trying to go to the Devices.Edit page, which I thought was exactly what was not required?
Here's 0.2 with a one-line change. Now that link goes to the Graph Preview mode, with that host as the filter (if you see what I mean). |
Nice, one down...some??.. to go .. The problem happens when I click on the "next" link, or try to use any of the filtering. It trys to load the /plugins/devices/host.php page. The "next" link is the important one, because I have more than one page of hosts to look at.. Sorry for the trouble, and thanks for the work, this will be a cool addition. Just a suggestion, but it would also be cool if this could be the default view - meaning that when the user logs in they get this view; and not have the console tab there at all. I know, I am asking alot . Great job though, and thanks again.
-chadd.
|
|
| Back to top |
|
 |
chadd Cacti User
Joined: 24 Mar 2005 Posts: 194 Location: Ocoee, Florida
|
Posted: Wed Mar 15, 2006 10:07 am Post subject: |
|
|
| Actually, after further thought, you know what would be nice? If Cigamit could change the view on the Thold plugin to encorporate this info!! It already has the host up/down status, and it even puts the downs at the top which is cool. If he were just to add the other info (which I don't know how difficult that would be) - I think that would be the best of all worlds! But, a devices tab would work as well, just a little duplication of information - no biggy. Thanks again, and BTW, what are your thoughts?
|
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2247 Location: United Kingdom
|
Posted: Wed Mar 15, 2006 10:11 am Post subject: |
|
|
| chadd wrote: | | Actually, after further thought, you know what would be nice? If Cigamit could change the view on the Thold plugin to encorporate this info!! It already has the host up/down status, and it even puts the downs at the top which is cool. If he were just to add the other info (which I don't know how difficult that would be) - I think that would be the best of all worlds! But, a devices tab would work as well, just a little duplication of information - no biggy. Thanks again, and BTW, what are your thoughts? |
*shrug* You could argue the same for Monitor, which also lists the same things. Monitor is more in the same vein as a Devices tab too. I don't use either at the moment, so I don't really care, to be honest We have a perfectly OK[*] monitoring system outside of Cacti, and the threshold stuff I'm really interested in is the BWPREDICT stuff in rrdtool 1.2.x, which won't be in Cacti until 0.9.x as I understand it.
[*] What's Up Gold - it's only OK, not great.
|
|
| Back to top |
|
 |
chadd Cacti User
Joined: 24 Mar 2005 Posts: 194 Location: Ocoee, Florida
|
Posted: Wed Mar 15, 2006 11:04 am Post subject: |
|
|
| Ok, so would you happen to know off hand what needs to be modified in your current device plugin to get the "next" links to work? Thanks again.
|
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2247 Location: United Kingdom
|
Posted: Thu Mar 16, 2006 3:26 pm Post subject: |
|
|
| chadd wrote: | | Ok, so would you happen to know off hand what needs to be modified in your current device plugin to get the "next" links to work? Thanks again. |
One more go then... This is working for me now (my test Cacti only has a couple of devices in it, so I didn't think of the page buttons).
| Description: |
|
 Download |
| Filename: |
devices-0.3.zip |
| Filesize: |
6.55 KB |
| Downloaded: |
242 Time(s) |
|
|
| Back to top |
|
 |
|