Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


STATUS plugin - Alternative version of devices for 0.87b
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Announcements
Author Message
niobe
Cacti User


Joined: 10 Mar 2008
Posts: 125
Location: Australia

PostPosted: Sun Mar 30, 2008 8:28 pm    Post subject: STATUS plugin - Alternative version of devices for 0.87b Reply with quote

*Version 4* - August 2008

Update: I have repackaged status to a version that works on my PA2.1. It may include small changes that make it work for others. Highly recommend moving to PA2.1 if you are on PA2.0.

This is an updated repackaged version of Howie's plugin.
I have renamed it "Status" (with his permission).
It is simply a user-oriented view of device status from the inbuilt cacti db.

This version is specifically for 0.87b since it takes advantage of new features. Here's a rundown of changes:

1) whole row changes color with status - great as a poor mans monitoring tool
2) Optimised for users without console access - empty console menu is never displayed
3) Added sorting, paginating and filtering functionality from 0.87b
4) tab goes red when you are in status window
5) Takes advantage of some new status's
6) Default view of "Not Up"

I developed it on PA2.0 so have not tested if it works with earlier plugin architectures.[/b]



status.screenshot.png
 Description:
 Filesize:  148.28 KB
 Viewed:  4659 Time(s)

status.screenshot.png



status-0.87b-4.tar.gz
 Description:
Status Plugin - Version 4

Download
 Filename:  status-0.87b-4.tar.gz
 Filesize:  14.98 KB
 Downloaded:  116 Time(s)



Last edited by niobe on Mon Aug 04, 2008 7:42 pm; edited 4 times in total
Back to top
B-rad



Joined: 15 Feb 2008
Posts: 5

PostPosted: Thu Apr 03, 2008 3:11 am    Post subject: Reply with quote

Hi,

Should there be host.php in the tar?

/plugins/status/host.php?host_status=-1&host_template_id=-1&filter=

Cheers
Back to top
niobe
Cacti User


Joined: 10 Mar 2008
Posts: 125
Location: Australia

PostPosted: Thu Apr 03, 2008 5:01 pm    Post subject: Reply with quote

no - wherever that's referenced should be changed to status.php
will find and update...
cheers
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9697
Location: MI, USA

PostPosted: Thu Apr 03, 2008 10:38 pm    Post subject: Reply with quote

Very good!! Liking it!!

TheWitness
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9697
Location: MI, USA

PostPosted: Thu Apr 03, 2008 10:45 pm    Post subject: Reply with quote

One note, the Host hyperlink should goto the following, maybe even two things:

1) Syslog for the host
2) Graphs for the host

TheWitness
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9697
Location: MI, USA

PostPosted: Thu Apr 03, 2008 10:47 pm    Post subject: Reply with quote

Also, add a percent sign after the availability number in the table..

TheWitness
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9697
Location: MI, USA

PostPosted: Thu Apr 03, 2008 10:51 pm    Post subject: Reply with quote

When I talk about "Graphs" and "Syslog", something like the attached.

TheWitness



actions_demo.jpg
 Description:
 Filesize:  269.72 KB
 Viewed:  4483 Time(s)

actions_demo.jpg


Back to top
mcutting
Cacti Pro User


Joined: 16 Oct 2006
Posts: 978

PostPosted: Fri Apr 04, 2008 9:14 am    Post subject: Reply with quote

Anyone have this plugin working ? When I change anything in the drop down list, it looks for host.php in the same directory, which doesn't exist. I note that there is a post where someone else complained of this, and there was a mention from the author that it would be corrected...?

Thanks
Back to top
niobe
Cacti User


Joined: 10 Mar 2008
Posts: 125
Location: Australia

PostPosted: Fri Apr 04, 2008 9:35 pm    Post subject: Reply with quote

yep, will update in the next couple of days...
Back to top
mcutting
Cacti Pro User


Joined: 16 Oct 2006
Posts: 978

PostPosted: Sat Apr 05, 2008 12:04 am    Post subject: Reply with quote

Thanks. Look forward to that
Back to top
niobe
Cacti User


Joined: 10 Mar 2008
Posts: 125
Location: Australia

PostPosted: Sat Apr 05, 2008 11:11 pm    Post subject: Reply with quote

TheWitness wrote:
One note, the Host hyperlink should goto the following, maybe even two things:

1) Syslog for the host
2) Graphs for the host

TheWitness


Interesting, I might look at adding some configuration options to allow customising the hyperlink - right now it's disabled since the old plugin took you to console -> devices.
Back to top
niobe
Cacti User


Joined: 10 Mar 2008
Posts: 125
Location: Australia

PostPosted: Sun Apr 06, 2008 9:43 pm    Post subject: Reply with quote

I have updated the original post with the fixed version - no new features yet.

Changelog:

7) Fixed reference to host.php


Last edited by niobe on Mon Apr 07, 2008 12:25 am; edited 1 time in total
Back to top
niobe
Cacti User


Joined: 10 Mar 2008
Posts: 125
Location: Australia

PostPosted: Mon Apr 07, 2008 12:23 am    Post subject: Reply with quote

Version 3 of Status is now up. Changelog:

8 ) Filter variables (Status, # Rows, Host Template etc) are now remembered separately from the other pages in Cacti that also use these settings. This is handy since you don't want to see only "Not Up" devices in Console like you might in Status.

9) Each host now links to graphs for that host

10) There is a global setting under "Misc" that enables you to choose List or Preview mode for Status (it's not possible to implement tree view easily)

11) Removed nav link to Console which is not appropriate for all users

12) Added "%" to Availability column header

13) Removed unnecessary html file
Back to top
mcutting
Cacti Pro User


Joined: 16 Oct 2006
Posts: 978

PostPosted: Mon Apr 07, 2008 2:42 am    Post subject: Reply with quote

Sorry, but this doesn't work for me:

When clicking the STATUS tab, I am greeted with:

Notice: Undefined index: mapping in C:\wamp\www\Cacti\lib\functions.php on line 1637

Also, when changing the status drop-down list, the plugin still looks for host.php, as shown below

http://<cactihost>/cacti/plugins/status/host.php?host_status=1&host_template_id=-1&filter=

Thanks
Back to top
niobe
Cacti User


Joined: 10 Mar 2008
Posts: 125
Location: Australia

PostPosted: Mon Apr 07, 2008 2:45 am    Post subject: Reply with quote

Hrmmm, what versions of cacti and PA are you using?
Could you provide me with screenshot of both problems to help?
cheers
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Announcements All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group