Cacti - with no snmp

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
npc_user
Posts: 3
Joined: Tue Jan 11, 2011 1:37 pm

Cacti - with no snmp

Post by npc_user »

Our environment consists of RedHat5/CentOS5 boxes which do not have snmp enabled. However, we would like to use cacti to graph the system stats for our devices. I have successfully installed, cacti, nagios, npc. However, cacti and thus npc is reporting same data for all the graphs ( which is the data for the monitoring host). Does cacti necessarily want snmp enabled on the Linux hosts to be monitored? Would this be the root cause of my problem or am I missing something else?
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Re: Cacti - with no snmp

Post by Linegod »

Odds are, you are using the 'Local Linux Machine' host template - that is for the box that Cacti is on - so it is reporting on the local machine, regardless of the hostname.

Enable snmp on the remote linux boxes, grab one of the Linux templates from the repository - http://docs.cacti.net/templates - and set your remote linux boxes up to use that.
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
npc_user
Posts: 3
Joined: Tue Jan 11, 2011 1:37 pm

Re: Cacti - with no snmp

Post by npc_user »

Enabling snmp on the remote boxes is not an option for us. The org would like to keep snmp disabled on the remote boxes. Is there any other way I can poll these remote boxes. I see that all templates are snmp based.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cacti - with no snmp

Post by gandalf »

You may use e.g. http or https, ftp or the like, telnet or ssh.
This all requires the use of scripts that _you_ will have to implement. There's a lot of guidance (e.g. for ssh scripts) on the Scripts and Templates forum.
See a howto on implementing scripts at 1st link of my sig
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest