Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Jul 19, 2019 3:50 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 56 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject:
PostPosted: Sat Apr 30, 2005 4:21 pm 
Offline
Cacti User
User avatar

Joined: Tue Jun 08, 2004 3:07 am
Posts: 61
Location: Bodø, Norway
Nope, did not work. Sorry, but i had to degrade my cacti becouse this was a production server.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 30, 2005 9:45 pm 
Offline
Lead Developer

Joined: Sat Oct 13, 2001 7:00 pm
Posts: 2237
Location: Carlisle, PA
Wernicke,

Double check that you do not have multiple pollers starting from cron. This can happen when you mix a tar/rpm installation of Cacti. I would start by double checking the /etc/crontab and /etc/cron.d/cacti files.

-Ian


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 01, 2005 4:53 am 
Offline
Cacti User
User avatar

Joined: Tue Jun 08, 2004 3:07 am
Posts: 61
Location: Bodø, Norway
I don't have multiple pollers, And I never use those RPM packages anyway :p

-Sigurd


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 01, 2005 7:44 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14804
Location: MI, USA
:cry:

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 01, 2005 2:23 pm 
Offline
Cacti User
User avatar

Joined: Tue Jun 08, 2004 3:07 am
Posts: 61
Location: Bodø, Norway
hm. Where did those last forum replys go? Anyway.. Tried to remove that ORDER line from lib/poller.php, but still not any better

-Sigurd


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 01, 2005 2:58 pm 
Offline
Cacti User
User avatar

Joined: Tue Jun 08, 2004 3:07 am
Posts: 61
Location: Bodø, Norway
Tried to roll back the snmp.php file from 0.8.6C
Still not any better
Some graphs are only a few drops a day, some are 50 % loss, some are 100 % loss, but most graphs are working.. Very strange

-Sigurd


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 01, 2005 3:01 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14804
Location: MI, USA
Have you verified that you are not experiencing packet loss:

"ping -l 1400 -t host.with.loss"

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 01, 2005 3:07 pm 
Offline
Cacti User
User avatar

Joined: Tue Jun 08, 2004 3:07 am
Posts: 61
Location: Bodø, Norway
yeah, and i have the working (old version) of cacti running on the server too, and that version is working fine.

-Sigurd


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 01, 2005 3:08 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14804
Location: MI, USA
You able to go online on msm right now? Would like more detail and it's easier.

Larry

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 01, 2005 8:53 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14804
Location: MI, USA
Sigurd,

I sent you a revised lib/poller.php. I think the reason that this problem is not affecting everyone is because you system is under high load during polling. That patch will fix the issue.

Larry

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 02, 2005 1:04 am 
Offline
Cacti User
User avatar

Joined: Tue Jun 08, 2004 3:07 am
Posts: 61
Location: Bodø, Norway
hm. Where did you send the file? Can't find it anywhere

-Sigurd


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 02, 2005 4:12 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14804
Location: MI, USA
Here you go.


Attachments:
poller.zip [3.56 KiB]
Downloaded 320 times

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.
Top
 Profile  
 
 Post subject:
PostPosted: Mon May 02, 2005 5:34 am 
Offline
Cacti User
User avatar

Joined: Tue Jun 08, 2004 3:07 am
Posts: 61
Location: Bodø, Norway
Nope, did not work, But however

Adding /usr/local/bin to the PATH in /etc/crontab did work. For some reason the poller sometimes "forget" the PATH to PHP, and it has to be defined in crontab. Strange. Looking into the code right now, but has not found the reason yet


-Sigurd


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 02, 2005 6:11 am 
Offline
Cacti User
User avatar

Joined: Tue Jun 08, 2004 3:07 am
Posts: 61
Location: Bodø, Norway
And when it can't find it in the PATH, it uses /usr/bin/php for CMD.php users

> cmd.php

#!/usr/bin/php -q
<?php
/*
+-------------------------------------------------------------------------+
| Copyright (C) 2004 Ian Berry |


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 02, 2005 12:00 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14804
Location: MI, USA
You need to reduce the number of concurrent processes to twice the number of CPU's if you can.

Larry

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 56 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group