Search found 63 matches
- Wed Jul 29, 2015 10:01 am
- Forum: Scripts and Templates
- Topic: The wmi.php isn't working?
- Replies: 3
- Views: 1872
Re: The wmi.php isn't working?
On the link you provide there is a line that checks if the option -k is set, line 99, but it looks like it's not working if (isset($args['k'])&& $args['k'] != '') { // check to see if a filter is being used, also check to see if it is "none" as required to work around cacti... Gla...
- Wed Jul 29, 2015 4:54 am
- Forum: Help: General
- Topic: difference between Data Input Method and Data Queries
- Replies: 6
- Views: 996
Re: difference between Data Input Method and Data Queries
Perhaps using get_bulk_request can improve the performance of your script and avoid timeout's? Roughly tested : #!/user/bin/perl use strict; use warnings; use Net::SNMP qw(oid_lex_sort oid_base_match snmp_dispatcher); sub getSNMP { my ($session, $error, $OID_ifTable) = @_; if (!defined $session) { p...
- Wed Jul 29, 2015 3:13 am
- Forum: Scripts and Templates
- Topic: The wmi.php isn't working?
- Replies: 3
- Views: 1872
Re: The wmi.php isn't working?
According to the help in the script : echo "wmi.php version $GLOBALS[version]\n", "\n", "Usage:\n", " -h <hostname> Hostname of the server to query. (required)\n", " -u <credential path> Path to the credential file. See format below. (required)\n", &...
- Tue Jul 28, 2015 12:53 am
- Forum: Help: Linux/Unix Specific
- Topic: system error
- Replies: 2
- Views: 719
Re: system error
I think it means cacti tries to export your graph in a wrong directory
Go to Console -> Settings -> Graph Export and check the Export Directory variable
Go to Console -> Settings -> Graph Export and check the Export Directory variable
- Wed Jul 22, 2015 10:34 am
- Forum: Help: General
- Topic: How to display IfAlias into Graph data
- Replies: 8
- Views: 1595
Re: How to display IfAlias into Graph data
Yes, I've done the upgrade this morning ^^ De rien
- Wed Jul 22, 2015 2:08 am
- Forum: Help: General
- Topic: How to display IfAlias into Graph data
- Replies: 8
- Views: 1595
Re: How to display IfAlias into Graph data
Working fine on cacti 0.8.8e http://www.hostpic.org/images/1507221231530090_tn.jpg /usr/bin/rrdtool graph - \ --imgformat=PNG \ --start='1437462119' \ --end='1437548519' \ --title='xxxx' \ --rigid \ --base='1000' \ --height='120' \ --width='500' \ --alt-autoscale \ COMMENT:"From 2015/07/21 09\:...
- Tue Jul 21, 2015 8:06 am
- Forum: Help: Linux/Unix Specific
- Topic: Problem with cacti upgrading (0.8.8d to 0.8.8f)
- Replies: 11
- Views: 3454
Re: Problem with cacti upgrading (0.8.8d to 0.8.8f)
Because if you download cacti here http://www.cacti.net/downloads/cacti-0.8.8f.tar.gz and you check the file install/index.php, their is no line include ("0_8_8f_to_0_8_8f.php"); And this is this line that makes you errors and a blank page IMO, so I guess FreeBSD is adding this line in the...
- Tue Jul 21, 2015 6:57 am
- Forum: Help: Linux/Unix Specific
- Topic: Problem with cacti upgrading (0.8.8d to 0.8.8f)
- Replies: 11
- Views: 3454
Re: Problem with cacti upgrading (0.8.8d to 0.8.8f)
2 594 409 byte. I never did such things during upgrade cacti. I think it should be part of cacti. Try to upgrade using this process : http://www.cacti.net/downloads/docs/html/upgrade.html. What I understand of your problem is that portupgrade is trying to apply patches for FreeBSD and the patches ar...
- Tue Jul 21, 2015 6:34 am
- Forum: Help: Linux/Unix Specific
- Topic: Problem with cacti upgrading (0.8.8d to 0.8.8f)
- Replies: 11
- Views: 3454
Re: Problem with cacti upgrading (0.8.8d to 0.8.8f)
Something weird during the download fetch: http://www.cacti.net/downloads/cacti-0.8.8f.tar.gz: size mismatch: expected 2594481, actual 2594409 You should remove the line include(0_8_8f_to_0_8_8f.php); in http://noc.xxx.net/cacti/install/index.php or in /usr/local/share/cacti/install/index.php, or ad...
- Tue Jul 21, 2015 6:18 am
- Forum: Help: General
- Topic: How to display IfAlias into Graph data
- Replies: 8
- Views: 1595
Re: How to display IfAlias into Graph data
Please take a look at http://www.cacti.net/downloads/docs/html/variables.html, section "Data Query Fields" using |query_ifAlias| should do the trick. It works for me.
- Tue Jul 21, 2015 6:08 am
- Forum: Help: Linux/Unix Specific
- Topic: Problem with cacti upgrading (0.8.8d to 0.8.8f)
- Replies: 11
- Views: 3454
Re: Problem with cacti upgrading (0.8.8d to 0.8.8f)
The messages mean they are some missing files in your cacti installation. How did you upgrade cacti?
- Tue Jul 21, 2015 3:49 am
- Forum: Plugin General
- Topic: Real Time Plugin
- Replies: 2
- Views: 1198
Re: Real Time Plugin
I'm interested in this as well, does the "include" shows anything?
The file to include should be graph_popup_rt.php
The file to include should be graph_popup_rt.php
- Tue Jul 21, 2015 3:38 am
- Forum: Help: General
- Topic: Cacti Graphic recording limited
- Replies: 3
- Views: 764
Re: Cacti Graphic recording limited
Please go to data sources, select the problematic data source and show us the output of turning on data source debug mode. I think your problem is related to the data template
- Tue Jul 21, 2015 3:31 am
- Forum: Help: General
- Topic: How to display IfAlias into Graph data
- Replies: 8
- Views: 1595
Re: How to display IfAlias into Graph data
A solution would be to add a data source (maybe with the single OID template?) containing IfAlias, add entries in the graph template, and selecting the data source with ifAlias in the drop down menu.
- Thu Jul 09, 2015 2:19 am
- Forum: Scripts and Templates
- Topic: Script to create weather map config files
- Replies: 1
- Views: 1225
Re: Script to create weather map config files
What will be my local_graph_id for INFOURL and OVERLIBGRAPH? And which .rrd file from .../cacti/rra should I choose? I've done a similar task, for INFOURL, you could use the id in graph_tree_items and use an url like "graph_view.php?action=tree_content&tree_id=2&leaf_id=xxx&host_gr...