Jump to content


Munin installation problems


  • Please log in to reply
27 replies to this topic

#1 Guest_Arthur

Guest_Arthur
  • Guests

Posted 10 February 2011 - 01:05 PM

Hi everybody. I've isntalled munin and munin-node on Ubuntu x64 and entered all the commands from here: http://css.setti.inf...-srcds-plugin/. When I type "/etc/init.d/munin restart", it tells me, that there is no such file or directory.

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 Ghost

Ghost

    Admin

  • Moderators - Admin
  • 3,640 posts
274

Posted 11 February 2011 - 05:37 AM

First install Munin. Get Munin running and after that try to install the plugins.

#3 Guest_newn

Guest_newn
  • Guests

Posted 15 February 2011 - 05:29 PM

I've followed the guide, there's files in the plugins directory for 4 servers I have, even installed Apache into the same machine, changed permissions to munin, double-checked everything, but it still doesn't generate the images. Waited for half an hour.

It tells me information in the console though, if i write the check command for CPU or FPS or anything else.

#4 Ghost

Ghost

    Admin

  • Moderators - Admin
  • 3,640 posts
274

Posted 15 February 2011 - 05:35 PM

Have you installed munin with "apt-get install munin" and "apt-get install munin-node". You need to have both.

You can use installation instructions for Debian such as http://www.debuntu.o...rver-with-munin

#5 viktor6

viktor6

    Newbie

  • New Members
  • 9 posts
0

Posted 24 July 2011 - 05:31 PM

Offtop
But will these plugins work for Counter-Strike 1.6
А будут эти плагины работать для Counter-Strike 1.6

#6 S1lent

S1lent

    One of us

  • Members
  • 182 posts
127
  • LocationGreece

Posted 24 July 2011 - 07:22 PM

lol munin reminds me something
A girl's legs are her best friends... but even the best of friends must part.

#7 Marioc

Marioc

    Master

  • Member
  • 1,408 posts
323
  • LocationAthens

Posted 24 July 2011 - 09:39 PM

Hahahaahahah :D

#8 Ghost

Ghost

    Admin

  • Moderators - Admin
  • 3,640 posts
274

Posted 25 July 2011 - 06:49 AM

The plugins should work for cs1.6 too. I haven't tested it, though.

#9 S1lent

S1lent

    One of us

  • Members
  • 182 posts
127
  • LocationGreece

Posted 25 July 2011 - 11:40 AM

Why laughing MarioC? i mean that i know this program. You naughty boy! ;)
A girl's legs are her best friends... but even the best of friends must part.

#10 viktor6

viktor6

    Newbie

  • New Members
  • 9 posts
0

Posted 25 July 2011 - 04:10 PM

The plugins should work for cs1.6 too. I haven't tested it, though.

I'm on debian 6.0 squeeze will not work
Posted Image

#11 Ghost

Ghost

    Admin

  • Moderators - Admin
  • 3,640 posts
274

Posted 25 July 2011 - 06:35 PM

Can you test it without Munin. Follow the instructions in the README:




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 edavrio

edavrio

    One of us

  • Members
  • 129 posts
44

Posted 25 July 2011 - 07:19 PM

@Ghost

munin@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 $

your munin plugin use tcp protocol for send rcon commands to srcds but hlds not support tcp protocol for rcon commands

#13 viktor6

viktor6

    Newbie

  • New Members
  • 9 posts
0

Posted 25 July 2011 - 07:29 PM

@Ghost

munin@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 $

your munin plugin use tcp protocol for send rcon commands to srcds but hlds not support tcp protocol for rcon commands

# munin-run srcds_fps_xxx.xxx.xxx.xxx_27015

Could not open socket to xxx.xxx.xxx.xxx:27015.


#14 Ghost

Ghost

    Admin

  • Moderators - Admin
  • 3,640 posts
274

Posted 25 July 2011 - 08:07 PM

@Ghost

munin@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 $

your munin plugin use tcp protocol for send rcon commands to srcds but hlds not support tcp protocol for rcon commands

OK. Thanks for the info.

Maybe I'll update the plugins.

So, the plugins at the moment are not CS1.6 compatible.

#15 viktor6

viktor6

    Newbie

  • New Members
  • 9 posts
0

Posted 25 July 2011 - 08:27 PM


@Ghost

munin@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 $

your munin plugin use tcp protocol for send rcon commands to srcds but hlds not support tcp protocol for rcon commands

OK. Thanks for the info.

Maybe I'll update the plugins.

So, the plugins at the moment are not CS1.6 compatible.

update please

#16 edavrio

edavrio

    One of us

  • Members
  • 129 posts
44

Posted 26 July 2011 - 04:41 AM

@victor6

sub sock_connect ($$) {
my ($ip, $port) = @_;
my $sock = new IO::Socket::INET (
PeerAddr => $ip,
PeerPort => $port,
Proto => 'tcp'
);
return $sock;
}

:facepalm:

@Ghost
i work on this :unsure:

#17 Ghost

Ghost

    Admin

  • Moderators - Admin
  • 3,640 posts
274

Posted 26 July 2011 - 07:54 AM

If it's only that, then it's easy to fix.

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 :sorcerer:

#18 viktor6

viktor6

    Newbie

  • New Members
  • 9 posts
0

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;
}

:facepalm:

@Ghost
i work on this :unsure:

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 edavrio

edavrio

    One of us

  • Members
  • 129 posts
44

Posted 26 July 2011 - 04:04 PM


@victor6

sub sock_connect ($$) {
my ($ip, $port) = @_;
my $sock = new IO::Socket::INET (
PeerAddr => $ip,
PeerPort => $port,
Proto => 'tcp'
);
return $sock;
}

:facepalm:

@Ghost
i work on this :unsure:

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.

lol ? Rcon.pm из архива только для сурс серверов, смена протокола с tcp > udp неприведёт к работе скрипта :lol:

#20 edavrio

edavrio

    One of us

  • Members
  • 129 posts
44

Posted 26 July 2011 - 06:13 PM

http://setmaster.inf...x.html#sourceds :artist:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users