Monitoring Fedora System through SNMP

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Shivaraj05
Posts: 29
Joined: Fri Jun 06, 2008 2:10 am

Monitoring Fedora System through SNMP

Post by Shivaraj05 »

Hi all,

I removed the localhost device as i decided to monitor it through SNMP.

I edited the /etc/snmp/snmpd.conf for community string,Location,Contact

I added the device successfully for monitoring. But its still not generating Graph.

snmpwalk responded to the query.So no issue with snmp..

graph debug mode showed the following error message

opening '/usr/share/cacti/rra/monitoring_system_hdd_free_189.rrd': No such file or directory

please help me to figure out what went wrong
TheBigOne
Posts: 45
Joined: Mon Sep 29, 2008 8:57 am
Location: Basel

Post by TheBigOne »

I think cacti has no rights to create the files.
chown cactiuser:cactiuser ./rra

will help you
Shivaraj05
Posts: 29
Joined: Fri Jun 06, 2008 2:10 am

Post by Shivaraj05 »

No buddy ..I have already done that.
TheBigOne
Posts: 45
Joined: Mon Sep 29, 2008 8:57 am
Location: Basel

Post by TheBigOne »

Check the cron log and check the owner of all files again. Check the user of the executing crontab. Check poller output and cacti.log This helped me a lot.

How much files do you have in rra? ls -l ?
Shivaraj05
Posts: 29
Joined: Fri Jun 06, 2008 2:10 am

Post by Shivaraj05 »

it is being excuted by admin-which is the cacti account.The problem is only with linux server all the other servers are monitored perfectly



Oct 17 15:40:01 netmon CROND[19306]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 15:45:01 netmon CROND[19677]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 15:50:01 netmon CROND[20043]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 15:55:01 netmon CROND[20389]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 16:00:01 netmon CROND[20734]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 16:01:01 netmon CROND[20811]: (root) CMD (run-parts /etc/cron.hourly)
Oct 17 16:01:01 netmon run-parts(/etc/cron.hourly)[20813]: starting awstats
Oct 17 16:01:02 netmon run-parts(/etc/cron.hourly)[20819]: finished awstats
Oct 17 16:05:01 netmon CROND[21115]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 16:10:01 netmon CROND[21456]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 16:15:01 netmon CROND[21824]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 16:16:29 netmon crontab[22180]: (root) BEGIN EDIT (root)
Oct 17 16:16:30 netmon crontab[22180]: (root) REPLACE (root)
Oct 17 16:16:30 netmon crontab[22180]: (root) END EDIT (root)
Oct 17 16:17:01 netmon crond[2854]: (root) RELOAD (cron/root)
Oct 17 16:20:01 netmon CROND[22612]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 16:25:01 netmon CROND[22937]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 16:30:01 netmon CROND[23253]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 16:35:01 netmon CROND[23577]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 16:40:01 netmon CROND[23892]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 16:45:02 netmon CROND[24241]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 16:50:01 netmon CROND[24561]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 16:55:01 netmon CROND[24886]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 17:00:01 netmon CROND[25276]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 17:00:01 netmon CROND[25277]: (root) CMD (/etc/webmin/bandwidth/rotate.pl)
Oct 17 17:01:01 netmon CROND[25377]: (root) CMD (run-parts /etc/cron.hourly)
Oct 17 17:01:01 netmon run-parts(/etc/cron.hourly)[25379]: starting awstats
Oct 17 17:01:02 netmon run-parts(/etc/cron.hourly)[25389]: finished awstats
Oct 17 17:05:01 netmon CROND[25703]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 17:10:01 netmon CROND[26210]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 17:15:01 netmon CROND[26569]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 17:20:01 netmon CROND[26934]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 17:25:01 netmon CROND[27343]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 17:30:01 netmon CROND[27685]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 17:35:01 netmon CROND[28238]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 17:40:01 netmon CROND[28557]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 17:45:01 netmon CROND[28910]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 17:50:01 netmon CROND[29247]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 17:55:01 netmon CROND[29573]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 18:00:01 netmon CROND[29914]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 18:00:01 netmon CROND[29916]: (root) CMD (/etc/webmin/bandwidth/rotate.pl)
Oct 17 18:01:01 netmon CROND[30013]: (root) CMD (run-parts /etc/cron.hourly)
Oct 17 18:01:01 netmon run-parts(/etc/cron.hourly)[30015]: starting awstats
Oct 17 18:01:02 netmon run-parts(/etc/cron.hourly)[30025]: finished awstats
Oct 17 18:05:01 netmon CROND[30388]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 18:10:01 netmon CROND[30704]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 18:15:01 netmon CROND[31047]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
Oct 17 18:20:01 netmon CROND[31395]: (admin) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)
TheBigOne
Posts: 45
Joined: Mon Sep 29, 2008 8:57 am
Location: Basel

Post by TheBigOne »

If its only on linux server, its strange. Which graph templates do you use for the lniux machine? Its mostly not possible to use the same graph template.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

wrong forum, moving.
Shivaraj05
Posts: 29
Joined: Fri Jun 06, 2008 2:10 am

Post by Shivaraj05 »

hey i think i have posted this in linux specific area.....how come its in wrong forum?.....
Shivaraj05
Posts: 29
Joined: Fri Jun 06, 2008 2:10 am

Post by Shivaraj05 »

while i try to monitor the fedora linux server in which i have hosted Caci, I am getting the following warning in the log

10/20/2008 10:10:03 AM - CMDPHP: Poller[0] Host[35] DS[188] WARNING: Result from SNMP not valid. Partial Result:

this error is related to the interface traffic of the linux cacti server
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please see 2nd link of my sig for more help
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests