Munin installation problems
#1 Guest_Arthur
Отправлено 10 February 2011 - 01:05 PM
And I still don't get it, how it will know where my webserver is and put some files in it, so it can show those graphs? I should specify somewhere the FTP login at least to the web server or something like that...
Thanks.
#2
Отправлено 11 February 2011 - 05:37 AM
#3 Guest_newn
Отправлено 15 February 2011 - 05:29 PM
It tells me information in the console though, if i write the check command for CPU or FPS or anything else.
#4
Отправлено 15 February 2011 - 05:35 PM
You can use installation instructions for Debian such as http://www.debuntu.o...rver-with-munin
#5
Отправлено 24 July 2011 - 05:31 PM
But will these plugins work for Counter-Strike 1.6
А будут эти плагины работать для Counter-Strike 1.6
#6
Отправлено 24 July 2011 - 07:22 PM
#8
Отправлено 25 July 2011 - 06:49 AM
#9
Отправлено 25 July 2011 - 11:40 AM
#10
Отправлено 25 July 2011 - 04:10 PM
I'm on debian 6.0 squeeze will not workThe plugins should work for cs1.6 too. I haven't tested it, though.
#11
Отправлено 25 July 2011 - 06:35 PM
You can verify that Munin can also correctly get results from the server by using command "munin-run". For example get FPS statistics by running following command: munin-run srcds_fps_127.0.0.1_27015 The output should be similar to this: fps.value 328 In a case that munin-run fails or there's error, it's possible to test the plugins without munin too. First set envinronment variable srcdspass according to your server. In Linux you can write to command line: export srcdspass=your-rcon-password /etc/munin/plugins/srcds_fps_127.0.0.1_27015 This will run srcds_fps_ as a separate program without Munin. If this doesn't work, then Munin won't work either. The output should be similar to what it is above.
#12
Отправлено 25 July 2011 - 07:19 PM
your munin plugin use tcp protocol for send rcon commands to srcds but hlds not support tcp protocol for rcon commandsmunin@localhost /etc/munin/plugins $ /usr/sbin/munin-run srcds_fps_xxx.xxx.xxx.xxx_27015
Could not open socket to xxx.xxx.xxx.xxx:27015.
munin@localhost /etc/munin/plugins $
#13
Отправлено 25 July 2011 - 07:29 PM
@Ghost
your munin plugin use tcp protocol for send rcon commands to srcds but hlds not support tcp protocol for rcon commandsmunin@localhost /etc/munin/plugins $ /usr/sbin/munin-run srcds_fps_xxx.xxx.xxx.xxx_27015
Could not open socket to xxx.xxx.xxx.xxx:27015.
munin@localhost /etc/munin/plugins $
# munin-run srcds_fps_xxx.xxx.xxx.xxx_27015 Could not open socket to xxx.xxx.xxx.xxx:27015.
#14
Отправлено 25 July 2011 - 08:07 PM
OK. Thanks for the info.@Ghost
your munin plugin use tcp protocol for send rcon commands to srcds but hlds not support tcp protocol for rcon commandsmunin@localhost /etc/munin/plugins $ /usr/sbin/munin-run srcds_fps_xxx.xxx.xxx.xxx_27015
Could not open socket to xxx.xxx.xxx.xxx:27015.
munin@localhost /etc/munin/plugins $
Maybe I'll update the plugins.
So, the plugins at the moment are not CS1.6 compatible.
#15
Отправлено 25 July 2011 - 08:27 PM
update pleaseOK. Thanks for the info.
@Ghostyour munin plugin use tcp protocol for send rcon commands to srcds but hlds not support tcp protocol for rcon commandsmunin@localhost /etc/munin/plugins $ /usr/sbin/munin-run srcds_fps_xxx.xxx.xxx.xxx_27015
Could not open socket to xxx.xxx.xxx.xxx:27015.
munin@localhost /etc/munin/plugins $
Maybe I'll update the plugins.
So, the plugins at the moment are not CS1.6 compatible.
#16
Отправлено 26 July 2011 - 04:41 AM
sub sock_connect ($$) {
my ($ip, $port) = @_;
my $sock = new IO::Socket::INET (
PeerAddr => $ip,
PeerPort => $port,
Proto => 'tcp'
);
return $sock;
}
@Ghost
i work on this
#17
Отправлено 26 July 2011 - 07:54 AM
Yesterday I found http://forums.allied...d.php?p=1010284 , which seemed quite much the same as Source's RCON. There are probably few bits and pieces differently in Gold RCON.
If you can confirm that the protocol is the same, then I can fix it easy
#18
Отправлено 26 July 2011 - 03:35 PM
@victor6
sub sock_connect ($$) {
my ($ip, $port) = @_;
my $sock = new IO::Socket::INET (
PeerAddr => $ip,
PeerPort => $port,
Proto => 'tcp'
);
return $sock;
}
@Ghost
i work on this
sub sock_connect ($$) { my ($ip, $port) = @_; my $sock = new IO::Socket::INET ( PeerAddr => $ip, PeerPort => $port, #Proto => 'tcp' Proto => 'udp' ); return $sock; }
# munin-run srcds_fps_xxx.xxx.xxx.xxx_27015 Could not authenticate.
#19
Отправлено 26 July 2011 - 04:04 PM
lol ? Rcon.pm из архива только для сурс серверов, смена протокола с tcp > udp неприведёт к работе скрипта
@victor6sub sock_connect ($$) {
my ($ip, $port) = @_;
my $sock = new IO::Socket::INET (
PeerAddr => $ip,
PeerPort => $port,
Proto => 'tcp'
);
return $sock;
}
@Ghost
i work on thissub sock_connect ($$) { my ($ip, $port) = @_; my $sock = new IO::Socket::INET ( PeerAddr => $ip, PeerPort => $port, #Proto => 'tcp' Proto => 'udp' ); return $sock; }# munin-run srcds_fps_xxx.xxx.xxx.xxx_27015 Could not authenticate.
1 пользователей читают эту тему
0 пользователей, 1 гостей, 0 скрытых