Desired Pixstor mount not appearing with Data Query [SNMP - Get Mounted Partitions]
Moderators: Developers, Moderators
-
- Posts: 9
- Joined: Mon Aug 28, 2023 7:53 am
Desired Pixstor mount not appearing with Data Query [SNMP - Get Mounted Partitions]
My Pixstor SAN has the following mounts:
/dev
/dev/shm
/run
/sys/fs/cgroup
/
/boot
/var
/mmfs1
/run/user/0
However, when adding to cacti with the data query "snmp mounted partitions" only the following mounts come up:
/dev/shm
/run
/sys/fs/cgroup
/
/boot
/var
/run/user/0
How do I get /mmfs1 to appear in cacti? This is actually the only mount that I want to be monitored.
Thank you in advance.
/dev
/dev/shm
/run
/sys/fs/cgroup
/
/boot
/var
/mmfs1
/run/user/0
However, when adding to cacti with the data query "snmp mounted partitions" only the following mounts come up:
/dev/shm
/run
/sys/fs/cgroup
/
/boot
/var
/run/user/0
How do I get /mmfs1 to appear in cacti? This is actually the only mount that I want to be monitored.
Thank you in advance.
Re: Desired Pixstor mount not appearing with Data Query [SNMP - Get Mounted Partitions]
Looks like GPFS. So, which Data Query, the Script Server based or the SNNP Query based?
Before history, there was a paradise, now dust.
-
- Posts: 9
- Joined: Mon Aug 28, 2023 7:53 am
Re: Desired Pixstor mount not appearing with Data Query [SNMP - Get Mounted Partitions]
Hi Osiris,
Thanks for your reply. You will have to excuse my ignorance, I do not know what you mean.
Thanks for your reply. You will have to excuse my ignorance, I do not know what you mean.
Re: Desired Pixstor mount not appearing with Data Query [SNMP - Get Mounted Partitions]
There are two versions of this data query. I'm guessing it's the one using the host resources mib. If you reindex using the verbose method, post the output of the indexes. This may be down to an SNMP issue.
Before history, there was a paradise, now dust.
-
- Posts: 9
- Joined: Mon Aug 28, 2023 7:53 am
Re: Desired Pixstor mount not appearing with Data Query [SNMP - Get Mounted Partitions]
Click to show Data Query output for field 'hrStorageDescr'
Executing script query '"c:\php\php.exe" -q C:\Apache24\htdocs\cacti\scripts\ss_host_disk.php "hiding_the_name" "66" "2:161:500:1:10:public::::::" "query" "description"'
Found item [hrStorageDescr='Physical memory'] index: 1
Found item [hrStorageDescr='Virtual memory'] index: 3
Found item [hrStorageDescr='Memory buffers'] index: 6
Found item [hrStorageDescr='Cached memory'] index: 7
Found item [hrStorageDescr='Shared memory'] index: 8
Found item [hrStorageDescr='Swap space'] index: 10
Found item [hrStorageDescr='/dev/shm'] index: 35
Found item [hrStorageDescr='/run'] index: 37
Found item [hrStorageDescr='/sys/fs/cgroup'] index: 38
Found item [hrStorageDescr='/'] index: 52
Found item [hrStorageDescr='/boot'] index: 58
Found item [hrStorageDescr='/var'] index: 59
Found item [hrStorageDescr='/run/user/0'] index: 73
Found item [hrStorageDescr='/run/user/331'] index: 74
Is this what you wanted? Sorry, I have very little experience with this!
Executing script query '"c:\php\php.exe" -q C:\Apache24\htdocs\cacti\scripts\ss_host_disk.php "hiding_the_name" "66" "2:161:500:1:10:public::::::" "query" "description"'
Found item [hrStorageDescr='Physical memory'] index: 1
Found item [hrStorageDescr='Virtual memory'] index: 3
Found item [hrStorageDescr='Memory buffers'] index: 6
Found item [hrStorageDescr='Cached memory'] index: 7
Found item [hrStorageDescr='Shared memory'] index: 8
Found item [hrStorageDescr='Swap space'] index: 10
Found item [hrStorageDescr='/dev/shm'] index: 35
Found item [hrStorageDescr='/run'] index: 37
Found item [hrStorageDescr='/sys/fs/cgroup'] index: 38
Found item [hrStorageDescr='/'] index: 52
Found item [hrStorageDescr='/boot'] index: 58
Found item [hrStorageDescr='/var'] index: 59
Found item [hrStorageDescr='/run/user/0'] index: 73
Found item [hrStorageDescr='/run/user/331'] index: 74
Is this what you wanted? Sorry, I have very little experience with this!
Re: Desired Pixstor mount not appearing with Data Query [SNMP - Get Mounted Partitions]
So on the host that has the mmfs1 directory enter the snmpd.conf configuration file and use the disk keyword with the path. After you make the changes restart the SNMP agent. If you have any questions do a man page on the snmpd.conf file. Then use the other SNMP disk Data Query and it should show up.
Code: Select all
disk /mmfs1 10000
Before history, there was a paradise, now dust.
-
- Posts: 9
- Joined: Mon Aug 28, 2023 7:53 am
Re: Desired Pixstor mount not appearing with Data Query [SNMP - Get Mounted Partitions]
Hey ,
I followed your instructions and sadly it did not work. I reloaded and verbosed "SNMP - Get Processor Information"
From /etc/snmp/snmpd.conf:
# Check the / partition and make sure it contains at least 10 megs.
#disk / 10000
disk /mmfs1 10000
I followed your instructions and sadly it did not work. I reloaded and verbosed "SNMP - Get Processor Information"
From /etc/snmp/snmpd.conf:
# Check the / partition and make sure it contains at least 10 megs.
#disk / 10000
disk /mmfs1 10000
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Desired Pixstor mount not appearing with Data Query [SNMP - Get Mounted Partitions]
You are still using the wrong Data Query. Here is a screen shot.
- Attachments
-
- SNMPDiskDataQuery.png (79.25 KiB) Viewed 959 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?
Who is online
Users browsing this forum: No registered users and 2 guests