Can i install and use cacti on Solaris 8 ??
Thânks
Cacti & solaris 8
Moderators: Developers, Moderators
Included default ping.pl script needs to be modified for Solaris. The following one should work for you:
bulek#!/usr/local/bin/perl
if ($ARGV[0]=="x") {
$db = ":0";
$ARGV[0] = 2;
}
$response = `ping -s -v $ARGV[1] 56 $ARGV[0] |grep round-trip| awk '\{print \$5 \}' | awk -F'/' '\{print \$1 \}' | grep -v "Warning"`;
chomp $response;
$response = $response;
print "$response$db";
I also found the net-snmp libraries I'd compiled and then compiled PHP with were causing
trouble for cacti too. The snmp gets were returning strings like:
MIBOID=value
So I had to edit include/snmp_functions.php and tweak the snmp_get and snmp_walk
functions in there to look for the = character and trim off it and everything to the left
of it. 'Course it might just be that there was somethin' I didn't configure quight right
in the net-snmp package I compiled. (shrug) Perhaps there is somewhere there I
could have turned off the = stuff but I got tired of looking for it.
Brent
trouble for cacti too. The snmp gets were returning strings like:
MIBOID=value
So I had to edit include/snmp_functions.php and tweak the snmp_get and snmp_walk
functions in there to look for the = character and trim off it and everything to the left
of it. 'Course it might just be that there was somethin' I didn't configure quight right
in the net-snmp package I compiled. (shrug) Perhaps there is somewhere there I
could have turned off the = stuff but I got tired of looking for it.
Brent
Who is online
Users browsing this forum: No registered users and 2 guests