Munin installation problems
#1 Guest_Arthur
Posted 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.
#3 Guest_newn
Posted 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
Posted 15 February 2011 - 05:35 PM
You can use installation instructions for Debian such as http://www.debuntu.o...rver-with-munin
#11
Posted 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
Posted 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
Posted 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
Posted 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
Posted 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.
#17
Posted 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
Posted 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
Posted 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.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users