Think i screwed up a device template
Moderators: Developers, Moderators
Re: Think i screwed up a device template
looks like the interface graphs, are pointing to for it's data source is
<path_cacti>/resource/snmp_queries/interface.xml
and that data source is set for Get SNMP Data (Indexed)
the SNMP get mounted partitions for it's data source is pointing to
<path_cacti>/resource/script_server/host_disk.xml
i think this should be
<path_cacti>/resource/script_queries/host_disk.xml
and set the data source to Get SNMP Data (Indexed) as well. do you agree?
<path_cacti>/resource/snmp_queries/interface.xml
and that data source is set for Get SNMP Data (Indexed)
the SNMP get mounted partitions for it's data source is pointing to
<path_cacti>/resource/script_server/host_disk.xml
i think this should be
<path_cacti>/resource/script_queries/host_disk.xml
and set the data source to Get SNMP Data (Indexed) as well. do you agree?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Think i screwed up a device template
No, it's right in the templates.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Think i screwed up a device template
my last issue before i go to the weekend fun time LOL..
i have been testing hmib graphs and thold.. worked GREAT until just recently.. now i can get them to work, but the graph im using.. should show 1 .. running .. 0 not..
for some reason its showing 2 running .. 1 not.. ideas on resetting that so its back to the way it was?
i have been testing hmib graphs and thold.. worked GREAT until just recently.. now i can get them to work, but the graph im using.. should show 1 .. running .. 0 not..
for some reason its showing 2 running .. 1 not.. ideas on resetting that so its back to the way it was?
- Attachments
-
- hmibreading.JPG (26.01 KiB) Viewed 623 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Think i screwed up a device template
Could it be a count? I think it is. But my memory is foggy.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Think i screwed up a device template
would tend to make sense.. now to figure out how to fix that.. hmmmm...
Re: Think i screwed up a device template
Seeing this in my log file (in fact i think most of the HMIB graphs have their counts wrong now for some reason)
2023-01-30 07:21:49 - SPINE: Poller[Main Poller] PID[441] PT[42950471040] Device[SERVER] HT[1] DS[SERVER - spoolsv.exe - Number Running] Graphs[SERVER - spoolsv.exe - Total Running] TT[27.12] SS[2] SERVER: C:\inetpub\wwwroot\cacti\plugins\hmib\templates\scripts\ss_hmib_sum_apps.php ss_hmib_sum_apps "get" "running" "spoolsv.exe", output: 2
I've been looking around, trying to figure out how to reset that counter, or figure out why it's basically doubled and should be reading Output: 1 and not Output: 2.
2023-01-30 07:21:49 - SPINE: Poller[Main Poller] PID[441] PT[42950471040] Device[SERVER] HT[1] DS[SERVER - spoolsv.exe - Number Running] Graphs[SERVER - spoolsv.exe - Total Running] TT[27.12] SS[2] SERVER: C:\inetpub\wwwroot\cacti\plugins\hmib\templates\scripts\ss_hmib_sum_apps.php ss_hmib_sum_apps "get" "running" "spoolsv.exe", output: 2
I've been looking around, trying to figure out how to reset that counter, or figure out why it's basically doubled and should be reading Output: 1 and not Output: 2.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Think i screwed up a device template
It may be a mute point, but in the latest release of HMIB, I moved the template scripts and resources to the proper location and out of the plugin directory.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Think i screwed up a device template
looking on github, i downloaded the hmib plug in again, but the templates folder only has the package, the files that need to go in the script_server folder arent in there any more. i dont see those files that were in the older version anywhere in the download.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Think i screwed up a device template
If you reimport that package (assumes yo are on 1.2.23+, the locations will move to the correct location, but then you need to repopulate you poller cache to update the poller items to pick from the new locations.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Think i screwed up a device template
gotcha.. ok so the only thing i did was import that package .. im running 1.2.23.. and i only selected those items that were changed. i went to utilities and i repopulated the poller cache.. now , wait and see if it changes anything.
Re: Think i screwed up a device template
so far.. the count for what hmib is picking up for counters like instances of a service running or memory in use by a service\process is still double what it should be in reality.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Think i screwed up a device template
Look at the script. I bet it's doing a sum.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Think i screwed up a device template
but how would that have changed? it was working perfectly fine and then it doubled the value it sees. i had not changed anything in the script at all.. as you can see around jan 27th, it just started reporting double the value.
- Attachments
-
- servicevalue.JPG (40.81 KiB) Viewed 559 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Think i screwed up a device template
Is this the Graph template? If so, it's counting the "number of processes runnning" on that host. I could be threads, but somehow I doubt it.
- Attachments
-
- AreTheseTheDroidsYouAreLookingFor.png (332.69 KiB) Viewed 537 times
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Think i screwed up a device template
yes thats the one.
if the service is stopped and disabled, it literally wouldnt have any threads running, so it should read 0.
instead it reads 1. it USED to read 0 until jan 27th, then it changed to what i showed.
i considered uninstalling HMIB and reinstalling..
if the service is stopped and disabled, it literally wouldnt have any threads running, so it should read 0.
instead it reads 1. it USED to read 0 until jan 27th, then it changed to what i showed.
i considered uninstalling HMIB and reinstalling..
Who is online
Users browsing this forum: No registered users and 4 guests