Manage Plugin 0.6.2 for monitoring networks, servers...
Moderators: Developers, Moderators
-
- Posts: 24
- Joined: Wed May 10, 2006 2:46 pm
- Location: Memphis, TN USA
The patched files fixed the two errors I was seeing. I am also seeing what I think someone else has reported about the uptime being shown twice on a device. One of my switches has this next to it for uptime. 150d 6h 23m150d 6h 23m I have even tried deleting the device out and recreating it but it still comes back with the host.
Two other things I have noticed is that the uptime is not right for my switches that are running CatOS instead of IOS and even though several of the devices are identical in the manage screen window some of them have the telnet service listed next to the green box and some do not even though the settings for both are identical. The other issue seems to also involve the CatOS operating system. The manage plugin will sometimes show the device as down when it is not. The monitor plugin at the same time stills shows the device is up.
This beta plugin is coming along well. I can not wait to have a full production one going.
Two other things I have noticed is that the uptime is not right for my switches that are running CatOS instead of IOS and even though several of the devices are identical in the manage screen window some of them have the telnet service listed next to the green box and some do not even though the settings for both are identical. The other issue seems to also involve the CatOS operating system. The manage plugin will sometimes show the device as down when it is not. The monitor plugin at the same time stills shows the device is up.
This beta plugin is coming along well. I can not wait to have a full production one going.
-
- Posts: 24
- Joined: Wed May 10, 2006 2:46 pm
- Location: Memphis, TN USA
-
- Posts: 24
- Joined: Wed May 10, 2006 2:46 pm
- Location: Memphis, TN USA
i don't know if it's that but, yes, in a certain circonstance, the back button has inserted a second time my host
so this is the patch for this problem
IT IS INCLUDED IN 0.3.2
jherrinike, if you don't want to use phpmyadmin, just choose "don't manage" for this host
verify it is no more listed in tab manage
then click "manage" for this host and reconfigure it
so this is the patch for this problem
IT IS INCLUDED IN 0.3.2
jherrinike, if you don't want to use phpmyadmin, just choose "don't manage" for this host
verify it is no more listed in tab manage
then click "manage" for this host and reconfigure it
- Attachments
-
- listmanage2.php.txt
- listmanage2.php
- (30.37 KiB) Downloaded 741 times
OK
since version 0.1, i think now i have the minimum (device types, templates, groups) !
next version will take approximatively 3 weeks to come
this is my small roadmap (it can change) :
0.4 :
- will alert by "net send" one or more Windows boxes (this is pretty urgent for me, and i don't want to wait for local syslogging)
- will include Windows Services check by SNMP
- will add List view (like http://demo.bb4.com/bb/bb.html)
0.5 :
- possibility to select email-alert of all 3 events: down/up/reboot
- will add refresh on tab Manage
- will let you sort hosts by hostname, description, type etc... in tab manage
- will let you choose to list or not last events in Tab Manage
0.6 :
- will add local syslogging
- possibility to play a sound if an alert occurs
- will add UDP check
- export alerts to .csv in Event Reporting
0.7 :
- will add unique email addresses for each hosts
- mouse-over effect in Simple View
- make it independant of Thold plugin
since version 0.1, i think now i have the minimum (device types, templates, groups) !
next version will take approximatively 3 weeks to come
this is my small roadmap (it can change) :
0.4 :
- will alert by "net send" one or more Windows boxes (this is pretty urgent for me, and i don't want to wait for local syslogging)
- will include Windows Services check by SNMP
- will add List view (like http://demo.bb4.com/bb/bb.html)
0.5 :
- possibility to select email-alert of all 3 events: down/up/reboot
- will add refresh on tab Manage
- will let you sort hosts by hostname, description, type etc... in tab manage
- will let you choose to list or not last events in Tab Manage
0.6 :
- will add local syslogging
- possibility to play a sound if an alert occurs
- will add UDP check
- export alerts to .csv in Event Reporting
0.7 :
- will add unique email addresses for each hosts
- mouse-over effect in Simple View
- make it independant of Thold plugin
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
Hi,
[/quote]
so it is not yet implemented?gilles wrote:if i save the template, i will need to write code to prevent you to delete a used template, etc...so i choose to not save ittorstentfk wrote: - Template selections in device view are not saved
Torsten
where can I change this in the cacti code?torstentfk wrote: - how do you guess the hosttype? Cisco switch (catos) is guested as winnt???
Torsten
i use index "id" in cacti table "host_template"
for all of us, 5 is "Cisco Router", 7 is "Windows 2000/XP Host", 8 is "Local Linux Machine" etc
the id's after 8 depends of what templates you have imported
for me, the id 9 is "Windows NT Host"
for you you, it will be different, this is why is use the term "trying"
from router type to router type - you are right. I think this problem of displaying the uptime is solved if I go to a soec. device and klick save (regardless of changing something)torstentfk wrote: -correct guest hosts (cisco router) are not displayed correct: the uptime is not updated (N/A), after changing the host device type from router to router the device works correct
Torsten
from router to router ?
i'm don't have this bug
ok - stay independed from browsers...torstentfk wrote: - the mouse-over effect of the monitor-plugin
Torsten
i don't know what to display (and i don't want to deal with multiple browsers)
not in another tab (or why not) I think of a page splitted into two parts: first the list of the rebots (as seen in the uptime plugin) and then the host list.torstentfk wrote: - getting the list of last reboots in the tabed view instead of the console view
(View reboots and then the symbols)
Torsten
where ? in another tab ? on mouse over ?
because I must give users the console right to dispay ittorstentfk wrote: - display of the last 10 events and not haveing to select a specific device
(event view not in the console)
Torsten
why not
how many option are you planning for future?torstentfk wrote: - new setting view as used by thold (not subsection under MISC)
Torsten
others plugins use MISC, so i use MISC too (btw, it's right THOLD have is own tab but this is because it have much options)
[/quote]
-
- Cacti User
- Posts: 83
- Joined: Fri Aug 22, 2003 4:33 am
mysql version 5
Hi giles...I think there is a prob with the mysql version 5, as i am able to run manage 0.3 on my test box which is running mysql 4.1 but its not able to create the tables in mysql 5.0 (Fedora core 5 )...
When i login to cacti..it says cacti.manage_host table not found...can u post mysql 5 compatible .sql file
My cacti.log show some error like this
06/16/2006 05:42:01 AM - MANAGE: Poller[0] Checking Manage
06/16/2006 05:42:01 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "SELECT host.id, host.hostname, host.description, host.snmp_community, host.snmp_version, host.snmp_username, host.snmp_password, host.snmp_port, host.snmp_timeout, manage_host.uptime, manage_host.statut, manage_host.force FROM host,manage_host where manage = 'on' and disabled <> 'on' and host.id=manage_host.id"
Can u give a step by step installation procedure......
Chetan
When i login to cacti..it says cacti.manage_host table not found...can u post mysql 5 compatible .sql file
My cacti.log show some error like this
06/16/2006 05:42:01 AM - MANAGE: Poller[0] Checking Manage
06/16/2006 05:42:01 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "SELECT host.id, host.hostname, host.description, host.snmp_community, host.snmp_version, host.snmp_username, host.snmp_password, host.snmp_port, host.snmp_timeout, manage_host.uptime, manage_host.statut, manage_host.force FROM host,manage_host where manage = 'on' and disabled <> 'on' and host.id=manage_host.id"
Can u give a step by step installation procedure......
Chetan
-
- Posts: 24
- Joined: Wed May 10, 2006 2:46 pm
- Location: Memphis, TN USA
Hello gilles,
I think I have found a bug in viewalerts.pnp and solved it
When navigating through the 'Event reporting' page using the numbered index in the header I had the following error.
http://cacti/plugins/manage/viewalerts.php&page=2
404 The requested URL /plugins/manage/viewalerts.php&page=2 was not found on this server.
That is correct because php expects an ? instead of an &.
So I was so free to modify viewalerts.php and now the problem is solved, it now remembers which options you choose in the filter when navigating with '<< Previous', 'numbers' or 'Next >>'
Below you find the changes i made.
Mories
changed line 267
from : $url_page_select = get_page_list($_REQUEST["page"], MAX_DISPLAY_PAGES, read_config_option("num_rows_device"), $total_rows, "viewalerts.php");
to : $url_page_select = get_page_list($_REQUEST["page"], MAX_DISPLAY_PAGES, read_config_option("num_rows_device"), $total_rows, "viewalerts.php?host_managed=".$_REQUEST["host_managed"]."&event=".$_REQUEST["event"]);
changed line 278
from : <strong><< "; if ($_REQUEST["page"] > 1) { $nav .= "<a class='linkOverDark' href='viewalerts.php?" . "page=" . ($_REQUEST["page"]-1) . "'>"; } $nav .= "Previous"; if ($_REQUEST["page"] > 1) { $nav .= "</a>"; } $nav .= "</strong>
to : <strong><< "; if ($_REQUEST["page"] > 1) { $nav .= "<a class='linkOverDark' href='viewalerts.php?" . "page=" . ($_REQUEST["page"]-1) . "&host_managed=".$_REQUEST["host_managed"]."&event=".$_REQUEST["event"] . "'>"; } $nav .= "Previous"; if ($_REQUEST["page"] > 1) { $nav .= "</a>"; } $nav .= "</strong>
changed line 284
from : <strong>"; if (($_REQUEST["page"] * read_config_option("num_rows_device")) < $total_rows) { $nav .= "<a class='linkOverDark' href='viewalerts.php?" . "page=" . ($_REQUEST["page"]+1) . "'>"; } $nav .= "Next"; if (($_REQUEST["page"] * read_config_option("num_rows_device")) < $total_rows) { $nav .= "</a>"; } $nav .= " >></strong>
to : <strong>"; if (($_REQUEST["page"] * read_config_option("num_rows_device")) < $total_rows) { $nav .= "<a class='linkOverDark' href='viewalerts.php?" . "page=" . ($_REQUEST["page"]+1) . "&host_managed=".$_REQUEST["host_managed"]."&event=".$_REQUEST["event"] . "'>"; } $nav .= "Next"; if (($_REQUEST["page"] * read_config_option("num_rows_device")) < $total_rows) { $nav .= "</a>"; } $nav .= " >></strong>
I think I have found a bug in viewalerts.pnp and solved it
When navigating through the 'Event reporting' page using the numbered index in the header I had the following error.
http://cacti/plugins/manage/viewalerts.php&page=2
404 The requested URL /plugins/manage/viewalerts.php&page=2 was not found on this server.
That is correct because php expects an ? instead of an &.
So I was so free to modify viewalerts.php and now the problem is solved, it now remembers which options you choose in the filter when navigating with '<< Previous', 'numbers' or 'Next >>'
Below you find the changes i made.
Mories
changed line 267
from : $url_page_select = get_page_list($_REQUEST["page"], MAX_DISPLAY_PAGES, read_config_option("num_rows_device"), $total_rows, "viewalerts.php");
to : $url_page_select = get_page_list($_REQUEST["page"], MAX_DISPLAY_PAGES, read_config_option("num_rows_device"), $total_rows, "viewalerts.php?host_managed=".$_REQUEST["host_managed"]."&event=".$_REQUEST["event"]);
changed line 278
from : <strong><< "; if ($_REQUEST["page"] > 1) { $nav .= "<a class='linkOverDark' href='viewalerts.php?" . "page=" . ($_REQUEST["page"]-1) . "'>"; } $nav .= "Previous"; if ($_REQUEST["page"] > 1) { $nav .= "</a>"; } $nav .= "</strong>
to : <strong><< "; if ($_REQUEST["page"] > 1) { $nav .= "<a class='linkOverDark' href='viewalerts.php?" . "page=" . ($_REQUEST["page"]-1) . "&host_managed=".$_REQUEST["host_managed"]."&event=".$_REQUEST["event"] . "'>"; } $nav .= "Previous"; if ($_REQUEST["page"] > 1) { $nav .= "</a>"; } $nav .= "</strong>
changed line 284
from : <strong>"; if (($_REQUEST["page"] * read_config_option("num_rows_device")) < $total_rows) { $nav .= "<a class='linkOverDark' href='viewalerts.php?" . "page=" . ($_REQUEST["page"]+1) . "'>"; } $nav .= "Next"; if (($_REQUEST["page"] * read_config_option("num_rows_device")) < $total_rows) { $nav .= "</a>"; } $nav .= " >></strong>
to : <strong>"; if (($_REQUEST["page"] * read_config_option("num_rows_device")) < $total_rows) { $nav .= "<a class='linkOverDark' href='viewalerts.php?" . "page=" . ($_REQUEST["page"]+1) . "&host_managed=".$_REQUEST["host_managed"]."&event=".$_REQUEST["event"] . "'>"; } $nav .= "Next"; if (($_REQUEST["page"] * read_config_option("num_rows_device")) < $total_rows) { $nav .= "</a>"; } $nav .= " >></strong>
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
Hi,
some point to mention:
- it would be nice to have the actual time of the reboot/host down event in the email body because receiving email could take some time.
- does the plugin respect the setting of the thold plugin that the device must be down XXX cylces before alerting?
- possibility to enter a filter at the device section in the console-"Device-Managing" (there is space in the first line right of the device-selection) as found at the 'normal' device selection
- at event-reporting:display only devices that have a alarm;
- the selection of "type of event" does not work
Thanks for this plugin - it is installed in a productiv enviroment in my company!
Torsten
some point to mention:
- it would be nice to have the actual time of the reboot/host down event in the email body because receiving email could take some time.
- does the plugin respect the setting of the thold plugin that the device must be down XXX cylces before alerting?
- possibility to enter a filter at the device section in the console-"Device-Managing" (there is space in the first line right of the device-selection) as found at the 'normal' device selection
- at event-reporting:display only devices that have a alarm;
- the selection of "type of event" does not work
Thanks for this plugin - it is installed in a productiv enviroment in my company!
Torsten
Who is online
Users browsing this forum: No registered users and 0 guests