Tony,
We have considered there could be a file lock problem or that the cat command is executed as the file is being written to, which would explain the partial results. We have changed the way the script runs on the remote box a bit to see if that is the problem. I'll update after we let it run a few cycles.
/Eric
Script/Command is not consistent
Moderators: Developers, Moderators
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Question concerning ssh...
Is there a WAN link between the 2 servers?
Concerning the logs, can you email me a single run from the poller in full debug when this occurs. Please include the hostid and name of the affected host. Also, include a link to this post to remind me of what the email is about.
Is there a WAN link between the 2 servers?
Concerning the logs, can you email me a single run from the poller in full debug when this occurs. Please include the hostid and name of the affected host. Also, include a link to this post to remind me of what the email is about.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Any updates? Did you figure out what was wrong?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Unfortunately, no. I am at a loss.
We had changed the order that the script ran, so to see if there was a filelock, but that didn't change anything. In fact, we disabled the script from updating the txt file so cacti should have been able to cat the file and just graph the same data every poll, but it still reported "partial results".
Did you have a change to look at my email with the Debug logs?
/Eric
We had changed the order that the script ran, so to see if there was a filelock, but that didn't change anything. In fact, we disabled the script from updating the txt file so cacti should have been able to cat the file and just graph the same data every poll, but it still reported "partial results".
Did you have a change to look at my email with the Debug logs?
/Eric
Who is online
Users browsing this forum: No registered users and 1 guest