Search found 18 matches

by tata_tulen
Wed Oct 25, 2017 3:46 am
Forum: Help: General
Topic: Script/command - list of all available parameters to sent
Replies: 0
Views: 339

Script/command - list of all available parameters to sent

Hi all,

I'm searching for all possible parametrs that can be sent to the script, such as <host>, <ip>, <community>, etc.

I cannot find nor guess the snmp user, pass phrase, auth protocol and others SNMP v3 parameters needed...

Thanks!
by tata_tulen
Wed Apr 22, 2015 2:17 am
Forum: Plugin: (Threshold)
Topic: Threshold upon computed value
Replies: 1
Views: 1303

Threshold upon computed value

Hi all,

maybe the question was already asked but I didn't find it...

Is it possible to create threshold upon the computed value in graph (e.g. Free space in Host MIB - Available Disk Space graph)?

Thanks!
by tata_tulen
Mon May 26, 2014 2:14 pm
Forum: Help: General
Topic: How to beat irregular counter reset
Replies: 1
Views: 712

How to beat irregular counter reset

Hi all, I'm trying to create templates for WatchGuard IPSec Tunnels Traffic and I'm facing the following problem: each tunnel has its time and length maximum when the tunnel is re-established, during suach a process the counters are reset. Therefore I get extreme peaks in graphs as RRD process them ...
by tata_tulen
Tue Dec 06, 2011 10:03 am
Forum: Help: General
Topic: Poller does not run scripts
Replies: 16
Views: 2747

Re: Poller does not run scripts

Mea culpa, I'll UTFG next time :)

Well, it's some sort of perl security, I'll investigate further and post here a result.

Thanks!
by tata_tulen
Tue Dec 06, 2011 9:00 am
Forum: Help: General
Topic: Poller does not run scripts
Replies: 16
Views: 2747

Re: Poller does not run scripts

I just realize I run the script as root, not as www-data - I've created the cron job with run as www-data and the result is different - in spine.txt there is the same errors as in cacti log with spine as poller. Well, it's permission problem, am I right? May be this is significant - when I run the c...
by tata_tulen
Tue Dec 06, 2011 5:00 am
Forum: Help: General
Topic: Poller does not run scripts
Replies: 16
Views: 2747

Re: Poller does not run scripts

I'm sorry for very log time response, I've been out of office...

See the result of 'spine -S -R -V 3 > spine.txt' command in attachement. It seems as all is ok, however the perl script don't work with spine poller...
by tata_tulen
Wed Nov 30, 2011 7:49 am
Forum: Help: Linux/Unix Specific
Topic: Can't Assosiate Data Queries -> Success [0 Items, 0 Rows]
Replies: 4
Views: 1107

Re: Can't Assosiate Data Queries -> Success [0 Items, 0 Rows

Hi, I had the same problem with 0.8.7h on Debian 5.0, the MySQL repair didn't help. It seemed to be problem only with new-added data queries - the old-ones didn't suffer from this behavior. In cacti.log there were some SQL errors and I have run the following SQL command to sole this issue: ALTER TAB...
by tata_tulen
Tue Nov 15, 2011 3:37 am
Forum: Help: General
Topic: Poller does not run scripts
Replies: 16
Views: 2747

Re: Poller does not run scripts

Hi, sorry for long response time. I modified the Data Input Methods to use full perl path, but this didn't helped. Run it as the poller user from the command line using "./spine -R -V 3". Please, could you guide me? I'm not "linux-aware", I'm just 'advanced user'. I do not know t...
by tata_tulen
Fri Nov 11, 2011 6:08 am
Forum: Help: General
Topic: Poller does not run scripts
Replies: 16
Views: 2747

Re: Poller does not run scripts

I do not know, how to redirect stdout from spine command (using '>' or '| tee' does not work), however with DEVEL log level I can see just some error I've already posted: 11/11/2011 12:03:01 PM - SPINE: Poller[0] Host[37] DS[673] SCRIPT: perl /var/www/cacti/scripts/ping2.pl 192.168.254.10, output: U...
by tata_tulen
Fri Nov 11, 2011 4:26 am
Forum: Help: General
Topic: Poller does not run scripts
Replies: 16
Views: 2747

Re: Poller does not run scripts

Damned, I'm sorry for editting the post. The problem is really in using spine. I've notices a typo in Data Input Method for the custom script - and it works with cmd.php (as the "deafult" ping script does), however no script does work with spine...
by tata_tulen
Fri Nov 11, 2011 3:39 am
Forum: Help: General
Topic: Poller does not run scripts
Replies: 16
Views: 2747

Re: Poller does not run scripts

I'm testing it on this script: #!/usr/bin/perl # take care for tcp:hostname or TCP:ip@ $host = $ARGV[0]; $host =~ s/tcp:/$1/gis; open(PROCESS, "echo \"oops\" > /tmp/oops.txt |"); close(PROCESS); open(PROCESS, "ping -c 1 $host |"); close(PROCESS); open(PROCESS, "pin...
by tata_tulen
Fri Nov 11, 2011 2:39 am
Forum: Help: General
Topic: Poller does not run scripts
Replies: 16
Views: 2747

Re: Poller does not run scripts

I've turn on the DEVELOP level of logging and there is something I do not understand: 11/11/2011 08:36:02 AM - SPINE: Poller[0] Host[37] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function 11/11/2011 08:36:02 AM - SPINE: Poller[0] Host[37] DS[674] SCRIPT: perl /var/www/cacti/scripts/pin...
by tata_tulen
Fri Nov 11, 2011 2:25 am
Forum: Help: General
Topic: Poller does not run scripts
Replies: 16
Views: 2747

Re: Poller does not run scripts

Yes, I've created new scheduled command in cron - and the script can run.
by tata_tulen
Thu Nov 10, 2011 9:12 am
Forum: Help: General
Topic: Poller does not run scripts
Replies: 16
Views: 2747

Poller does not run scripts

Hi all, I've problem with my scripts. I can run them manually with correct results, however poller seems to not run them - one of that script is customized ping script and in intermediate firewall log I can see packets generated by the script with manual run, but I can't see any periodically repeate...
by tata_tulen
Wed Jul 01, 2009 4:27 am
Forum: Help: General
Topic: Average in graph - not match when failure
Replies: 2
Views: 657

Average in graph - not match when failure

Hello, I've template with the availability check returning 0/1 value (not avail/avail). In the graph I've the average item and I've just notice it don't work good if the failure of cacti connection occures (see attached graph). How to get the value that counts failures as not avail (in this case it ...